{"uid":"cap_TjwY_xwC6j0Cc64MjFU4L","slug":"canaryguard-token-history-spread-22f9e80c","name":"CanaryGuard Token History & Spread","description":"Returns multi-timeframe Base token price history (1h, 24h, 7d, 30d OHLCV summary), Chainlink vs. Uniswap V3/Aerodrome bid-ask spread in bps, and realized volatility skew.","url":"https://canaryguard-402.onrender.com/v1/tokens/history-and-spread?utm_source=zero.xyz","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"},"queryParams":{"type":"object","properties":{"quote":{"type":"string","default":"USDC"},"token":{"type":"string","default":"ETH","description":"Token symbol or Base contract address"},"window":{"type":"string","default":"24h"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"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_MzbqPTffT0hcKYU-POYrt","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 multi-timeframe OHLCV price history and Chainlink vs. Uniswap V3/Aerodrome bid-ask spread in basis points plus realized volatility skew for Base tokens","exampleAgentPrompt":"Pull the 7-day OHLCV price history for ETH quoted in USDC on Base and show me the Chainlink vs Uniswap V3 bid-ask spread in basis points along with the realized volatility skew.","exampleUseCases":[{"title":"DEX oracle spread monitoring for trading bot","prompt":"What's the current Chainlink vs Uniswap V3 bid-ask spread in basis points for WETH quoted in USDC on Base — I need to know if there's an exploitable gap before my trading bot executes a swap."},{"title":"30-day volatility analysis for DeFi risk model","prompt":"Give me the 30-day OHLCV summary and realized volatility skew for the token at Base contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 quoted in USDC — I'm building a risk model for a DeFi lending protocol."},{"title":"Token price history review before yield farming","prompt":"Before I deploy capital into a Base yield pool, can you pull the 1h, 24h, and 7d price history for AERO quoted in USDC and show me how volatile it's been?"}],"resultDescription":"Returns a structured JSON response containing OHLCV candle summaries across 1h, 24h, 7d, and 30d windows, the bid-ask spread in basis points between Chainlink oracle and Uniswap V3/Aerodrome DEX prices, and a realized volatility skew metric for the requested Base token/quote pair.","failureModes":["Unknown token symbol or invalid Base contract address returns an error or empty data","Unsupported window parameter may default to 24h or return a validation error","Token with insufficient liquidity may return null or zero spread values","Network or RPC latency on Base may cause timeout or stale data","Payment failure via x402 protocol results in 402 response and no data returned"],"whenToPreferThis":"Choose this endpoint when you need cross-source price intelligence on Base — specifically when you want both historical OHLCV context and a real-time oracle vs. DEX spread comparison in a single call. It is ideal for DeFi agents performing pre-trade risk checks, volatility analysis, or arbitrage detection on Base tokens without needing to query Chainlink, Uniswap V3, and Aerodrome separately.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-17T12:30:08.461Z","isFirstParty":false,"canonicalSlug":"canaryguard-token-history-spread-22f9e80c"}