About this endpoint
What it does
Returns spot prices for one or more symbols quoted in a selected currency. The request accepts query parameters for the quote currency and the symbols to price, and the response returns a JSON object containing the selected quote currency, the data source, and a prices object keyed by symbol.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| vs | ENUM | No | Quote currency for the returned prices. Allowed values: usd, eur, gbp, btc, eth. Default: usd. |
| symbols | String | No | Symbol or symbols to price. Default: BTC. |
Response
Returns a JSON object with required vs, source, and prices fields. vs is a quote-currency string, source is a string, and prices is an object whose keys are the requested symbols; each symbol maps to an object containing a required price number and optional change24h and marketCap numeric fields, each of which may also be null.
| Parameter | Type | Description |
|---|---|---|
| vs | ENUM | Quote currency used for the returned prices. Allowed values: usd, eur, gbp, btc, eth. |
| source | String | Data source identifier. |
| prices | Object | Object keyed by symbol. Each value is an object with price and optional change24h and marketCap fields. |
| prices[].price | Number | Price in the requested quote currency. |
| prices[].change24h | Number | 24h change percentage. May be null. |
| prices[].marketCap | Number | Market cap in the requested quote currency. May be null. |



