← Resources

ApiToll vs traditional APIs.

Pay-per-call USDC over x402 changes a lot of small details about how an agent integrates. Side-by-side comparison so you know what to expect.

Traditional paid APIApiToll (x402)
OnboardingSign up, confirm email, generate API key, configure billing, store key in secrets manager, rotate periodically.None. Send a request. The agent\'s wallet is the identity.
AuthAPI key in Authorization: Bearer ... header. Static. If leaked, ride free until rotated.EIP-3009 signature in X-PAYMENT header. Signed per request, single-use, expires in seconds.
PricingMonthly tier ($X/month for Y calls), with overage rates. Cap or throttle on free tier.Per-call quote in the 402 challenge. No tier, no minimum, no overage. Sub-cent to dollars per call depending on the service.
SettlementAggregated on a monthly invoice. Net-30 or auto-charged to a stored card.Atomic per call, on-chain in seconds. USDC lands directly in the seller\'s wallet.
ReconciliationMatch invoice to internal call logs. Disputes go to a support ticket.Match settlement transactions on Basescan to your own log. Both records are immutable and public (the on-chain side, anyway).
Rate limitingPer-key quota, returned as 429.Per-IP and per-wallet rate limits. Plus your own wallet caps the max-spend per session.
DiscoveryMarketplaces (RapidAPI, Postman), API docs sites.agentic.market (CDP Bazaar), /llms.txt, /.well-known/mcp.json, /.well-known/agent.json — machine-readable.
Stopping spendCancel subscription, possibly with notice period. Revoke key.Stop calling. There\'s nothing to cancel.
Upstream provider failureYour service partially degrades. Provider issues credit on the next invoice.Your call returns 4xx without settling. You\'re not charged for failed lookups.
Test before payingFree tier (often unrelated to the paid endpoint). Trial with a credit card.Sandbox endpoint at /v1/sandbox/. Test USDC, same response shape, switch to mainnet by removing /sandbox/.

When traditional APIs are still the right answer.

If your agent has a human in the loop with a credit card, traditional APIs work fine. If you\'re integrating once and forgetting it, the upfront key dance is a one-time cost.

When pay-per-call wins.

If your agent is autonomous, runs on multiple deployments, integrates with many APIs, or operates without human review at request time, key management becomes the bottleneck. x402 cuts it out. The wallet is the auth and the wallet is the budget.