getTokenPriceHistory
Retrieve historical token price data on Ethereum by specifying the token address, time range, and resolution. Analyze price trends for informed decision-making.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
address | Yes | ||
days | No | Number of days of history | |
networkId | No | Network ID (1 for Ethereum, 101 for Solana) | |
resolution | No | Time resolution (e.g. 1D, 1H, 60) | 1D |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"address": {
"minLength": 1,
"type": "string"
},
"days": {
"default": 7,
"description": "Number of days of history",
"exclusiveMinimum": 0,
"type": "integer"
},
"networkId": {
"default": 1,
"description": "Network ID (1 for Ethereum, 101 for Solana)",
"exclusiveMinimum": 0,
"type": "integer"
},
"resolution": {
"default": "1D",
"description": "Time resolution (e.g. 1D, 1H, 60)",
"type": "string"
}
},
"required": [
"address"
],
"type": "object"
}