{"uid":"cap_GiaBV0yWTPImIXU3TKRb1","slug":"x402stock-on-chain-perpetuals-data-6d8cd52f","name":"x402stock On-Chain Perpetuals Data","description":"Pay-per-call market and economic data API for AI agents: US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities, US and global macro (Fed, CPI, jobs, GDP, Treasury, World Bank), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 on Base.","url":"https://x402stock.xyz/api/v1/perps/%7Bcoin%7D","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"data":{"coin":"BTC","premium":-0.0003457543,"mid_price":63606.5,"mark_price":63606,"max_leverage":40,"oracle_price":63629,"open_interest":31304.105,"day_volume_usd":6772680481.63,"prev_day_price":64583,"day_volume_base":106799.6,"funding_apr_percent":10.95,"funding_rate_hourly":0.0000125},"as_of":"2026-06-04T00:00:00.000Z","venue":"hyperliquid","market":"perp","source":"x402stock"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qQLcC_J9nwsLva0BwH3up","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns real-time perpetuals market data for a given cryptocurrency from Hyperliquid, including funding rate, open interest, mark price, and leverage.","exampleAgentPrompt":"What are the current perpetuals stats for BTC on Hyperliquid — funding rate, open interest, mark price, and max leverage?","exampleUseCases":[{"title":"Monitor BTC perp funding rate","prompt":"Is the funding rate on BTC perpetuals positive or negative right now on Hyperliquid, and what does that tell me about market sentiment?"},{"title":"Check ETH perps open interest","prompt":"What's the current open interest and 24-hour trading volume for ETH perpetuals on Hyperliquid? I want to see if there's been any big moves in positioning today."},{"title":"Compare SOL perp leverage and price","prompt":"What's the mark price and max leverage available for SOL perps on Hyperliquid right now? I'm trying to size a position and need the latest data."}],"resultDescription":"A JSON object containing real-time perpetuals market data for the requested coin from Hyperliquid, including mid price, mark price, oracle price, hourly funding rate, annualized funding APR, funding premium, open interest, 24h trading volume in USD and base currency, max leverage, and previous day's closing price, along with the venue, market type, and data timestamp.","failureModes":["Invalid or unsupported coin symbol returns an error or empty data","Payment failure (insufficient USDC or x402 protocol error) blocks the request","Network timeout if Hyperliquid data feed is temporarily unavailable","Coin not listed on Hyperliquid returns no data"],"whenToPreferThis":"Use this endpoint when you need real-time on-chain perpetuals data (funding rates, open interest, leverage, volumes) for a specific cryptocurrency from Hyperliquid, especially in a pay-per-call, no-account-required context using USDC micropayments via x402 on Base.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-08T12:53:08.870Z","isFirstParty":false}