{"uid":"cap_oCyEeaX4LhR8iCsIu5XY9","slug":"dex-spread-history-1-minute-buckets-up-to-24h-bc7508f8","name":"DEX Spread History (1-Minute Buckets, Up to 24h)","description":"Bulk historical window (up to 24h) of 1-minute DEX spread statistics for a given pair, in one call. Useful for slippage calibration and backtesting. Descriptive statistics only; not investment advice.","url":"https://api.agentfeeds.jp/v1/dex/spreads/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"},"queryParams":{"type":"object","required":["pair"],"properties":{"pair":{"type":"string","description":"e.g. 'WETH/USDC'"},"hours":{"type":"number","description":"0.25-24, default 1"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"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_kB2shbytyNCv6IPsZeF_I","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 bulk historical 1-minute DEX spread statistics for a trading pair, covering up to 24 hours, for slippage calibration and backtesting.","exampleAgentPrompt":"Pull the last 6 hours of 1-minute DEX spread history for WETH/USDC so I can calibrate slippage for my backtesting model.","exampleUseCases":null,"resultDescription":"A time-series of 1-minute-bucket spread descriptive statistics (e.g. mean, min, max, std) for the requested DEX pair, covering up to 24 hours of history. Useful for slippage calibration and quantitative backtesting; explicitly not investment advice.","failureModes":["Missing required 'pair' parameter returns a 400 error","Invalid pair format (e.g. unsupported token pair) returns a 404 or empty dataset","'hours' value outside 0.25–24 range may return a validation error","No historical data available for the requested window returns an empty result set","Payment not processed (x402 unpaid) returns a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need a bulk window of historical 1-minute spread statistics (up to 24h) for a DEX pair in a single call — ideal for backtesting workflows or slippage model calibration where you want descriptive statistics over time rather than a single real-time snapshot.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:41:08.679Z","isFirstParty":false}