get_addresses_networks_simple_onchain_token_price
Retrieve cryptocurrency token prices using contract addresses and network information, with optional market data like 24-hour changes, volume, and market capitalization.
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 get token price based on the provided token contract address on a network
Response Schema
{
$ref: '#/$defs/token_price_get_addresses_response',
$defs: {
token_price_get_addresses_response: {
type: 'object',
properties: {
data: {
type: 'object',
properties: {
id: {
type: 'string'
},
attributes: {
type: 'object',
properties: {
h24_price_change_percentage: {
type: 'object',
additionalProperties: true
},
h24_volume_usd: {
type: 'object',
additionalProperties: true
},
last_trade_timestamp: {
type: 'object',
additionalProperties: true
},
market_cap_usd: {
type: 'object',
additionalProperties: true
},
token_prices: {
type: 'object',
additionalProperties: true
},
total_reserve_in_usd: {
type: 'object',
additionalProperties: true
}
}
},
type: {
type: 'string'
}
}
}
}
}
}
}
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | Yes | ||
| addresses | Yes | ||
| include_24hr_price_change | No | include 24hr price change, default: false | |
| include_24hr_vol | No | include 24hr volume, default: false | |
| include_inactive_source | No | include token price data from inactive pools using the most recent swap, default: false | |
| include_market_cap | No | include market capitalization, default: false | |
| include_total_reserve_in_usd | No | include total reserve in USD, default: false | |
| mcap_fdv_fallback | No | return FDV if market cap is not available, default: false | |
| 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/). |