{"uid":"cap_S_OZWI8GUXXrAMEx3kBux","slug":"agentoracle-token-price-history-ac69c605","name":"AgentOracle Token Price History","description":"AgentOracle: price history time-series for a single token — array of `{ t, price }` points at hourly or daily intervals. Pass `interval=hour` (returns hourly points over last 1-14 days) or `interval=day` (daily points over last 30-365 days). `limit` defaults to 24, max 200. Ideal for trading bots, charting agents, and backtesting.","url":"https://aiagentoracle.ai/api/v1/token/:symbol/history","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"pathParams":{"type":"object","required":["symbol"],"properties":{"symbol":{"type":"string","description":"Uppercase ticker symbol."}}},"queryParams":{"type":"object","properties":{"limit":{"type":"integer","default":24,"maximum":200,"minimum":1,"description":"Number of points to return (newest last)."},"interval":{"enum":["hour","day"],"type":"string","default":"hour","description":"Time bucket. `hour` returns hourly points; `day` returns daily points."}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["symbol","interval","points","asOf"],"properties":{"asOf":{"type":"string","format":"date-time"},"points":{"type":"array","items":{"type":"object","required":["t","price"],"properties":{"t":{"type":"string","format":"date-time"},"price":{"type":"number","description":"Spot price in USD at timestamp `t`."}}}},"symbol":{"type":"string"},"interval":{"enum":["hour","day"],"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xY7vpEV6LBYBhuT-O-ZKc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a time-series array of hourly or daily price points for a single token by ticker symbol, covering up to 365 days of history.","exampleAgentPrompt":"Pull the hourly price history for ETH over the last 7 days — give me 168 data points so I can chart the trend.","exampleUseCases":[{"title":"Trading bot momentum analysis","prompt":"Fetch the last 48 hourly price points for SOL so I can calculate short-term momentum and decide whether to place a trade."},{"title":"Backtesting daily strategy on BTC","prompt":"Get 365 daily price points for BTC so I can backtest my moving-average crossover strategy over the past year."},{"title":"Charting recent altcoin price action","prompt":"Show me the last 30 daily price points for MATIC — I want to see how it's been trending this month before I add it to my portfolio."}],"resultDescription":"A JSON object containing the token symbol, interval type, asOf timestamp, and an array of price points — each with a UTC timestamp `t` and a `price` value in USD — ordered oldest to newest, up to 200 points depending on the limit parameter.","failureModes":["Unknown or unsupported ticker symbol returns an error or empty points array","limit exceeding 200 is rejected with a validation error","Invalid interval value (not 'hour' or 'day') returns a bad request error","Payment failure or insufficient USDC balance blocks the call under x402 protocol","Network or upstream data provider outage may return a 503 or stale data"],"whenToPreferThis":"Use this endpoint when you need structured historical price time-series data for a single token — ideal for trading bots, charting agents, or backtesting engines that require sequential price snapshots at hourly or daily granularity. Prefer it over a spot-price endpoint when trend analysis, momentum calculation, or historical pattern recognition is needed rather than a single current price.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T06:38:42.380Z","isFirstParty":false}