# Crypto Token Price History

> Crypto Token Price History is a paid API for AI agents from pyfile-agent.taile3ff35.ts.net:10000, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns historical price data for one or more cryptocurrency tokens over a specified number of days

## Facts

- Endpoint: GET https://pyfile-agent.taile3ff35.ts.net:10000/data/crypto/history
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-token-price-history-5db282cf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_PQ2onYtJ1ZYsTRzFYVCVN

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 crypto-token-price-history-5db282cf
```

Example prompt: Can you pull up the historical price data for bitcoin over the last 7 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 charting, trend analysis, backtesting, or reporting. It's particularly useful when you need simple time-series price data for one or more tokens over a configurable lookback window without needing to set up a full market data subscription.

## Known failure modes

- Invalid or unrecognized token id returns an error or empty dataset
- Missing required 'ids' parameter results in a bad request error
- Requesting more days than supported may return partial data or an error
- Network or upstream data provider unavailability causes a 503 or timeout
- Payment failure (x402) blocks access if USDC payment is not processed

## How this service works

Token price history. ?ids=bitcoin&days=7

## Output

Returns a time-series dataset of historical token prices for the requested cryptocurrency over the specified number of days, typically including timestamps and price values in USD or base currency.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "ids": {
       "type": "string"
      },
      "days": {
       "type": "number"
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-token-price-history-5db282cf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pyfile-agent.taile3ff35.ts.net:10000](https://www.zero.xyz/host/pyfile-agent.taile3ff35.ts.net%3A10000/llms.txt)
