Skip to main content
Anyway SuperAPI is a pay-per-call API gateway that gives you access to 60+ endpoints through a single interface using the x402 payment protocol. Pay with USDC on Base — no API keys, no subscriptions.

Browse the SuperAPI

Explore available APIs, check health status, and get code examples.
SuperAPI page showing available APIs with health status and pricing

Quick Start

1. Discover available APIs

Always call the discovery and info endpoints before making any API call. Skipping this is the #1 cause of errors (wrong service ID, wrong method, wrong params, wrong path).
Step A — Find the service. Browse all available APIs:
curl https://marketplace-prod.anyway.sh/v1/api/directory/llm
Each entry includes id (use this in URLs, not name), info_url, and endpoints[].url (full callable URL). Common service IDs: stableenrich (search), twit-sh (Twitter/X), coinmarketcap (crypto), robtex (DNS), tx402 (LLM). Step B — Get endpoint details. Fetch the info page for the service you want:
curl https://marketplace-prod.anyway.sh/v1/api/info/{service_id}
The response includes the correct HTTP method, parameter names, notes (gotchas), and a copy-paste ready curl_x402 command per endpoint. The info response also includes a complete example_code (Python) that you can run directly.

2. Make a paid API call

You need a wallet to pay for API calls. If you don’t have one yet, create an Agent Wallet first.
Start from the code examples in this document, then modify. Copy the code below as your starting point and change the URL/parameters — don’t construct requests from scratch or guess parameter names yourself.
If you have @anyway-sh/cli installed and either ANYWAY_AGENT_WALLET_KEY set or the same bundle imported with anyway wallets agents import --token <bundle>, use anyway superapi call <url>. It pays with that Agent Wallet Key by default and hides all the bundle parsing / publicKey derivation / P-256 auth signing / JCS canonicalization / P1363→DER conversion / EIP-712 typed-data construction / PAYMENT-SIGNATURE retry work.
anyway superapi call "https://marketplace-prod.anyway.sh/v1/api/x402/twit-sh/tweets/search?words=bitcoin&count=5"
For POST endpoints, pass the request body from the endpoint info response:
URL="<copy the x402 POST URL from /v1/api/info/{service_id}>"

anyway superapi call "$URL" \
  --body '{"query":"open source payment APIs"}'
The command first calls the endpoint without payment. If SuperAPI returns 402, it decodes PAYMENT-REQUIRED, shows the quote, signs the quoted USDC authorization with the selected Agent Wallet after confirmation, retries with PAYMENT-SIGNATURE, then prints the API result. Use --format json if you want the response, payment metadata, and headers in one machine-readable object.
anyway superapi call is a paid call. After SuperAPI returns the quote, the CLI shows the amount and asks for y/N before signing. Use --yes or -y only in CI/agent runtimes where you want to approve the quoted payment automatically. Balance and policy limits remain the spending guardrails.
anyway superapi call pays with the configured Agent Wallet Key by default. --pay-with agent-wallet is accepted for compatibility, but it is not required.
anyway wallets agents pay is still available as the lower-level signing command when you want to inspect the 402 challenge and assemble the x402 retry yourself. Most users should start with anyway superapi call <url>.
The examples above use GET (twit-sh). For POST endpoints (e.g. stableenrich), pass params in a JSON body instead: anyway superapi call "$URL" --body '{...}' in the CLI, or method: "POST" plus a JSON body in code. Always check /v1/api/info/{service_id} for the correct method per endpoint.

Available APIs

Pay-per-call with USDC on Base. Prices are set per endpoint and can change, so the live cost is always returned in the 402 payment challenge (and listed per service via the directory/info endpoints below) rather than duplicated here:
CategoryServices
AItx402 (LLM chat), MiniMax (chat/TTS/video/image/music), Z-AI (chat/image/video), PQS prompt scoring, DellBot, OBAgents
SearchStableEnrich (8-in-1: Exa, Serper, Firecrawl, Apollo, etc.), Scout HN/NPM, Content Intel, UtilsForAgents
CryptoCoinMarketCap, Nansen, DefiLlama, Zapper, PrintMoneyLab (KR prices/kimchi premium), multi-chain gas
Socialtwit.sh (Twitter/X)
PredictionPolymarket, Manifold, BlockRun
FinanceFrankfurter FX, Currency-api, VATComply, GlobalEcon
NetworkRobtex DNS, WHOIS
BrowserAgent Camo proxy, Screenshot
OtherStableTravel (flights/airports), ReloadPi (eSIMs/vouchers/topups), Toulaw (legal search), Boundary Guard (injection detection), StableUpload, Wurk (crowdsource)
Run curl https://marketplace-prod.anyway.sh/v1/api/directory/llm for a compact listing with info_url per service, or curl https://marketplace-prod.anyway.sh/v1/api/directory for the full list with health status.

How It Works

You → SuperAPI → Payment (USDC on Base) → API Response
1

Send request

Call the SuperAPI endpoint with your API request. No auth headers needed.
2

Receive payment challenge

SuperAPI returns HTTP 402 with a PAYMENT-REQUIRED header containing the price and payment details. The response also includes an X-Api-Info-Url header pointing to the endpoint’s documentation.
3

Sign and pay

Sign an EIP-3009 transferWithAuthorization — either with anyway superapi call after quote confirmation, directly with your wallet key, or via the Anyway Wallet signing service.
4

Get results

Payment is verified and settled on-chain. The API result is returned.