Currencies and rates

Get USD rate

Get currency USD rate by currency blockchain's address

get/v0.1/currencies/{currencyId}/rates/usd

Request

  • Base URL
    https://api.rarible.org
  • URL
    https://api.rarible.org/v0.1/currencies/{currencyId}/rates/usd
  • Auth
    API key in header X-API-KEY

Path parameters

currencyIdstring required

Currency Id, has format ETHEREUM:${token} or ETHEREUM:${token}:${tokenId}

Example:ETHEREUM:0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2

Query parameters

atstring date-time required

Date and time for getting currency USD rate (if not specified, returns actual rate)

Response

OK

currencyIdstring

Currency Id

symbolstring required

Currency Symbol

abbreviationstring
ratestring required
datestring date-time required

Date and time of currency USD rate

Example response

{
  "currencyId": "usdc",
  "symbol": "usdc"
}

Changes

No recorded changes to this operation across all 1 revision of this API.