GET /prices

GET /prices | Auth: Required

Get current USD prices and 24-hour change for one or more token symbols.

Request

Parameters

Query string parameters:

Field
Type
Required
Description

symbols

string

Yes

Comma-separated list of token symbols. Max 20 symbols per request. Case-insensitive. Example: "ETH,SOL,USDC".

Supported Symbols

ETH, SOL, BNB, USDC, USDT, BTC, DAI, WBTC, ARB, OP, AVAX, MATIC, WETH, BONK, JUP, RAY

Example

GET /prices?symbols=ETH,SOL,USDC

Response

Status: 200 OK

Fields

Field
Type
Description

success

boolean

Always true.

prices

object

Map of symbol to price data.

prices.<SYMBOL>.usd

number

Current price in USD.

prices.<SYMBOL>.change_24h

number

Percentage change over the last 24 hours. Positive or negative.

unknown_symbols

array

Symbols from the request that were not recognized. Empty array if all symbols matched.

Example

Example with Unknown Symbols

Errors

Status
Error
Description

400

"symbols parameter is required"

The symbols query parameter is missing.

400

"Too many symbols. Maximum 20 per request."

More than 20 symbols were provided.

401

"Invalid or missing API key"

The API key is missing, malformed, or revoked.

Code Examples

curl

Python

TypeScript

Last updated