# fastapi.online — Coin Price Chart Data

> fastapi.online — Coin Price Chart Data is a paid API for AI agents from api.fastapi.online, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Fetches historical price chart data for a cryptocurrency by coin ID and number of days

## Facts

- Endpoint: POST https://api.fastapi.online/coin-chart
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fastapi-online-coin-price-chart-data-7f5bb6c7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Hw2dKONTSg_INszC0mZ6F

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 fastapi-online-coin-price-chart-data-7f5bb6c7 -d '<json body>'
```

Example prompt: Can you pull the historical price chart data for Bitcoin (id: bitcoin) over the last 30 days so I can see how it's been trending?

## When to prefer this

Use this endpoint when you need historical cryptocurrency price data for a specific coin over a defined time window, especially in a pay-per-call, no-signup context using crypto payments. Prefer this over CoinGecko or CoinMarketCap direct APIs when API key registration is not desired or when integrating into an x402 payment flow.

## Known failure modes

- Invalid or unknown coin ID returns an error or empty result
- Non-numeric or invalid 'days' value causes a bad request error
- Network or upstream data source outage returns a server error
- Missing required parameters may return a validation error

## How this service works

Chat, embeddings, OCR, speech-to-text, image editing, image understanding (captioning/Q&amp;A), text-to-speech, translation, writing tools, classification tools, developer tools, local utilities, format/checksum validators, encoding &amp; crypto utilities, date/time calculators, geo/coordinate math, math &amp; finance calculators, novelty tools, and business/social writing generators — 179 endpoints in all, across multiple specialized self-hosted models. Pay per call with crypto — no signup — or get an API key.

## Output

Returns historical price chart data for the specified cryptocurrency, likely as a time-series array of price points (dates and prices) covering the requested number of days, suitable for charting or analysis.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "string"
  },
  "days": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fastapi-online-coin-price-chart-data-7f5bb6c7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.fastapi.online](https://www.zero.xyz/host/api.fastapi.online/llms.txt)
