Skip to main content

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

Get the most up to date crypto and AI news
Scrape product reviews for iPhone 15
What are the trending tokens right now?

What happens

  1. Agent discovers the service and its payment requirements
  2. Sends USDC payment on your behalf
  3. Calls the API with payment proof
  4. 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