Pay per call over x402: what it is and what a call costs
An AI agent or an MCP client can call our tools with no account and no API key, paying for each call in USDC on Base over the x402 protocol.
API documentationPay per call (x402)#
No account or API key needed: the same MCP tools at their own endpoint, each call paid in USDC on Base over the x402 protocol.
Pay-per-call endpoint
https://api.cryptoattention.com/mcp/pay| Tool | Price per call |
|---|---|
| btc_correlation | $0.01 |
| coin_rating | $0.01 |
| daily_index | $0.01 |
| daily_top | $0.01 |
| get_story | $0.01 |
| industry_activity | $0.01 |
| list_sources | $0.01 |
| list_stablecoins | $0.01 |
| list_stories | $0.01 |
| list_topics | $0.01 |
| list_universes | $0.01 |
| market_overview | $0.01 |
| search | $0.01 |
| search_archive | $0.01 |
| stablecoin | $0.01 |
| topic_history | $0.01 |
How it works#
- Call a tool at this endpoint, as with any MCP server.
- Without a payment the result is an error with PaymentRequired in structuredContent: the price, the network and the address to pay.
- Pay it with an x402 client and repeat the call with the payment in _meta["x402/payment"]; the answer carries the receipt in _meta["x402/payment-response"].
As HTTP resources#
The same tools as plain HTTPS endpoints, priced on their own: no MCP client needed.
| Resource | Price per call |
|---|---|
| POST https://api.cryptoattention.com/x402/btc_correlation | $0.01 |
| POST https://api.cryptoattention.com/x402/coin_rating | $0.01 |
| POST https://api.cryptoattention.com/x402/daily_index | $0.01 |
| POST https://api.cryptoattention.com/x402/daily_top | $0.01 |
| POST https://api.cryptoattention.com/x402/get_story | $0.01 |
| POST https://api.cryptoattention.com/x402/industry_activity | $0.01 |
| POST https://api.cryptoattention.com/x402/list_sources | $0.01 |
| POST https://api.cryptoattention.com/x402/list_stablecoins | $0.01 |
| POST https://api.cryptoattention.com/x402/list_stories | $0.01 |
| POST https://api.cryptoattention.com/x402/list_topics | $0.01 |
| POST https://api.cryptoattention.com/x402/list_universes | $0.01 |
| POST https://api.cryptoattention.com/x402/market_overview | $0.01 |
| POST https://api.cryptoattention.com/x402/search | $0.01 |
| POST https://api.cryptoattention.com/x402/search_archive | $0.01 |
| POST https://api.cryptoattention.com/x402/stablecoin | $0.01 |
| POST https://api.cryptoattention.com/x402/topic_history | $0.01 |
- POST the tool's arguments as a JSON body to its URL.
- Without a payment the answer is 402 with the terms in the PAYMENT-REQUIRED header: the price, the network and the address to pay.
- Pay it with an x402 client and repeat the request with the PAYMENT-SIGNATURE header; the answer carries the receipt in the PAYMENT-RESPONSE header.
You pay only for a delivered answer: a tool call that fails is never charged.