# CoinGecko Market Chart

> CoinGecko Market Chart is a paid API for AI agents from CoinGecko at coingecko.mpp.paywithlocus.com, paid per call via MPP, $0.06/call, status unknown (last checked 2026-10-10).

Returns historical price, market cap, and volume data for a cryptocurrency over a specified time range

## Facts

- Endpoint: POST https://coingecko.mpp.paywithlocus.com/coingecko/market-chart?utm_source=zero.xyz
- Price: $0.06/call
- Payment: MPP
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Provider: CoinGecko
- Docs: https://docs.coingecko.com
- Website: https://www.coingecko.com
- Tags: crypto, prices, market-cap, exchanges, trending, data
- Canonical page: https://www.zero.xyz/c/coingecko-market-chart-7eab2fed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5-sdwPzH74NcQwllGEpBP

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 coingecko-market-chart-7eab2fed -d '<json body>'
```

Example prompt: Pull the daily price chart for bitcoin in USD over the last 30 days from CoinGecko so I can see how it's been trending.

## When to prefer this

Use this endpoint when you need time-series historical price, market cap, or volume data for a specific cryptocurrency over a defined period. Prefer this over Simple Price when you need historical trends rather than just the current price, and over Coin Data when you specifically need chart-ready time-series arrays rather than general coin metadata.

## Known failure modes

- Invalid coin ID returns 404 not found
- Unsupported vs_currency returns error
- Invalid days value returns validation error
- Rate limiting may cause 429 too many requests
- Network timeout for large date ranges

## How this service works

Get historical price, market cap, and volume data for a coin over a time range.

## Output

Returns arrays of timestamped data points for prices, market caps, and total volumes — each as [unix_timestamp_ms, value] pairs — covering the requested time window and interval for the specified coin and currency.

## Example request

```json
{
 "id": "bitcoin",
 "days": "30",
 "interval": "daily",
 "vs_currency": "usd"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "id",
  "vs_currency",
  "days"
 ],
 "properties": {
  "id": {
   "type": "string",
   "description": "Coin ID (e.g. \"bitcoin\")"
  },
  "days": {
   "type": "string",
   "description": "Time range: 1, 7, 14, 30, 90, 180, 365, or \"max\""
  },
  "interval": {
   "type": "string",
   "description": "Data interval: \"daily\", \"hourly\", or \"5-minutely\""
  },
  "precision": {
   "type": "string",
   "description": "Decimal precision"
  },
  "vs_currency": {
   "type": "string",
   "description": "Target currency (e.g. \"usd\")"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/coingecko-market-chart-7eab2fed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from coingecko.mpp.paywithlocus.com](https://www.zero.xyz/host/coingecko.mpp.paywithlocus.com/llms.txt)
