TOOL API
get_ id_ simple_ token_ price
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 one or more token prices using their token contract addresses** # Response Schema ```json { $ref: '#/$defs/token_price_get_id_response', $defs: { token_price_get_id_response: { type: 'object', properties: { last_updated_at: { type: 'number', description: 'last updated timestamp' }, usd: { type: 'number', description: 'price in USD' }, usd_24h_change: { type: 'number', description: '24hr change in USD' }, usd_24h_vol: { type: 'number', description: '24hr volume in USD' }, usd_market_cap: { type: 'number', description: 'market cap in USD' } } } } } ```
Call information
- Tool slug
- coingecko-demo.get_id_simple_token_price
- Provider
- CoinGecko
- Average response
- 0 ms
- Calls in 7 days
- 0
Input parameters
idrequiredstring
contract_addressesrequiredthe contract addresses of tokens, comma-separated if querying more than 1 token's contract address
vs_currenciesrequiredtarget currency of coins, comma-separated if querying more than 1 currency. *refers to [`/simple/supported_vs_currencies`](/reference/simple-supported-currencies).
include_24hr_changeinclude 24hr change default: false
include_24hr_volinclude 24hr volume, default: false
include_last_updated_atinclude last updated price time in UNIX , default: false
include_market_capinclude market capitalization, default: false
precisiondecimal place for currency price value
jq_filterA 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/).