get_coins_history
Retrieve historical data for a specific cryptocurrency on a given date, including price, market cap, and volume, using a coin ID. Apply a jq_filter to optimize response size and performance.
Instructions
When using this tool, always use the jq_filter
parameter to reduce the response size and improve performance.
Only omit if you're sure you don't need the data.
This endpoint allows you to query the historical data (price, market cap, 24hrs volume, ...) at a given date for a coin based on a particular coin ID
Response Schema
{
type: 'object',
properties: {
id: {
type: 'string',
description: 'coin ID'
},
community_data: {
type: 'object',
description: 'coin community data',
properties: {
facebook_likes: {
type: 'number',
description: 'coin facebook likes'
},
reddit_accounts_active_48h: {
type: 'number',
description: 'coin reddit accounts active 48h'
},
reddit_average_comments_48h: {
type: 'number',
description: 'coin reddit average comments 48h'
},
reddit_average_posts_48h: {
type: 'number',
description: 'coin reddit average posts 48h'
},
reddit_subscribers: {
type: 'number',
description: 'coin reddit subscribers'
}
}
},
developer_data: {
type: 'object',
description: 'coin developer data',
properties: {
closed_issues: {
type: 'number',
description: 'coin repository closed issues'
},
code_additions_deletions_4_weeks: {
type: 'object',
description: 'coin code additions deletions 4 weeks',
properties: {
additions: {
type: 'number'
},
deletions: {
type: 'number'
}
}
},
commit_count_4_weeks: {
type: 'number',
description: 'coin commit count 4 weeks'
},
forks: {
type: 'number',
description: 'coin repository forks'
},
pull_request_contributors: {
type: 'number',
description: 'coin repository pull request contributors'
},
pull_requests_merged: {
type: 'number',
description: 'coin repository pull requests merged'
},
stars: {
type: 'number',
description: 'coin repository stars'
},
subscribers: {
type: 'number',
description: 'coin repository subscribers'
},
total_issues: {
type: 'number',
description: 'coin repository total issues'
}
}
},
image: {
type: 'object',
description: 'coin image url',
properties: {
small: {
type: 'string'
},
thumb: {
type: 'string'
}
}
},
localization: {
type: 'object',
description: 'coin localization'
},
market_data: {
type: 'object',
description: 'coin market data',
properties: {
current_price: {
type: 'object',
description: 'coin current price',
properties: {
btc: {
type: 'number'
},
eur: {
type: 'number'
},
usd: {
type: 'number'
}
}
},
market_cap: {
type: 'object',
description: 'coin market cap',
properties: {
btc: {
type: 'number'
},
eur: {
type: 'number'
},
usd: {
type: 'number'
}
}
},
total_volume: {
type: 'object',
description: 'coin total volume',
properties: {
btc: {
type: 'number'
},
eur: {
type: 'number'
},
usd: {
type: 'number'
}
}
}
}
},
name: {
type: 'string',
description: 'coin name'
},
public_interest_stats: {
type: 'object',
description: 'coin public interest stats',
properties: {
alexa_rank: {
type: 'number',
description: 'coin alexa rank'
},
bing_matches: {
type: 'number',
description: 'coin bing matches'
}
}
},
symbol: {
type: 'string',
description: 'coin symbol'
}
}
}
Input Schema
Name | Required | Description | Default |
---|---|---|---|
date | Yes | the date of data snapshot <br> Format: `dd-mm-yyyy` | |
id | Yes | ||
jq_filter | No | A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available. For example: to include only the `name` field in every object of a results array, you can provide ".results[].name". For more information, see the [jq documentation](https://jqlang.org/manual/). | |
localization | No | include all the localized languages in response, default: true |
Input Schema (JSON Schema)
{
"properties": {
"date": {
"description": "the date of data snapshot <br> Format: `dd-mm-yyyy`",
"type": "string"
},
"id": {
"type": "string"
},
"jq_filter": {
"description": "A jq filter to apply to the response to include certain fields. Consult the output schema in the tool description to see the fields that are available.\n\nFor example: to include only the `name` field in every object of a results array, you can provide \".results[].name\".\n\nFor more information, see the [jq documentation](https://jqlang.org/manual/).",
"title": "jq Filter",
"type": "string"
},
"localization": {
"description": "include all the localized languages in response, default: true",
"type": "boolean"
}
},
"required": [
"id",
"date"
],
"type": "object"
}