# Alchemy — Historical Token Prices

Get Alchemy Historical Token Prices data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Alchemy, pass parameters such as endTime, interval, startTime, and retrieve structured data including price-series currency, token symbol when returned, price observation timestamp, reported price value, and market cap for plot observation series, and preserve token identity.

Documentation: https://openany.si/alchemy/alchemy-historical-token-prices/3d6ff976-2482-42ca-bbaf-823b705228e9/
API ID: 3d6ff976-2482-42ca-bbaf-823b705228e9
Provider: alchemy
Contract revision: 4
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/alchemy/prices/v1/tokens/historical
Page update time: 2026-12-03T02:44:17.367Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: application/json
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0 / call
The published contract currently has no usage charge. Authentication and service limits still apply.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:44:15.919Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "0",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Alchemy Historical Token Prices API

The JSON request identifies a token using symbol or network plus address and provides startTime and endTime. The request template includes interval and optional withMarketData.

## What You Can Build

- **Plot observation series**: Keep timestamp and currency with each value.
- **Preserve token identity**: Prefer network and address when symbol identity is ambiguous.

## Returned Data

| Field | Meaning |
| --- | --- |
| `currency` | Price-series currency |
| `symbol` | Token symbol when returned |
| `data[].timestamp` | Price observation timestamp |
| `data[].value` | Reported price value |
| `data[].marketCap` | Market-cap value when requested and available |
| `data[].totalVolume` | Volume metric when requested and available |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Alchemy — Historical Token Prices request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {}
    },
    "headers": {
      "type": "object",
      "properties": {}
    },
    "body": {
      "description": "Request body for fetching historical token prices. Provide either the token `symbol` or both `network` and `address`, along with the required time range parameters.\n",
      "oneOf": [
        {
          "properties": {
            "endTime": {
              "description": "End of the time range.",
              "example": "2024-01-31T23:59:59Z",
              "oneOf": [
                {
                  "default": "2024-01-31T23:59:59Z",
                  "description": "End of the time range in ISO 8601 format.",
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "default": 1706745599,
                  "description": "End of the time range as a timestamp in seconds since epoch.",
                  "type": "number"
                }
              ]
            },
            "interval": {
              "default": "1d",
              "description": "Time interval for data points. Max ranges: (5m, 7d), (1h, 30d), (1d, 1yr)\n",
              "enum": [
                "5m",
                "1h",
                "1d"
              ],
              "example": "1d",
              "type": "string"
            },
            "startTime": {
              "description": "Start of the time range.",
              "example": "2024-01-01T00:00:00Z",
              "oneOf": [
                {
                  "default": "2024-01-01T00:00:00Z",
                  "description": "Start of the time range in ISO 8601 format.",
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "default": 1704067200,
                  "description": "Start of the time range as a timestamp in seconds since epoch.",
                  "type": "number"
                }
              ]
            },
            "symbol": {
              "default": "ETH",
              "description": "Token symbol (e.g., ETH, BTC).",
              "example": "ETH",
              "type": "string"
            },
            "withMarketData": {
              "default": false,
              "description": "Whether to include market cap and volume for each token",
              "example": true,
              "type": "boolean"
            }
          },
          "required": [
            "symbol",
            "startTime",
            "endTime"
          ]
        },
        {
          "properties": {
            "address": {
              "default": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
              "description": "Token contract address.",
              "example": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
              "type": "string"
            },
            "endTime": {
              "description": "End of the time range.",
              "example": "2024-01-31T23:59:59Z",
              "oneOf": [
                {
                  "default": "2024-01-31T23:59:59Z",
                  "description": "End of the time range in ISO 8601 format.",
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "default": 1706745599,
                  "description": "End of the time range as a timestamp since epoch.",
                  "type": "number"
                }
              ]
            },
            "interval": {
              "default": "1d",
              "description": "Time interval for data points. Max ranges: (5m, 7d), (1h, 30d), (1d, 1yr)\n",
              "enum": [
                "5m",
                "1h",
                "1d"
              ],
              "example": "1d",
              "type": "string"
            },
            "network": {
              "default": "eth-mainnet",
              "description": "Network identifier (e.g., eth-mainnet).",
              "example": "eth-mainnet",
              "type": "string"
            },
            "startTime": {
              "description": "Start of the time range.",
              "example": "2024-01-01T00:00:00Z",
              "oneOf": [
                {
                  "default": "2024-01-01T00:00:00Z",
                  "description": "Start of the time range in ISO 8601 format.",
                  "format": "date-time",
                  "type": "string"
                },
                {
                  "default": 1704067200,
                  "description": "Start of the time range as a timestamp since epoch.",
                  "type": "number"
                }
              ]
            },
            "withMarketData": {
              "default": false,
              "description": "Whether to include market cap and volume for each token",
              "example": true,
              "type": "boolean"
            }
          },
          "required": [
            "network",
            "address",
            "startTime",
            "endTime"
          ]
        }
      ],
      "type": "object"
    }
  },
  "required": [
    "path",
    "query",
    "headers",
    "body"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string"
    },
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "marketCap": {
            "type": "string"
          },
          "timestamp": {
            "type": "string"
          },
          "totalVolume": {
            "type": "string"
          },
          "value": {
            "type": "string"
          }
        }
      }
    },
    "symbol": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Schema template · Schema template (not executed)
```bash
curl \
  'https://api.openany.si/v1/agent-apis/alchemy/prices/v1/tokens/historical' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "endTime": "2024-01-31T23:59:59Z",
  "interval": "1d",
  "startTime": "2024-01-01T00:00:00Z",
  "symbol": "ETH",
  "withMarketData": true
}'
```

## Response example
Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.
Response template · not a real response · Documented HTTP 200
```json
{
  "currency": "usd",
  "data": [
    {
      "marketCap": "274292310008.21802",
      "timestamp": "2024-01-01T00:00:00Z",
      "totalVolume": "6715146404.608721",
      "value": "1900.00"
    }
  ],
  "symbol": "ETH"
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### How can I identify the token?
Use symbol or network together with address.

### Where are the time bounds supplied?
Use startTime and endTime in the JSON body.

### Are returned values OHLC candles?
No. The documented result contains timestamped price values, not open/high/low/close fields.

### Can I request market metadata?
The request template includes withMarketData; handle optional values when returned.

### Does the result quote a future transaction price?
No. It is historical price data.

### Are these prices the OpenAny request cost?
No. Review the selected implementation pricing separately.

## Available implementations
- alchemy: https://openany.si/alchemy/alchemy-historical-token-prices/3d6ff976-2482-42ca-bbaf-823b705228e9/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
