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 Collection Statistics API

The Collection Statistics API from Rarible — 7 operation(s) for collection statistics.

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

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

This API exposes 7 operations across 7 paths, and defines 14 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.

7 operations 7 paths 14 schemas 4 GET3 POST

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 Collection Statistics 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 7

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

Collection Statistics 7
GET
/v2.0/data/collections/{id}/statistics/global
Get global (period-independent) statistics by collection ID
getGlobalCollectionStatistics 1 param → 200400500
POST
/v2.0/data/collections/statistics/global/byIds
Get global (period-independent) statistics by collection IDs
getGlobalCollectionStatisticsByIds body → 200400500
POST
/v2.0/data/collections/statistics/aggregated
Get NFT Collections aggregated statistics
getCollectionsAggregatedStatistics body → 200400404500
GET
/v2.0/data/collections/{id}/statistics/period
Get period-based statistics by collection ID
getPeriodCollectionStatistics 2 params → 200400500
POST
/v2.0/data/collections/statistics/period/byIds
Get period-based statistics by collection IDs
getPeriodCollectionStatisticsByIds body → 200400500
GET
/v2.0/data/collections/{id}/owners
Get distribution of the number of owned items by owner
getOwners 3 params → 200400404500
GET
/v2.0/data/collections/{id}/bidsByPrice
Get distribution of the number of bids by price
getBidsByPrice 4 params → 200400404500

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are OlapGlobalCollectionStatisticsResponse (6 properties), OlapBidsByPrice (5 properties), OlapPeriodCollectionStatisticsResponse (4 properties), OlapBidsByPriceStatistics (3 properties). Each schema is shown below with its type and property counts.

OlapBidsByPriceStatistics
object
3 properties 2 required
OlapBidsByPrice
object
5 properties 5 required
OlapBidsByPriceSort
string
OlapAggregatedCollectionStatisticsResponse
object
3 properties 3 required
UnionAddress
string
Blockchain address in Union format ${blockchainGroup}:${token}
OlapPriceWithUsd
object
3 properties 2 required
OlapPeriod
string
Period: MIN5 - Last 5 minutes MIN30 - Last 30 minutes H1 - Last 1 hour H6 - Last 6 hours D1 - Last 1 day D7 - Last 7 days D30 - Last 30 days D180 - Last 180 da…
OlapPeriodCollectionStatisticsResponse
object
4 properties 2 required
OlapOwnerStatistics
object
2 properties 1 required
OlapError
object
2 properties 2 required
OlapPeriodCollectionsByIdsStatisticsRequest
object
2 properties 2 required
CollectionId
string
Collection id
OlapOwnerStatistic
object
2 properties 2 required
OlapGlobalCollectionStatisticsResponse
object
6 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

rarible-collection-statistics-api-openapi.yml Raw ↑

Other APIs Rarible publishes across the network.

Rarible Charts API
Rarible Collection Leader Board API
Rarible Currencies and rates 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