Built for
Developer teams researching AI agents, paid APIs and machine-to-machine commerce
INFRASTRUCTURE · PRODUCT BRIEF
Research a safe path for AI agents to understand and pay for USDC-priced APIs.
Base x402 Agent Payments is an R&D product where an API presents price and payment conditions through a 402 challenge, an agent creates a bounded payment authorization, and the server validates request fingerprint, nonce and policy. Only mock E2E and Base Sepolia readiness are verified; funded wallet settlement, facilitator operations and Mainnet payment are not.
/v1/agent/data402All hashes and settlement results are samples, not onchain transactions.
Developer teams researching AI agents, paid APIs and machine-to-machine commerce
A verifiable protocol flow connecting payment requirements, bounded authorization, API response and replay protection
PRODUCT FLOW
The agent calls a protected, priced API.
The server returns exact asset, amount, network and expiry conditions.
The agent wallet prepares an EIP-3009 authorization bound to the request.
The gateway returns the API result only after policy and replay checks.
INTERFACE TEMPLATE
/v1/agent/data402All hashes and settlement results are samples, not onchain transactions.
CAPABILITIES
Models PAYMENT-REQUIRED, PAYMENT-SIGNATURE and PAYMENT-RESPONSE boundaries.
Price, route and server request ID are bound to the payment identifier.
Exact retries are idempotent while conflicting nonce reuse is rejected.
Provides a typed client boundary for server and agent integration.
Explores states from 402 to mock settlement without real assets.
INTEGRATION SEQUENCE
Secrets never enter the browser. Every external response is verified by the server before product state advances.
const challenge = await agent.fetch(resourceUrl); // HTTP 402
const payment = await policy.authorize(challenge);
const response = await agent.retry({ payment });
await verifier.record(response.receipt);SECURITY
The gateway accepts no wallet private key or seed.
Challenge and authorization fields, chain, token, amount and expiry are validated.
Unauthorized requests do not learn prior nonce-conflict state.
A mock identifier is never presented as a transaction hash or live settlement.
READINESS
There is no public production gateway or customer SLA.
No funded-wallet and facilitator settlement has been run end to end.
No Base Mainnet payment or production provider is claimed.
Billing, support, abuse, legal and independent security review remain required.
Market and operating boundary