{"uid":"cap_v-UUpqIEZ0o4Z_inOQ62A","slug":"amanchain-price-history-ohlc-2f3aa166","name":"AmanChain Price History OHLC","description":"OHLCV candlestick price history for any trading pair — open, high, low, close and volume time series for charting, bots and backtesting. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {\"serviceId\":\"aman-price-history\",\"request\":\"<input>\"}.","url":"https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-price-history","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"input":{"type":"object","properties":{"body":{"type":"object"}}},"output":{"type":"object","properties":{"example":{"type":"object","example":{"ok":true}}}}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.009331","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.009331/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009331","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.009331","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jBJf9X7FCJVVXFROYx71j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.009331","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) price history for crypto assets using live on-chain consensus data, paid per call via x402 in USDC.","exampleAgentPrompt":"Can you pull the OHLC price history for ETH over the last 7 days so I can see how the highs and lows trended?","exampleUseCases":[{"title":"Crypto trading strategy backtesting","prompt":"Get me the daily OHLC price history for BTC over the past 30 days — I want to see the open, high, low, and close for each day to backtest a trading strategy."},{"title":"DeFi token price trend analysis","prompt":"Pull the hourly OHLC history for the AMAN token over the past week so I can chart how its price moved and identify any unusual spikes or drops."},{"title":"Portfolio performance review","prompt":"What were the open and close prices for SOL and ETH each day this past month? I want to see their OHLC data to review how my holdings performed."}],"resultDescription":"Returns structured OHLC candlestick price history data including open, high, low, and close prices across a time series for the requested asset, sourced deterministically from live on-chain consensus state and real AMM pool data.","failureModes":["Invalid or unrecognized token/asset identifier returns an error or empty result","Missing or malformed serviceId field causes request rejection","Requested time range has no on-chain data available","x402 payment failure or insufficient USDC balance blocks the call","Malformed JSON request body returns a parse error","Network or node unavailability results in a timeout"],"whenToPreferThis":"Choose this endpoint when you need verifiable, on-chain-sourced OHLC price history for crypto assets without requiring an API key or account setup, and when you're comfortable with pay-per-call micropayment billing in USDC via x402. It is especially useful for DeFi-native workflows where data provenance from real AMM pool state matters, or when integrating into autonomous agent pipelines that need deterministic historical price data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:46:41.359Z","isFirstParty":false}