{"uid":"cap_Wrv39Vc37SF3jHcaVKD-y","slug":"cryptofeed402-spot-perp-price-lookup-99a088c3","name":"CryptoFeed402 Spot & Perp Price Lookup","description":"AI-to-AI crypto data. Paid routes use x402 (USDC on Base mainnet eip155:8453, asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913); unpaid calls return 402 with payment requirements. Not financial advice.","url":"https://cryptofeed402.site/price/%7Bsymbol%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"perp":{"venue":"hyperliquid","mark_px":81390,"premium":-0.0002,"funding_hourly":0.0000031,"volume_24h_usd":2150000000,"funding_apr_pct":2.72,"open_interest_usd":3377685000,"open_interest_coins":41500},"spot":{"last":81388,"venue":"okx","open_24h":81495,"change_24h_pct":-0.13},"as_of":"2026-10-18T03:00:00.000Z","symbol":"BTC","disclaimer":"Automated data for AI agents. Not financial advice."}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.0025","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.0025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_LrdsAH6nNhmQpuGcfRe6_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time spot price and perpetual futures data (mark price, funding rate, open interest, 24h volume) for a single cryptocurrency symbol, paid via x402 micropayment in USDC on Base.","exampleAgentPrompt":"What's the current BTC spot price and perpetual funding rate right now — including open interest and 24-hour volume?","exampleUseCases":[{"title":"Live BTC price for trading dashboard","prompt":"Pull the latest Bitcoin spot price and perp mark price from CryptoFeed402, including the funding rate and 24-hour volume, so I can update my trading dashboard."},{"title":"Monitor ETH funding rate for arbitrage","prompt":"What is the current hourly funding rate and funding APR for ETH perpetuals, and how does the mark price compare to spot right now?"},{"title":"Check SOL open interest before a trade","prompt":"Before I open a position, can you get me the current SOL perp open interest in USD and coins, plus the spot price and 24h change?"}],"resultDescription":"A JSON object with two sub-objects: 'spot' (last price, 24h open, 24h change percent, venue) and 'perp' (mark price, premium, hourly funding rate, funding APR percent, 24h volume in USD, open interest in USD and coins, venue), plus the symbol and an ISO 8601 timestamp of data freshness.","failureModes":["402 Payment Required — call made without valid x402 USDC payment header; response includes payment requirements","Invalid symbol — symbol not in supported set (BTC, ETH, SOL, HYPE, NEAR, AAVE) returns error","Network/venue outage — upstream data from Hyperliquid or OKX unavailable, may return stale or partial data","Malformed request — missing or incorrectly formatted symbol path parameter"],"whenToPreferThis":"Choose this endpoint when an AI agent needs low-latency, machine-payable (x402) real-time crypto pricing with both spot and perpetual futures context in a single call. Ideal for autonomous trading agents, DeFi bots, or portfolio monitors that can pay micropayments programmatically in USDC on Base. Best for the specific coins supported (BTC, ETH, SOL, HYPE, NEAR, AAVE) rather than broad market sweeps.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-21T07:20:25.846Z","isFirstParty":false,"canonicalSlug":"cryptofeed402-spot-perp-price-lookup-99a088c3"}