{"uid":"cap_Dqp1g2ilw7xIxTKLNth4s","slug":"api-agnichub-xyz-0a179f83","name":"AgniHub Trading Indicators - Candles","description":"Pay with base","url":"https://api.agnichub.xyz/v1/custom/trading-indicators/candles","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_-dLyqOXJrQECZoaJYcu77","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns OHLCV candlestick data for a given trading pair and timeframe via a paid per-call API on Base","exampleAgentPrompt":"Fetch the last 200 hourly OHLCV candles for BTC/USDT so I can run a moving-average crossover strategy on them.","exampleUseCases":[{"title":"RSI calculation for ETH/USDT","prompt":"Pull the last 50 four-hour candles for ETH/USDT so I can calculate the RSI and decide whether it's overbought or oversold before placing a trade."},{"title":"SOL price chart data retrieval","prompt":"Grab the most recent 100 fifteen-minute OHLCV bars for SOL/USDT so I can plot a candlestick chart and spot any emerging breakout patterns."},{"title":"Algo trading backtest data fetch","prompt":"Fetch 200 daily candles for BNB/USDT going back from today so I can backtest my Bollinger Band strategy against historical price action."}],"resultDescription":"An array of candlestick objects each containing open, high, low, close, and volume values with timestamps for the requested symbol and interval, suitable for charting or technical indicator computation.","failureModes":["Invalid or unsupported trading pair returns 400 or empty result","Unsupported timeframe/interval returns error","Payment failure or insufficient USDC balance causes 402 response","Rate limiting or quota exceeded causes 429 error","Exchange or data source unavailable causes 503 or timeout","Missing required parameters (symbol, interval) causes 422 validation error"],"whenToPreferThis":"Choose this endpoint when you need per-call on-demand OHLCV candlestick data for cryptocurrency pairs paid via the x402 micropayment protocol on Base, especially in agent workflows that require programmatic chart data without a subscription commitment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:40:26.637Z","isFirstParty":false}