The discovery layer
AgentCash connects your agent to a growing ecosystem of premium API providers. When your agent needs data or services, it uses AgentCash to:- Discover what services are available from API providers
- Inspect pricing and schemas before committing
- Call the API with automatic payment
- Return the data to your agent in a clean format
/openapi.json, with x-payment-info annotations on each paid operation. AgentCash also falls back to /.well-known/x402 for older servers. See server discovery for the spec.
The payment flow
AgentCash supports two open payment standards: x402 and MPP. Both fit into the following payment flow:Provider responds with a price
The provider responds with
402 Payment Required, including the price and accepted payment methods.AgentCash pays
AgentCash signs a payment with your local wallet and retries the request with proof of payment.
What AgentCash handles
Whether you use the CLI, the agent skill, or MCP mode, AgentCash manages:- API discovery: finds available APIs and their pricing via
/openapi.json(or/.well-known/x402as a fallback) - Payment detection: recognizes 402 responses and extracts payment requirements
- Credential signing: signs USDC payment proofs with your local wallet key
- Automatic retry: retries the original request with the signed payment attached
- Balance checking: verifies you have sufficient funds before paying
Get started
For Agents
Give your AI agent access to 3,200+ premium APIs.
For API Providers
Sell your services to agents.