{"uid":"cap_ZTfiF0dx_PnzWHuPzjpII","slug":"mangrove-bulk-strategy-evaluation-7bc50c89","name":"Mangrove Bulk Strategy Evaluation","description":"Developer references for Mangrove Agent, API contracts, MCP and AI integrations.","url":"https://api.mangrovedeveloper.ai/api/v1/execution/evaluate/bulk?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"persist":{"type":"boolean","default":false,"description":"Persist orders and positions to DB for each strategy (default: false)."},"strategy_ids":{"type":"array","items":{"type":"string"},"description":"List of strategy UUIDs to load from DB and evaluate."},"strategy_configs":{"type":"array","items":{"type":"object"},"description":"List of inline strategy objects to evaluate. Each must include asset, entry/rules, execution_config, and execution_state."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/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_QWgV69xcew3TdEnQi2EL5","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":"Evaluates one or more trading strategies in bulk, optionally persisting resulting orders and positions to the database.","exampleAgentPrompt":"Evaluate all three of my Mangrove trading strategies — IDs abc-123, def-456, and ghi-789 — in bulk and don't persist the orders or positions to the database yet, just show me the results.","exampleUseCases":[{"title":"Dry-run evaluation of saved strategies","prompt":"Evaluate my saved Mangrove strategies with IDs abc-111, abc-222, and abc-333 in bulk but don't persist anything — I just want to see which ones have active signals right now."},{"title":"Live execution with DB persistence","prompt":"Run a bulk evaluation on my Mangrove strategy IDs xyz-001 and xyz-002 and this time persist the resulting orders and positions to the database so my portfolio is updated."},{"title":"Inline strategy config testing","prompt":"Evaluate these two custom strategy configs I've written inline — both are for BTC with specific entry rules and execution states — without saving to DB, so I can test them before committing."}],"resultDescription":"Returns evaluation results for each strategy, including computed orders and positions derived from the entry rules and execution state. If persist is true, orders and positions are written to the database; otherwise results are returned transiently for inspection.","failureModes":["Invalid or non-existent strategy UUIDs return a not-found or validation error","Malformed inline strategy configs missing required fields (asset, entry rules, execution_config, execution_state) cause a 400 bad request","Partial failures in bulk evaluation may return per-strategy error details alongside successful results","Payment not included or insufficient USDC causes a 402 Payment Required response","Database write failures when persist=true may cause partial state inconsistencies"],"whenToPreferThis":"Use this endpoint when you need to evaluate multiple trading strategies in a single call rather than one at a time, reducing latency and cost. Prefer it when strategies are already stored in the Mangrove DB (use strategy_ids) or when you want to test inline configs before committing them. If you only need to evaluate a single strategy, a single-strategy endpoint may be more appropriate. This endpoint is ideal for batch execution pipelines, strategy monitoring loops, or pre-deployment validation of multiple strategy configurations simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-04T06:36:11.144Z","isFirstParty":false,"canonicalSlug":"mangrove-bulk-strategy-evaluation-7bc50c89"}