{"uid":"cap_j0kXZNlhuGWU4_Lk15WAC","slug":"mangrove-backtest-benchmark-e8acca96","name":"Mangrove Backtest Benchmark","description":"Developer references for Mangrove Agent, API contracts, MCP and AI integrations.","url":"https://api.mangrovedeveloper.ai/api/v1/backtests/benchmark?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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["asset","end_date","start_date"],"properties":{"asset":{"type":"string","description":"Asset symbol, e.g. BTC or ETH."},"end_date":{"type":"string","description":"ISO end of the window."},"base_token":{"type":"string","description":"Canonical base token; supply with quote_token and market_data_venue."},"start_date":{"type":"string","description":"ISO start of the window, e.g. 2026-01-01."},"quote_token":{"type":"string","description":"Quote currency of the requested market."},"market_data_venue":{"type":"string","description":"Exact venue of the requested market."}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yjfnEyDTyVERC15iu2IKc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves benchmark performance data for a specified crypto asset over a given date range, optionally scoped to a specific market and venue.","exampleAgentPrompt":"Pull the benchmark performance data for BTC from 2025-01-01 to 2025-06-01 — I want to use it to evaluate how my strategy did against a baseline.","exampleUseCases":[{"title":"Strategy vs benchmark comparison","prompt":"Get me the BTC benchmark data from 2024-01-01 to 2024-12-31 so I can compare it against my trading strategy's returns over the same period."},{"title":"ETH market-specific benchmark lookup","prompt":"Retrieve the benchmark for ETH/USDC on Binance from 2025-03-01 to 2025-06-30 — I need the reference performance for that specific market."},{"title":"Quarterly crypto performance review","prompt":"What were the benchmark returns for ETH between 2025-04-01 and 2025-06-30? I'm putting together a quarterly performance review."}],"resultDescription":"Returns benchmark performance metrics for the specified asset and date window, including time-series return data that can be used as a reference baseline for strategy evaluation. When a specific market is requested (via base_token, quote_token, and market_data_venue), results are scoped to that exact trading pair and venue.","failureModes":["Missing required fields (asset, start_date, end_date) returns a 400 validation error","Invalid ISO date format causes a parsing error","Unsupported asset symbol returns a 404 or empty result","Specifying base_token or quote_token without market_data_venue may cause incomplete results","Date ranges with no available data return empty or null benchmark series","Payment not fulfilled (x402) results in a 402 Payment Required response"],"whenToPreferThis":"Use this endpoint when you need a canonical benchmark baseline for a crypto asset over a specific historical window, particularly to compare against a custom trading strategy's performance. Prefer this over generic price history endpoints when you specifically need benchmark-normalized returns for backtesting evaluation purposes within the Mangrove Agent ecosystem.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:32:00.482Z","isFirstParty":false,"canonicalSlug":"mangrove-backtest-benchmark-e8acca96"}