get_historical_prices
Retrieve historical cryptocurrency prices by contract address and timestamp using the MCP server's API. Specify tokens, time, and search range for accurate price data.
Instructions
GET /coins/prices/historical/{timestamp}/{coins}
Get historical prices of tokens by contract address.
Parameters:
timestamp: UNIX timestamp for historical prices
coins: comma-separated tokens in format {chain}:{address}
search_width: time range on either side to find price data (default: '6h')
Input Schema
Name | Required | Description | Default |
---|---|---|---|
coins | Yes | ||
search_width | No | 6h | |
timestamp | Yes |
Input Schema (JSON Schema)
{
"properties": {
"coins": {
"title": "Coins",
"type": "string"
},
"search_width": {
"default": "6h",
"title": "Search Width",
"type": "string"
},
"timestamp": {
"title": "Timestamp",
"type": "integer"
}
},
"required": [
"timestamp",
"coins"
],
"title": "get_historical_pricesArguments",
"type": "object"
}