{"uid":"cap_ZyIupalGimzn3dLsY4FwT","slug":"amanchain-price-history-ohlc-7f827cb9","name":"AmanChain Price History OHLC","description":"Price History OHLC: node-operated on-chain service Executed deterministically by the AmanChain node against live consensus state (real blocks, pools, balances) — paid per call via x402, settled in USDC on Base. Input: JSON body {\"serviceId\":\"aman-price-history\",\"request\":\"<input>\"}. No account, no API key.","url":"https://preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/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":null,"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_nT4zpoHCzGUjQtoJT1UcY","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":"Retrieves on-chain OHLC (Open/High/Low/Close) price history for tokens from live AmanChain consensus state, paid per call via x402 in USDC.","exampleAgentPrompt":"Pull the OHLC price history for the AMAN token on AmanChain so I can see how its price has moved over the past 30 days.","exampleUseCases":[{"title":"Token price trend analysis","prompt":"Get me the full OHLC price history for the USDC/AMAN trading pair on AmanChain for the last 7 days so I can analyze its recent price trend."},{"title":"Candlestick chart data for dashboard","prompt":"Fetch daily open, high, low, close price candles for token 0xabc123 on AmanChain for the past month — I need this to render a candlestick chart on my DeFi dashboard."},{"title":"Backtesting historical price data","prompt":"I want to backtest a moving average strategy on AmanChain — can you retrieve the hourly OHLC price history for the last 90 days for the token with ID aman-btc?"}],"resultDescription":"Returns a series of OHLC (Open, High, Low, Close) price data points for the requested token, sourced deterministically from live AmanChain consensus state, reflecting real block and pool data across the requested time range.","failureModes":["Invalid or unknown token identifier returns an error or empty dataset","Insufficient USDC balance for x402 payment causes call to fail with payment error","Malformed JSON body or missing serviceId field returns a validation error","Node unavailability or consensus lag may delay or fail the response","Requesting time ranges with no available data returns empty or partial results"],"whenToPreferThis":"Choose this endpoint when you need deterministic, node-verified OHLC price history sourced directly from AmanChain on-chain state without requiring an API key or account — ideal for agents that need trustless, auditable price candle data for DeFi tokens traded on AmanChain DEXes, paid per call via x402 USDC microtransaction.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:46:24.523Z","isFirstParty":false}