{"uid":"cap_zZSFTl6xVEpogeYvUQKaF","slug":"beggar-bot-bfx-ohlc-candle-data-f2e1ddc2","name":"Beggar Bot BFX OHLC Candle Data","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/bfxohlc?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_D1Ts5NrAFW2iL8ayAGB1a","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 chart data for a trading pair from Bitfinex via the Beggar Bot agent utilities service on Base mainnet, paid per call via x402.","exampleAgentPrompt":"Fetch the last 100 one-hour OHLC candles for BTC-USD from Beggar Bot's BFX candle endpoint 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 run a moving average crossover strategy on the data."},{"title":"Daily price summary for portfolio","prompt":"Pull the last 30 daily candles for BTC-USD so I can see how Bitcoin has trended over the past month."},{"title":"Real-time scalping candle feed","prompt":"Fetch the most recent 50 one-minute OHLC candles for SOL-USD — I need them for a short-term scalping bot I'm running."}],"resultDescription":"Returns a JSON array of OHLC candlestick records for the requested trading pair and interval, each record containing timestamp, open, high, low, close, and volume fields as sourced from Bitfinex market data.","failureModes":["Invalid or unsupported trading pair returns an error response","Unsupported interval value outside of 1m, 5m, 15m, 1h, 6h, 1d causes a bad request error","Payment failure via x402 (insufficient USDC balance or incorrect payTo address) blocks the request","Limit value out of acceptable range may return an error or be clamped","Network issues with Bitfinex upstream may cause timeouts or incomplete data"],"whenToPreferThis":"Use this endpoint when you need OHLC candlestick data from Bitfinex for crypto trading pairs and are operating in an x402-enabled agent environment that can handle micropayments in USDC on Base mainnet. Prefer this over free alternatives when you need reliable, pay-per-use access without API key management, or when integrating into an agentic workflow that already uses x402 for other Beggar Bot utilities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-23T18:42:14.643Z","isFirstParty":false,"canonicalSlug":"beggar-bot-bfx-ohlc-candle-data-f2e1ddc2"}