# Mangrove OHLCV Crypto Price History

> Mangrove OHLCV Crypto Price History is a paid API for AI agents from api.mangrovedeveloper.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-04).

Returns historical OHLCV (open, high, low, close, volume) candlestick data for a given crypto asset symbol over a configurable lookback window.

## Facts

- Endpoint: GET https://api.mangrovedeveloper.ai/api/v1/crypto-assets/ohlcv/%7Bsymbol%7D?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mangrove-ohlcv-crypto-price-history-fc709374
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hc-pqDEI8NC2czAo7jUwA

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-ohlcv-crypto-price-history-fc709374
```

Example prompt: Can you pull the last 30 days of OHLCV price history for BTC quoted in USDC from Mangrove's crypto data API?

## When to prefer this

Use this endpoint when you need structured historical OHLCV candlestick data for a specific crypto asset, particularly when you want control over quote currency, exchange venue, or lookback window. It is ideal for backtesting, charting, or time-series analysis workflows where per-candle open/high/low/close/volume data is required, as opposed to real-time ticker or aggregate market cap endpoints.

## Known failure modes

- Unknown or unsupported asset symbol returns a 404 or error response
- Invalid lookback_days value may return an error or empty dataset
- Unsupported market_data_venue or provider override returns an error
- Payment not completed (x402) results in a 402 Payment Required response
- Malformed path parameter for symbol causes a validation error

## How this service works

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

## Output

Returns a time-series array of OHLCV candlestick records for the requested asset, including open, high, low, close prices and trading volume, covering the specified lookback period in the requested quote currency from the specified market venue.

## Request schema (JSON Schema)

```json
{
 "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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "symbol"
     ],
     "properties": {
      "symbol": {
       "type": "string",
       "description": "Asset symbol, e.g. BTC or ETH."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "provider": {
       "type": "string",
       "description": "Optional upstream override; omitted uses the existing server default."
      },
      "quote_token": {
       "type": "string",
       "description": "Quote currency of the requested market."
      },
      "lookback_days": {
       "type": "integer",
       "default": 30,
       "description": "Number of days of history to request."
      },
      "market_data_venue": {
       "type": "string",
       "description": "Exact venue of the requested market."
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mangrove-ohlcv-crypto-price-history-fc709374/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)
