Subscribe

How to configure a Reference Rate stream.

What is this endpoint for?

Reference Rates that average the prices over a period of time to determine an average value and daily “close” prices (as crypto is 24/7, "close" prices are always synthetic). They can be used for several use cases, from settlement of derivatives contracts to asset pricing and valuation. More information on the specific rates can be found herearrow-up-right.

Endpoints

gateway-v0-grpc.kaiko.ovh

Request parameters

Parameter
Description
Examples

index_code

The Kaiko Benchmark Reference Rate ticker. You can find a full list of our tickers herearrow-up-right or by API herearrow-up-right.

KK_BRR_BTCUSD

circle-info

Requesting multiple tickers at the same time To configure multiple tickers in the same stream, provide the indexCode as a comma-separated list, e.g. KK_PR_BTCUSD,KK_AAVE_USD

Alternatively, use a wildcard by entering a * ,and you'll receive all tickers you have as part of you Kaiko subscription.

Response fields

Field
Description

indexCode

The ticker identifying the rate.

commodity

The type of publication. Either real-time or fixings

interval

The time period in which transaction data are considered for the calculation of the rate. If a rate's calculation methodology has an interval of 15 seconds, startTime and endTime will be separated by 15s.

quote

The quote asset used for the rate denomination.

bases

The list of base assets included in the rate and their weight. For reference rates, this will always be a single asset.

exchanges

The exchanges involved in the computation. This list may change every quarter during the rebalancing period and depending on the new results of the Kaiko Exchange Ranking.

percentages

The different distribution levels included in the price computation.

price

The value of the rate in the quote denomination.

pairs

The list of pairs combined with additional details included in the computation.

tsEvent

The exact time of price publication.

sequenceId

A unique identifier for the publication.

lastIngestTime

The timestamp of the last trade ingested and used in the rate computation.

lastAnomalyIngestTime

The timestamp of the last anomaly detected during ingestion.

fallbackInfo

An object containing fallback information

Request examples

Response Example

Last updated

Was this helpful?