{"uid":"cap_OZuDI8vLyLBfVBUFUln8o","slug":"tokenguard-kline-ohlcv-candlestick-api-bbd0174e","name":"TokenGuard Kline (OHLCV Candlestick) API","description":"kline data for AI agents.","url":"https://eltociear-tokenguard.hf.space/kline","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"required":[],"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{}},"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_Qah-L8tbMQJyCXqySJ0rN","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 OHLCV (open/high/low/close/volume) candlestick/kline data for a cryptocurrency trading pair over a specified time interval","exampleAgentPrompt":"Can you pull the 1-hour OHLCV candlestick data for the ETH/USDT pair for the last 7 days so I can analyze the price trend?","exampleUseCases":[{"title":"Technical analysis chart data","prompt":"Get me the 4-hour kline candles for BTC/USDT for the past 30 days — I want open, high, low, close, and volume so I can run some technical analysis."},{"title":"DeFi token price history","prompt":"Fetch the daily OHLCV data for the LINK/USDT trading pair over the last 90 days — I'm trying to build a price chart for a DeFi dashboard."},{"title":"Short-term crypto volatility check","prompt":"Pull the 15-minute candlestick data for SOL/USDT from the last 48 hours so I can see how volatile it's been recently."}],"resultDescription":"A JSON array of candlestick (OHLCV) records for the requested trading pair and interval, each containing open time, open price, high price, low price, close price, and trading volume over that period.","failureModes":["Invalid or unsupported trading pair symbol returns an error or empty array","Unsupported time interval value results in a validation error","Start/end timestamps out of available data range return empty results","Micropayment failure (x402) blocks the request if USDC balance is insufficient","Rate limiting or service unavailability on Hugging Face Space returns 5xx errors"],"whenToPreferThis":"Use this endpoint when you need structured OHLCV candlestick data for crypto trading pairs to power charts, technical indicators, or historical price analysis. It is part of the TokenGuard 65-route DeFi API suite, accessible via x402 micropayments on Base with no subscription required, making it ideal for pay-per-call agent workflows needing crypto market data without a centralized API key.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:00:27.174Z","isFirstParty":false}