All pages
Powered by GitBook
1 of 1

Loading...

Subscribe

How to configure a Reference Rate stream.

What is this endpoint for?

Get a live feed / 72-hour replay for any Reference Rate from the following asset classes:

  • Crypto

Endpoints

gateway-v0-grpc.kaiko.ovh
gateway-v0-http.kaiko.ovh
https://gateway-v0-http.kaiko.ovh/api/stream/index_v1

Request parameters

Parameter
Description
Examples
Field
Description

This example demonstrates how to request historical data using replay. The maximum amount of data you can request for one replay cannot exceed a total of 24 hours in hours, seconds, and minutes. Replay data is available on a 72-hour rolling basis and should only be used to retrieve missed data. If full history is required, please use Rest API or CSV deployment methods.

cURL requests are intended for testing purposes only.

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

For more advanced users, you can access our full SDK here, where you'll find more coding languages, examples and guidance.

index_code

The Kaiko Benchmark Reference Rate ticker. You can find a full list of our tickers here or by API .

KK_BRR_BTCUSD

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.

curl -X POST "https://gateway-v0-http.kaiko.ovh/api/stream/index_v1" -H "accept: application/json" -H "X-Api-Key: $KAIKO_API_KEY" -H "Content-Type: application/json" -d "{\"indexCode\": \"KK_BRR_BTCUSD\"}"
{
  "result": {
    "indexCode": "KK_BRR_BTCUSD_LDNLF",
    "commodity": "SIC_DAILY_FIXING",
    "interval": {
      "startTime": "2026-03-15T15:55:00Z",
      "endTime": "2026-03-15T16:00:00Z"
    },
    "quote": "usd",
    "bases": [
      {
        "asset": "btc",
        "weight": 1
      }
    ],
    "exchanges": [
      "crco",
      "gmni",
      "krkn",
      "lmax",
      "stmp"
    ],
    "percentages": [
      {
        "percentage": 1,
        "price": 71504.35309090909,
        "pairs": [
          {
            "pair": "btc-usd",
            "weight": 1,
            "instruments": [
              {
                "partition": "0",
                "price": 71494,
                "volume": 0.19981715,
                "count": "12",
                "underlyingTrade": {
                  "volume": 0.04441,
                  "exchange": "crco",
                  "id": "1773590109095301942",
                  "datetime": "2026-03-15T15:55:09.095Z"
                }
              },
              {
                "partition": "1",
                "price": 71499.01,
                "volume": 0.9988525499999997,
                "count": "59",
                "underlyingTrade": {
                  "volume": 0.03,
                  "exchange": "crco",
                  "id": "1773590139013290780",
                  "datetime": "2026-03-15T15:55:39.013Z"
                }
              },
              {
                "partition": "2",
                "price": 71521.99,
                "volume": 7.455164940000001,
                "count": "85",
                "underlyingTrade": {
                  "volume": 0.06718,
                  "exchange": "crco",
                  "id": "1773590166944032527",
                  "datetime": "2026-03-15T15:56:06.944Z"
                }
              },
              {
                "partition": "3",
                "price": 71520.55,
                "volume": 0.65069622,
                "count": "38",
                "underlyingTrade": {
                  "volume": 0.07051,
                  "exchange": "crco",
                  "id": "1773590209541279735",
                  "datetime": "2026-03-15T15:56:49.541Z"
                }
              },
              {
                "partition": "6",
                "price": 71499,
                "volume": 0.33936496,
                "count": "51",
                "underlyingTrade": {
                  "volume": 0.03062718,
                  "exchange": "krkn",
                  "id": "97190194",
                  "datetime": "2026-03-15T15:58:23.269434Z"
                }
              },
              {
                "partition": "7",
                "price": 71485.44,
                "volume": 0.96415299,
                "count": "85",
                "underlyingTrade": {
                  "volume": 0.05482,
                  "exchange": "crco",
                  "id": "1773590318011259597",
                  "datetime": "2026-03-15T15:58:38.011Z"
                }
              },
              {
                "partition": "4",
                "price": 71520,
                "volume": 2.8886697400000005,
                "count": "85",
                "underlyingTrade": {
                  "volume": 0.1,
                  "exchange": "stmp",
                  "id": "547083599",
                  "datetime": "2026-03-15T15:57:29Z"
                }
              },
              {
                "partition": "8",
                "price": 71500.79,
                "volume": 0.88407981,
                "count": "50",
                "underlyingTrade": {
                  "volume": 0.03509,
                  "exchange": "crco",
                  "id": "1773590342864005707",
                  "datetime": "2026-03-15T15:59:02.864Z"
                }
              },
              {
                "partition": "9",
                "price": 71499.56,
                "volume": 0.57279782,
                "count": "43",
                "underlyingTrade": {
                  "volume": 0.06,
                  "exchange": "crco",
                  "id": "1773590373299603299",
                  "datetime": "2026-03-15T15:59:33.299Z"
                }
              },
              {
                "partition": "5",
                "price": 71520,
                "volume": 2.172445329999999,
                "count": "97",
                "underlyingTrade": {
                  "volume": 0.06991051,
                  "exchange": "stmp",
                  "id": "547083602",
                  "datetime": "2026-03-15T15:57:30.071Z"
                }
              }
            ]
          }
        ]
      }
    ],
    "tsEvent": "2026-03-15T16:00:00.806764411Z",
    "sequenceId": "d6rdf01r6s9c72s1gun0",
    "lastIngestTime": "2026-03-15T15:59:59.822071833Z",
    "lastAnomalyIngestTime": null,
    "fallbackInfo": {
      "fallbackUsed": false
    }
  }
}

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

Request examples

Response Example

here