# Mangrove Bulk Strategy Evaluation

> Mangrove Bulk Strategy Evaluation is a paid API for AI agents from api.mangrovedeveloper.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-04).

Evaluates one or more trading strategies in bulk, optionally persisting resulting orders and positions to the database.

## Facts

- Endpoint: POST https://api.mangrovedeveloper.ai/api/v1/execution/evaluate/bulk?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mangrove-bulk-strategy-evaluation-7bc50c89
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZTfiF0dx_PnzWHuPzjpII

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability mangrove-bulk-strategy-evaluation-7bc50c89 -d '<json body>'
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Developer references for Mangrove Agent, API contracts, MCP and AI integrations.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mangrove-bulk-strategy-evaluation-7bc50c89/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.mangrovedeveloper.ai](https://www.zero.xyz/host/api.mangrovedeveloper.ai/llms.txt)
