# Vextorium Historical Crypto Price API

> Vextorium Historical Crypto Price API is a paid API for AI agents from api.vextorium.com, paid per call via x402, $0.004/call, status unknown (last checked 2026-10-11).

Returns the USD price of up to 20 crypto tokens at a specific past date and time, with exact timestamps and confidence scores, aggregated by DefiLlama.

## Facts

- Endpoint: POST https://api.vextorium.com/v1/historical-price?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vextorium-historical-crypto-price-api-e24ce0b1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yUiJ6T4DHibZuLZ-5UzRi

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 vextorium-historical-crypto-price-api-e24ce0b1 -d '<json body>'
```

Example prompt: What was the USD price of BTC and ETH on December 31, 2024? I need the exact timestamp of the data point for my year-end tax report.

## When to prefer this

Use this endpoint when you need accurate historical USD prices for one or more crypto tokens at a specific past date and time — especially for tax, accounting, auditing, or backtesting workflows. It supports both major tokens by symbol (BTC, ETH, SOL) and any EVM or non-EVM token by chain:contract address or CoinGecko slug, with up to 20 tokens per call. Prefer this over real-time price feeds when the query is retrospective and the exact data timestamp matters for auditability.

## Known failure modes

- Token not recognized returns the id in the not_found array
- Invalid date format returns an error
- Requesting more than 20 tokens at once may fail or truncate
- Contract address on wrong chain returns not_found
- Very old dates may have no data available for certain tokens
- Network timeout or upstream DefiLlama unavailability

## How this service works

USD price of up to 20 tokens at any past date and time (BTC, ETH, SOL... or chain:contract ids), with the exact timestamp of the data point. For accounting, taxes and backtests. Aggregated by DefiLlama.

## Output

A JSON object containing an array of price entries — each with the token id, symbol, USD price, exact data timestamp, and confidence score — plus the source attribution (DefiLlama), the requested date, and a list of any tokens not found.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "coins",
      "date"
     ],
     "properties": {
      "date": {
       "type": "string",
       "description": "YYYY-MM-DD, ISO 8601 or Unix timestamp"
      },
      "coins": {
       "type": "string",
       "description": "Comma-separated: BTC, ETH or chain:contract / coingecko:slug"
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": [
      "object",
      "null"
     ],
     "properties": {
      "prices": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": [
         "null",
         "object"
        ],
        "properties": {
         "id": {
          "type": [
           "null",
           "string"
          ]
         },
         "symbol": {
          "type": [
           "null",
           "string"
          ]
         },
         "data_time": {
          "type": [
           "null",
           "string"
          ]
         },
         "price_usd": {
          "type": [
           "null",
           "number"
          ]
         },
         "confidence": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "string",
        "null"
       ]
      },
      "not_found": {
       "type": [
        "array",
        "null"
       ],
       "items": {}
      },
      "requested_date": {
       "type": [
        "string",
        "null"
       ]
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "prices": [
   {
    "id": "coingecko:bitcoin",
    "symbol": "BTC",
    "data_time": "2024-12-31T23:59+00:00",
    "price_usd": 93450,
    "confidence": 0.99
   },
   {
    "id": "coingecko:ethereum",
    "symbol": "ETH",
    "data_time": "2025-01-01T00:00+00:00",
    "price_usd": 3333.54,
    "confidence": 0.99
   }
  ],
  "source": "DefiLlama (aggregated price)",
  "not_found": [],
  "requested_date": "2025-01-01T00:00+00:00"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vextorium-historical-crypto-price-api-e24ce0b1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vextorium.com](https://www.zero.xyz/host/api.vextorium.com/llms.txt)
