{"uid":"cap_Q8ltsot-hAfoVsCr4mwHF","slug":"beggar-bot-okx-ohlc-candle-data-base-mainnet-f490c184","name":"Beggar Bot OKX OHLC Candle Data (Base mainnet)","description":"Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.","url":"https://beggar-bot-demand.beggarbot.workers.dev/v1/okxohlc?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"pair":{"type":"string","description":"e.g. BTC-USD"},"limit":{"type":"string","description":"candles (100)"},"interval":{"type":"string","description":"1m,5m,15m,1h,6h,1d"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json"},"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_YrzULpkpWsMoaUwXfgtOr","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":"Fetches OHLC (open/high/low/close) candlestick price data for a trading pair from OKX via the Beggar Bot proxy, paid via x402 on Base mainnet.","exampleAgentPrompt":"Can you grab the last 100 hourly OHLC candles for BTC-USD from the OKX feed so I can analyze recent price action?","exampleUseCases":[{"title":"Crypto trading signal analysis","prompt":"Get me the last 100 five-minute OHLC candles for ETH-USD so I can check for a breakout pattern."},{"title":"Daily price range summary","prompt":"Fetch the last 30 daily candles for SOL-USD — I want to see the open, high, low, and close for each day this past month."},{"title":"Intraday volatility check","prompt":"Pull the last 50 fifteen-minute candles for BTC-USD so I can estimate how volatile the market has been this morning."}],"resultDescription":"Returns JSON containing an array of OHLC candlestick records for the requested trading pair, each with timestamp, open, high, low, and close price fields, covering the requested number of candles at the specified interval.","failureModes":["Invalid or unsupported trading pair returns an error or empty data","Unsupported interval value causes a bad request response","Payment not sent or insufficient USDC balance results in 402 Payment Required","Limit parameter out of range may return fewer candles than requested or an error","Network congestion on Base mainnet may delay payment confirmation"],"whenToPreferThis":"Use this endpoint when you need OHLC candlestick data sourced from OKX and are operating in an x402 micropayment-enabled agent environment on Base mainnet. Prefer this over raw OKX API access when you need a proxied, agent-friendly endpoint that accepts USDC micropayments and integrates with the Beggar Bot utility suite.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:44:26.394Z","isFirstParty":false,"canonicalSlug":"beggar-bot-okx-ohlc-candle-data-base-mainnet-f490c184"}