fetchTokenPriceHistoryByTimeFrame
Retrieve historical token prices by specifying a symbol, time frame, and interval on the Alchemy MCP Server, supporting both structured and natural language inputs.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
interval | No | The interval to query. e.g. "1d" or "1h" | 1d |
symbol | Yes | The token symbol to query. e.g. "BTC" or "ETH" | |
timeFrame | Yes | Time frame like "last-week", "past-7d", "ytd", "last-month", etc. or use natural language like "last week" | |
useNaturalLanguageProcessing | No | If true, will interpret timeFrame as natural language |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"interval": {
"default": "1d",
"description": "The interval to query. e.g. \"1d\" or \"1h\"",
"type": "string"
},
"symbol": {
"description": "The token symbol to query. e.g. \"BTC\" or \"ETH\"",
"type": "string"
},
"timeFrame": {
"description": "Time frame like \"last-week\", \"past-7d\", \"ytd\", \"last-month\", etc. or use natural language like \"last week\"",
"type": "string"
},
"useNaturalLanguageProcessing": {
"default": false,
"description": "If true, will interpret timeFrame as natural language",
"type": "boolean"
}
},
"required": [
"symbol",
"timeFrame"
],
"type": "object"
}