{"uid":"cap_55_V2Uax6P3VsFCcEImNP","slug":"x402stock-on-chain-perpetuals-data-0b734d4c","name":"x402stock On-Chain Perpetuals Data","description":"Live state of every perpetual-futures market in one call: per coin the mark and oracle price, hourly funding rate with annualized APR, premium, open interest, max leverage, previous-day price, and 24h USD and base volume. Native crypto-derivatives data — funding and open interest are perp-only, absent from any spot feed. Free on-chain DEX data (venue: Hyperliquid), no key. From x402stock","url":"https://agents.x402stock.xyz/api/v1/perps?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"object","required":["source","as_of","venue","market","count","perps"],"properties":{"as_of":{"type":"string"},"count":{"type":"number"},"perps":{"type":"array","items":{"type":"object","required":["coin","max_leverage","mark_price","oracle_price","mid_price","prev_day_price","funding_rate_hourly","funding_apr_percent","premium","open_interest","day_volume_usd","day_volume_base"],"properties":{"coin":{"type":"string"},"premium":{"anyOf":[{"type":"number"},{"type":"null"}]},"mid_price":{"anyOf":[{"type":"number"},{"type":"null"}]},"mark_price":{"anyOf":[{"type":"number"},{"type":"null"}]},"max_leverage":{"type":"number"},"oracle_price":{"anyOf":[{"type":"number"},{"type":"null"}]},"open_interest":{"anyOf":[{"type":"number"},{"type":"null"}]},"day_volume_usd":{"anyOf":[{"type":"number"},{"type":"null"}]},"prev_day_price":{"anyOf":[{"type":"number"},{"type":"null"}]},"day_volume_base":{"anyOf":[{"type":"number"},{"type":"null"}]},"funding_apr_percent":{"anyOf":[{"type":"number"},{"type":"null"}]},"funding_rate_hourly":{"anyOf":[{"type":"number"},{"type":"null"}]}},"additionalProperties":false}},"venue":{"type":"string"},"market":{"type":"string","const":"perp"},"source":{"type":"string","const":"x402stock"}},"additionalProperties":false},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"1.00","reviews":0,"stars":null,"state":"rated"},"availabilityStatus":"healthy","priceObserved":{"p10Cents":"2.0000","medianCents":"2.0000","p90Cents":"2.0000","minCents":"2.0000","maxCents":"2.0000","p95Cents":"2.0000","sampleCount":1,"varies":false,"failureChargeRate":null},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},{"kind":"static","protocol":"mpp","network":"tempo","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_daL79U53H5LNm9cIYzTDm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null},{"uid":"pm_lYCoSGnggnaF1KkkUDnBa","protocol":"mpp","methodType":"crypto","chain":"tempo","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x20C000000000000000000000b9537d11c60E8b50","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns live on-chain perpetuals (perps) market data for crypto assets, priced at $0.02 USDC per call via x402 pay-per-request","exampleAgentPrompt":"Pull the latest on-chain perpetuals market data for me — I want to see funding rates, open interest, and mark prices across crypto perp contracts right now.","exampleUseCases":[{"title":"Monitor BTC perp funding rates","prompt":"What are the current on-chain perpetuals funding rates for Bitcoin? I want to know if they're positive or negative before I take a position."},{"title":"Compare on-chain vs spot crypto prices","prompt":"Fetch the latest mark price and index price from on-chain perps so I can compare them to spot prices and see if there's a meaningful divergence."},{"title":"Track open interest for crypto derivatives","prompt":"Get me the current open interest data across on-chain perpetual contracts — I'm trying to gauge market sentiment and leverage levels in crypto right now."}],"resultDescription":"Returns on-chain perpetuals market data including fields such as mark price, index price, funding rate, open interest, and contract metadata for crypto perpetual instruments, delivered as structured JSON.","failureModes":["Payment not received or insufficient USDC balance — returns 402 Payment Required","Invalid or unsupported properties filter — may return empty results or 400 Bad Request","Upstream on-chain data temporarily unavailable — may return 503 or stale data","Rate limit exceeded — returns 429 Too Many Requests","Network timeout fetching on-chain data — returns 504 Gateway Timeout"],"whenToPreferThis":"Choose this endpoint when you need real-time on-chain perpetuals data (funding rates, open interest, mark/index prices) for crypto assets without setting up API keys or accounts. Ideal for AI agents that need pay-per-use access to DeFi derivatives data via USDC micropayments. Prefer this over centralized exchange APIs when on-chain transparency and no-account access are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":1,"lastUsedAt":"2026-10-15T06:55:36.132Z","lastSuccessfullyRanAt":"2026-10-15T06:55:36.132Z","lastHealthCheckAt":"2026-10-22T07:49:38.689Z","isFirstParty":false,"canonicalSlug":"x402stock-on-chain-perpetuals-data-0b734d4c"}