{"uid":"cap_u4hggqn_uRi9JvPZhKtCf","slug":"agentdata-api-crypto-prices-endpoint-x402-base-mainnet-317a538f","name":"AgentData API — Crypto Prices Endpoint (x402, Base Mainnet)","description":"Pay-per-request crypto market data API for AI agents. 16 endpoints on Base Mainnet via x402 protocol. No accounts, no API keys. USDC micropayments from $0.001. Works with Claude Desktop, ElizaOS, and any MCP client.","url":"https://agentdata-api.com/api/prices","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"data":{"type":"object","description":"Map of symbol → { price, ts }","additionalProperties":{"type":"object","properties":{"ts":{"type":"number"},"price":{"type":"number"}}}},"success":{"type":"boolean"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IwqSaubOIAIMbN1Jy5wmU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current cryptocurrency price data via a pay-per-request POST endpoint using x402 USDC micropayments on Base Mainnet","exampleAgentPrompt":"What's the current price of ETH and BTC in USD? Use the AgentData pay-per-request crypto prices API — no API key needed, just pay the $0.001 USDC micropayment via x402 on Base Mainnet.","exampleUseCases":[{"title":"Real-time crypto price monitoring for trading alerts","prompt":"Check the current price of Bitcoin, Ethereum, and Solana right now. I need up-to-date prices to decide if I should execute some trades today. Use the AgentData API with the x402 micropayment system."},{"title":"On-chain token valuation without API credentials","prompt":"Look up the live prices for a few tokens I'm tracking: USDC, USDT, and DAI. I need this data without dealing with API keys or account setup — just pull the prices using the x402 pay-per-request endpoint."},{"title":"Autonomous agent market data for decision-making","prompt":"Fetch the current market prices for the top 5 cryptocurrencies right now. My agent needs real-time pricing data to make autonomous decisions, and I want to use the AgentData API with Base Mainnet micropayments instead of a subscription service."}],"resultDescription":"Returns current cryptocurrency price data for the requested asset(s), delivered as a JSON response after a successful x402 USDC micropayment of $0.001 on Base Mainnet.","failureModes":["Insufficient USDC balance for micropayment — x402 402 Payment Required response","Invalid or unrecognized cryptocurrency symbol — 400 or empty result","Network issue with Base Mainnet — payment or response timeout","Malformed POST body — 400 Bad Request","Unsupported asset pair — no data returned"],"whenToPreferThis":"Choose this endpoint when an AI agent needs real-time crypto price data without setting up API keys or accounts, especially in autonomous agent workflows (Claude Desktop, ElizaOS, MCP clients) where pay-per-use USDC micropayments via x402 on Base Mainnet are preferable to subscription-based data providers.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:34:15.160Z","isFirstParty":false}