{"uid":"cap_SCgxzuFCG7Je0kwiniI_u","slug":"x402-crypto-apis-coinbase-realtime-data-a7797f32","name":"x402 Crypto APIs – Coinbase Realtime Data","description":"Paid cryptocurrency API endpoints via x402 micropayments","url":"https://x402-crypto.vercel.app/api/coinbase-realtime/%7Bpath%7D","method":"POST","headers":{},"bodySchema":{"type":"object","required":["query"],"properties":{"query":{"type":"string","description":"Trading pair or symbol (e.g. BTC-USD)"}}},"responseSchema":{"type":"object","properties":{"data":{"type":"object","description":"Response payload from the upstream API (structure varies by endpoint)"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.140681","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.140681/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.140681","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.140681","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WWmf-kbdMtd0xtPqz_TUU","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.140681","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches real-time cryptocurrency market data for a given trading pair or symbol via Coinbase, paid per-call using x402 micropayments","exampleAgentPrompt":"Can you fetch the real-time Coinbase market data for BTC-USD right now?","exampleUseCases":[{"title":"Live crypto price check for trading bot","prompt":"Get me the current real-time price of ETH-USD from Coinbase so I can decide whether to trigger my trade."},{"title":"Portfolio valuation at current prices","prompt":"Pull the live Coinbase prices for BTC-USD, ETH-USD, and SOL-USD so I can calculate my current portfolio value."},{"title":"Price alert threshold monitoring","prompt":"Check the real-time Coinbase price for DOGE-USD and tell me if it has crossed above $0.15 today."}],"resultDescription":"Returns a data object containing the real-time market data payload from the Coinbase API for the requested trading pair, including current price and related market figures. The exact structure varies depending on the specific path queried.","failureModes":["Invalid or unsupported trading pair symbol returns an error or empty data payload","Payment failure or insufficient USDC balance causes a 402 Payment Required response and no data is returned","Network or upstream Coinbase API unavailability results in a timeout or 5xx error","Malformed query string (missing or incorrectly formatted symbol) causes a validation error","Rate limiting or x402 facilitator issues may block repeated rapid requests"],"whenToPreferThis":"Choose this endpoint when you need real-time cryptocurrency price or market data sourced directly from Coinbase, particularly in agentic workflows that support x402 micropayment protocols. It is ideal for trading bots, portfolio trackers, or price alert systems that require fresh, per-call data without long-term subscription overhead. Prefer this over REST-only alternatives when your stack supports automatic x402 payment handling.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:43:38.860Z","isFirstParty":false}