{"uid":"cap_TJRiECkuCKlRZnQrlxgAn","slug":"x402stock-perpetual-futures-ohlcv-candles-5398c079","name":"x402stock Perpetual Futures OHLCV Candles","description":"Market and economic data for AI agents — US stocks, ETFs and options, forex, crypto and on-chain perps, energy commodities (crude, natural gas, gasoline), US and global macro (Fed funds, CPI/PCE, jobs, GDP, Treasury debt & yields, World Bank indicators), SEC filings, congressional trades, and market sentiment. No API keys, no accounts. Pay per request in USDC via x402 or MPP. This server is a pay-per-use, transparent proxy in front of x402stock's own API: it handles identity, payment, and proxying. Agents can purchase autonomously or with their human's approval. The complete verified paid surface is listed at /openapi.json, the source of truth for available operations. Each operation here carries its live price in x-payment-info. Use the operations and details here when they meet your needs. Filtered specs contain only matching operations; if you cannot find what you need here, use search or the service catalog. The live catalog at /manifest.json is authoritative for prices and any free included units (prices[].includedUnits) - some meters include free usage per account before any charge, reserved for agents claimed by a human with a verified email.","url":"https://agents.x402stock.xyz/api/v1/perps/candles/%7Bcoin%7D?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":null,"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":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":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"}]},"paymentMethods":[{"uid":"pm_bPF8v1poiMtHuZCA6sb0c","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical OHLCV candlestick data for a specified on-chain or centralized perpetual futures market at a given interval","exampleAgentPrompt":"Can you pull the hourly OHLCV candles for BTC perpetual futures from x402stock for the past 7 days so I can analyze the price trend?","exampleUseCases":[{"title":"Crypto perp trend analysis","prompt":"Get me the 1-hour candles for ETH perpetual futures over the last 3 days — I want to see if there was a big move and where the highs and lows were."},{"title":"Algo trading backtesting data","prompt":"I need 15-minute OHLCV candlestick data for SOL perps going back 30 days for backtesting a momentum strategy — can you grab that from x402stock?"},{"title":"Intraday volatility review","prompt":"Pull the 5-minute candles for BTC-PERP from yesterday so I can see how volatile the market was during the US trading session."}],"resultDescription":"An array of OHLCV candlestick records for the requested perpetual futures market, each containing timestamp, open, high, low, close, and volume values at the specified interval. Data covers on-chain and centralized perp markets depending on the coin symbol provided.","failureModes":["Invalid or unsupported coin symbol returns an error or empty result","Unsupported interval parameter causes a 400 or similar error","Payment failure (insufficient USDC) results in 402 Payment Required response","Requested time range beyond available historical data returns partial or empty dataset","Rate limiting or network timeouts from the underlying data provider"],"whenToPreferThis":"Use this endpoint when you need historical candlestick (OHLCV) data specifically for perpetual futures markets rather than spot prices. It is ideal for trading analysis, backtesting, charting, or monitoring price action in crypto perp markets. Prefer this over generic crypto APIs when you want no-API-key pay-per-use access and need on-chain perpetual futures data specifically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-26T18:48:30.079Z","isFirstParty":false,"canonicalSlug":"x402stock-perpetual-futures-ohlcv-candles-6add8979"}