What You’ll Do
This guide is for buyers who want to pay for marketplace data and answers, not contributors building tools. You will:- Sign in to Context
- Fund your embedded wallet with USDC on Base
- Set a one-time spending cap
- Create an API key
- Run one paid Query from TypeScript or Python
Most first queries cost around
$0.10, depending on the tools selected and model cost. Your spending cap is only an allowance. You are charged after the answer is delivered, and only up to the actual settlement amount.Prerequisites
Sign in
Open Context, sign in, and let Context create your embedded smart wallet.
Fund wallet
Add USDC on Base to your embedded wallet. The app’s Add Funds flow targets the embedded wallet, so you do not need to manually paste an address unless you want to transfer from another wallet.
Set spending cap
Approve USDC spending for the ContextRouter. This is a one-time cap. It does not charge you immediately.
Your First TypeScript Query
Install the SDK:Your First Python Query
Install the SDK:Long-Running Queries
Some showcase-grade queries can take longer than a single blocking SDK request. Use the async job API when you want a durable start-and-poll flow:MCP clients can use the same long-running path through
context_query_start and context_query_status.Troubleshooting
Insufficient USDC balance
Add USDC to your embedded wallet on Base. If you just funded the wallet, refresh the dashboard and retry.Insufficient spending cap
Increase your spending cap in the app. The cap is an allowance, not an upfront charge.401 or 403
Check that the request sends:
Query timed out
Use the async job API (query.start + query.poll) or the MCP tools (context_query_start + context_query_status) for complex chart-heavy requests.
Next Steps
- Connect an MCP client with MCP Server
- Learn Query and Execute modes in the TypeScript SDK Reference
- Build a repeatable report with Agent Data Routines

