{"uid":"cap_nFOoClyGLV0usv3UbO1M1","slug":"api-usenami-io-7520e6e2","name":"Nami Backtest Data Feed","description":"Packaged time-series backtest feed for crypto perpetuals: funding-rate history plus optional orderbook snapshots, bundled per time bucket at 1h/4h/1d granularity — one paid call instead of stitching several endpoints together. Use include_funding/include_orderbook to control payload size.","url":"https://api.usenami.io/v1/backtest/data","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"},"method":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.050000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.050000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_fuYfZr_p-Yi4HdMXixiyT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a packaged time-series backtest feed combining funding rate history and optional orderbook snapshots, bucketed at 1h, 4h, or 1d granularity for crypto derivatives research.","exampleAgentPrompt":"Pull me a backtest data feed for BTCUSDT at 4h granularity with funding history included and orderbook snapshots enabled — I need it for a strategy simulation.","exampleUseCases":[{"title":"Daily funding history for BTC backtest","prompt":"Can you grab me a full daily funding rate history for BTCUSDT over the past 90 days? I'm building a carry strategy backtest and just need the funding data, no orderbook snapshots required."},{"title":"Bundled ETH funding and depth data","prompt":"I need a bundled backtest feed for ETHUSD perpetuals at 4h granularity with both funding rates and orderbook depth included — I'm training a model that uses both funding costs and bid/ask pressure as features."},{"title":"Hourly orderbook snapshots for derivatives research","prompt":"Pull me hourly orderbook snapshots for SOLUSDT going back 30 days — I'm studying microstructure around funding rate spikes so include the funding history too and keep the granularity at 1h."}],"resultDescription":"A packaged time-series dataset containing funding rate history entries and (if requested) orderbook snapshots, organized into time buckets at the requested granularity (1h, 4h, or 1d). Each bucket contains timestamped funding rates and optionally bid/ask depth data for the given symbol.","failureModes":["Invalid or unsupported ticker symbol returns an error","Unsupported granularity value (not 1h/4h/1d) returns a validation error","Both include_funding and include_orderbook set to false may return empty payload","Payment not completed (x402 protocol) blocks data delivery","Date range outside available history returns empty or partial results","Rate limiting or quota exhaustion returns 429 or payment-required error"],"whenToPreferThis":"Use this endpoint when you need a pre-packaged, multi-signal historical dataset combining funding rates and orderbook depth for backtesting crypto derivatives strategies. Prefer this over individual funding or orderbook endpoints when you want a single bundled feed across a time range without assembling multiple API calls. It is ideal for quantitative researchers building backtests that require both funding cost and market microstructure data in aligned time buckets.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:31:55.621Z","isFirstParty":false}