Documentation Index
Fetch the complete documentation index at: https://docs.cloud.coinbase.com/llms.txt
Use this file to discover all available pages before exploring further.
Overview
Makes an API call to an x402 endpoint and handles payment automatically. This is the core payment tool — your agent uses it to pay for services and retrieve results.Try it
What happens
- Agent discovers the service and its payment requirements
- Sends USDC payment on your behalf
- Calls the API with payment proof
- Returns the API response to you
Payment details
- Uses USDC on Base, Polygon, or Solana (the service determines which networks it accepts)
- No gas fees (sponsored)
- Must be within your configured spending limits
Notes
- Payments are instant and onchain — they cannot be reversed.
- If the payment exceeds your spending limits, the agent will notify you before proceeding.
- Your agent checks payment requirements automatically before paying.
Next steps
- List Bazaar resources: Discover more services
- Get wallet balance: Check remaining balance after payments
- Examples: See real-world workflows