Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Rarible Currencies and rates API

The Currencies and rates API from Rarible — 2 operation(s) for currencies and rates.

Rarible Currencies and rates API is one of 18 APIs that Rarible publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Currencies and rates. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 2 operations across 2 paths, and defines 7 schemas. It is described by OpenAPI 3.0.3, at version v0.1.

Requests are made against a single base URL, https://{environment}.rarible.org.

2 operations 2 paths 7 schemas 2 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.3
API Version
v0.1
Base URL
https://api.rarible.org/v0.1
Authentication
API Key
Resource Areas
1

Authentication & Security 1

Rarible Currencies and rates API declares 1 security scheme for authenticating requests. An API key is passed in the header as X-API-KEY (ApiKeyAuth). By default, every request must be authenticated.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 2 GET. Each is listed below with its method, path, parameters, and response codes.

Currencies and rates 2
GET
/v0.1/currencies/{currencyId}/rates/usd
Get USD rate
getUsdRate 2 params → 200400500
GET
/v0.1/currencies/all
Get supported currencies
getAllCurrencies → 200400500

Schemas 7

The contract defines 7 schemas that model the data the API accepts and returns. The most detailed are Currency (6 properties), CurrencyUsdRate (5 properties), UnionApiErrorBadRequest (2 properties), UnionApiErrorServerError (2 properties). Each schema is shown below with its type and property counts.

Currency
object
6 properties 3 required
UnionApiErrorServerError
object
2 properties 2 required
Currencies
object
1 property 1 required
CurrencyId
string
Currency Id, has format ETHEREUM:${token} or ETHEREUM:${token}:${tokenId}
BigDecimal
string
UnionApiErrorBadRequest
object
2 properties 2 required
CurrencyUsdRate
object
5 properties 3 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

rarible-currencies-and-rates-api-openapi.yml Raw ↑

Other APIs Rarible publishes across the network.

Rarible Charts API
Rarible Collection Leader Board API
Rarible Collection Statistics API
Rarible Domain lookup API
Rarible Encode operations API
Rarible Indexer blocks API
Rarible NFT Activities API
Rarible NFT Collections API
Rarible NFT Data and Historical Statistics API
Rarible NFT Items API
Rarible NFT Ownerships API
Rarible NFT Sales API