Prices of several tokens
get_token_pricesRead-onlyIdempotent
Prices of up to 100 Cardano tokens in one call (ADA and USD per token), optionally with the change of the ADA price over windows from 5 minutes to 90 days (percent). Use it instead of calling get_token repeatedly when you hold a list of units. A null change means the token did not trade yet at the start of that window; 30d and 90d only reach back as far as our history. Prices come from DEX pools: check liquidity with get_token before quoting a thin token.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| units | Yes | Comma separated token units (56-hex policy id + asset name in hex; "lovelace" for ADA), 1 to 100 of them. Get them from `search` or `list_tokens`. | |
| windows | No | Optional comma separated windows for the price change: 5m, 1h, 6h, 24h, 7d, 30d, 90d. |