{"uid":"cap_xKZ-uLeTPZM_QDQHZlPHt","slug":"tokenguard-ohlc-price-data-6421fbb1","name":"TokenGuard OHLC Price Data","description":"ohlc data for AI agents.","url":"https://eltociear-tokenguard.hf.space/ohlc","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_gdvQjXUlj9dw2bGH07SoN","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 OHLC (Open, High, Low, Close) candlestick price data for a cryptocurrency token over a specified time range","exampleAgentPrompt":"Can you pull the daily OHLC candlestick data for WETH on Base for the past 30 days so I can see how the price has been moving?","exampleUseCases":[{"title":"Token price trend analysis","prompt":"Get me the hourly OHLC data for USDC/ETH on Base for the last 7 days — I want to see if there was a clear price pattern this week."},{"title":"DeFi portfolio performance review","prompt":"Pull daily open, high, low, close prices for the ARB token over the past 3 months so I can chart its performance since I bought in."},{"title":"Trading signal backtesting","prompt":"Fetch 15-minute OHLC candlesticks for WBTC on Ethereum for the entire month of March 2024 — I need this for backtesting a momentum strategy."}],"resultDescription":"Returns a JSON array of OHLC candlestick records, each containing open, high, low, and close price values along with volume and timestamp fields for the specified token and time interval.","failureModes":["Token contract address not found or unsupported — returns empty array or error","Invalid or unsupported time interval parameter — returns 400-level error","Date range too large or outside available data history — returns partial data or error","Network/chain not supported — returns error indicating unsupported chain","Payment not processed or insufficient USDC balance — returns 402 payment required","Rate limiting or quota exceeded — returns 429 error"],"whenToPreferThis":"Use this endpoint when you need structured historical price data (OHLC candlesticks) for a crypto token, especially for DeFi or ERC-20 tokens on Base or Ethereum. Prefer this over generic market data APIs when you need on-chain-aware pricing with micropayment access via x402, and when you need to integrate price history with other TokenGuard DeFi analytics in the same pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T18:56:43.071Z","isFirstParty":false}