{"uid":"cap_5uB-1VXsGM6B-WozFE9LI","slug":"beggar-bot-okx-ohlcv-price-data-base-mainnet-d62b389f","name":"Beggar Bot OKX OHLCV Price 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/okxoi?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":{"coin":{"type":"string","description":"e.g. BTC"},"limit":{"type":"string","description":"points (48)"},"period":{"type":"string","description":"5m, 1H or 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_9Ftwxd9kvK2wsFUiBReCp","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 OHLCV (candlestick) price data for a specified cryptocurrency from OKX via the Beggar Bot agent utilities, paid per-call via x402 on Base mainnet.","exampleAgentPrompt":"Can you pull the last 48 hourly candlestick price bars for BTC from OKX?","exampleUseCases":[{"title":"Bitcoin daily price trend analysis","prompt":"Get me the last 48 daily candles for BTC from OKX so I can see the recent price trend."},{"title":"Ethereum short-term trading signals","prompt":"Fetch the last 48 five-minute OHLCV bars for ETH from OKX — I want to look at short-term price action."},{"title":"Altcoin 1-hour price monitoring","prompt":"Pull the last 24 one-hour candles for SOL from OKX so I can track how it's been moving today."}],"resultDescription":"Returns JSON OHLCV (open, high, low, close, volume) candlestick data for the requested coin, period, and number of data points as sourced from OKX exchange.","failureModes":["Invalid or unsupported coin symbol returns an error response","Unsupported period value (not 5m, 1H, or 1D) may cause a bad request error","Payment failure via x402 if insufficient USDC balance on Base mainnet results in 402 response","Exceeding the limit parameter bounds may return a default or capped dataset","Network connectivity issues with OKX upstream may result in timeout or empty response"],"whenToPreferThis":"Use this endpoint when you need OHLCV candlestick price data sourced from OKX and are operating in a micropayment-enabled x402 environment on Base mainnet. Prefer this over generic market data APIs when you need pay-per-call pricing with no subscription, or when integrating into an agent workflow that already uses Beggar Bot utilities for Base mainnet blockchain analysis.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:38:17.224Z","isFirstParty":false,"canonicalSlug":"beggar-bot-okx-ohlcv-price-data-base-mainnet-d62b389f"}