Skip to content

GetAdaPrice

Walter Lara edited this page Jul 16, 2024 · 2 revisions

Get ADA Price

Allows to query the ADA price in USD.

Request

URL: /v1/cardano/prices/ada

Method: GET

Path Parameters: None

Query Parameters: None

Headers:

Accept: application/json

Authorization: Bearer {accessToken}

✅ Success Response

Code: 200 OK

Headers:

Content-Type: application/json

Content:

Field Type Description Condition
usdPrice uint64 ADA price in USD (6 decimal places). For example, a value of 1234567 means $1.234567 USD Always

Content example:

{
    "usdPrice": 250000
}

❌ Error Responses

1. Unauthorized

Code: 401 UNAUTHORIZED

Condition: If {accessToken} is invalid or expired.

See Also

Get NEWM Price

Clone this wiki locally