Coin Price Volume
Retrieve the latest price, 24-hour volume, price change, and volume change for a specific coin.
Endpoint
GET /api/v1/partner/coin-price-volume
Request Parameters
Name
Type
Required
Description
coin_id
string
Yes
The unique identifier of the coin (e.g., 0x...::module::COIN
)
Headers
Header
Required
Description
x-api-key
Yes
API key for authorization.
cURL Example
curl --location 'https://api.noodles.fi/api/v1/partner/coin-price-volume?coin_id=0x006734e1fe4c43141f47326a88c748c8900ab222e8794d0dfe545a90943ee7ab%3A%3Asuia%3A%3ASUIA' \
--header 'Accept-Encoding: application/json' \
--header 'x-api-key: YOUR_API_KEY'
Response
Field
Field
Type
Nullable
Description
price
number
No
Price of the coin.
volume_24h
number
No
24-hour trading volume in USD.
price_change_24h
number
No
Percentage change in price over the last 24 hours.
volume_change_24h
number
No
Percentage change in trading volume over the last 24 hours.
Success Response
{
"data": {
"price": 0.000002105688571,
"volume_24h": 123456.78,
"price_change_24h": 12.1,
"volume_change_24h": -5.3
}
}
Response coin has no data
{
"data": {
"price": 0,
"volume_24h": 0,
"price_change_24h": 0,
"volume_change_24h": 0
}
}
See also: Environment Setup
Last updated