> For the complete documentation index, see [llms.txt](https://docs.kaiko.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kaiko.com/kaiko-indices/reference-rates-capital-market/subscribe-24-7-feed.md).

# Subscribe - 24/7 feed

## What is this endpoint for? <a href="#what-is-this-endpoint-for" id="what-is-this-endpoint-for"></a>

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

* Equity *<mark style="color:$info;">(unless "instrument type" is "futures")</mark>*
* Fixed income
* Foreign exchange
* Commodities
* Real estate
* Digital assets

For crypto rates, please see the crypto section of the documentation.

## Endpoint&#x20;

{% tabs %}
{% tab title="gRPC Stream" %}

```url
gateway.equ.kaiko.io:443 kaiko.equities.EquitiesService/StreamContinuousRate
```

{% endtab %}

{% tab title="gRPC Replay" %}

<pre><code><strong>gateway.equ.kaiko.io:443 kaiko.equities.EquitiesService/ReplayContinuousRate
</strong></code></pre>

{% endtab %}
{% endtabs %}

## Request parameters

{% hint style="info" %}
**Requesting multiple tickers at the same time**\
\
To configure multiple tickers in the same call, provide the  `index_codes` as a comma-separated list, e.g. `["KK_RFR_AAPLUSD", "KK_RFR_TSLAUSD"]` .
{% endhint %}

### Subscribe

<table><thead><tr><th width="184">Parameter</th><th width="377.296875">Description</th><th>Examples</th></tr></thead><tbody><tr><td><code>index_codes</code></td><td>The list of Kaiko Reference Rate ticker. You can find a full list of our tickers <a href="https://www.kaiko.com/indices/reference-rates#table">here</a>.</td><td><code>["KK_RFR_AAPLUSD", "KK_RFR_TSLAUSD"]</code></td></tr></tbody></table>

### Replay

<table><thead><tr><th width="184">Parameter</th><th width="400">Description</th><th>Examples</th></tr></thead><tbody><tr><td><code>index_codes</code></td><td>The list of Kaiko Reference Rate ticker. You can find a full list of our tickers <a href="https://www.kaiko.com/indices/reference-rates#table">here</a>.</td><td><code>KK_RFR_AAPLUSD</code></td></tr><tr><td><code>start_time</code></td><td>Start date of <code>exDate</code> in ISO 8601 (exclusive).</td><td><code>2026-04-22T05:04:32.000Z</code></td></tr><tr><td><code>end_time</code></td><td>Start date of <code>exDate</code> in ISO 8601 (inclusive).</td><td><code>2026-04-22T05:04:33.000Z</code></td></tr></tbody></table>

## Response fields

<table><thead><tr><th width="258.4453125">Field</th><th>Description</th></tr></thead><tbody><tr><td><code>indexCode</code></td><td>Index code of the published rate (e.g. <code>KK_CMR_TSLAUSD</code>).</td></tr><tr><td><code>bases</code></td><td>Base asset code.</td></tr><tr><td><code>quote</code></td><td>Quote currency of the rate.</td></tr><tr><td><code>price</code></td><td>Published rate; while a downgrade transition is being smoothed = <code>A + EMA(diff, τ)</code> (A = last published price of the outgoing, higher-priority source), otherwise the active source's price is passed through.</td></tr><tr><td><code>rateSource</code></td><td>Source of price. Possible values: <code>SPOT</code>, <code>FUTURES</code>, <code>PERPS</code>.</td></tr><tr><td><code>sessionState</code></td><td>Current status of calculation. Possible values: <code>LIVE</code> , <code>TRANSITION</code> (EMA smoothing applied due to the source change), <code>ILLIQUID</code> (rate source is perps).</td></tr><tr><td><code>spotRate</code></td><td>Spot rate block (source A).</td></tr><tr><td>   <mark style="color:$tint;"><code>.price</code></mark></td><td>Last valid spot rate (A).</td></tr><tr><td>   <mark style="color:$tint;"><code>.timestamp</code></mark></td><td>Timestamp of last valid P1 rate.</td></tr><tr><td>   <mark style="color:$tint;"><code>.sessionDetector</code></mark></td><td><p>Current market session of the underlying price feed. </p><p>Possible values: <code>INDEX_SESSION_DETECTOR_REGULAR_HOURS</code>, <code>INDEX_SESSION_DETECTOR_EARLY_HOURS</code>, <code>INDEX_SESSION_DETECTOR_LATE_HOURS</code>, <code>INDEX_SESSION_DETECTOR_OVERNIGHT</code>, <code>INDEX_SESSION_DETECTOR_CLOSED_HOURS</code>, <code>INDEX_SESSION_DETECTOR_UNKNOWN</code>.</p></td></tr><tr><td>   <mark style="color:$tint;"><code>.exchanges</code></mark></td><td>Contributing spot venue codes.</td></tr><tr><td>   <mark style="color:$tint;"><code>.details</code></mark></td><td>Per-pair breakdown: <code>pair</code>, <code>weight</code>, <code>instruments[]</code> — each with <code>partition</code>, <code>price</code>, <code>volume</code>, <code>count</code>, <code>underlyingTrade</code>.</td></tr><tr><td><code>futuresRate</code></td><td>Futures-based rate block</td></tr><tr><td>   <mark style="color:$tint;"><code>.price</code></mark></td><td>Last valid futures rate</td></tr><tr><td>   <mark style="color:$tint;"><code>.timestamp</code></mark></td><td>Timestamp of last valid futures rate.</td></tr><tr><td>   <mark style="color:$tint;"><code>.sessionDetector</code></mark></td><td>Current market session of the underlying price feed (same values as <code>spotRate.sessionDetector</code>).</td></tr><tr><td>   <mark style="color:$tint;"><code>.exchanges</code></mark></td><td>Contributing futures venue codes.</td></tr><tr><td>   <mark style="color:$tint;"><code>.details</code></mark></td><td>Per-pair breakdown (as above).</td></tr><tr><td><code>perpsRate</code></td><td>Perpetual futures rate block.</td></tr><tr><td>   <mark style="color:$tint;"><code>.price</code></mark></td><td>Current perps rate</td></tr><tr><td>   <mark style="color:$tint;"><code>.timestamp</code></mark></td><td>Timestamp of the current perps rate.</td></tr><tr><td>   <mark style="color:$tint;"><code>.exchanges</code></mark></td><td>Contributing perps venue codes.</td></tr><tr><td>   <mark style="color:$tint;"><code>.details</code></mark></td><td>Per-pair breakdown (as above).</td></tr><tr><td><code>emaSmoothing</code></td><td>EMA smoothing block; populated whenever the published price is being EMA-smoothed on a downgrade transition (any <code>rateSource</code>, e.g. <code>FUTURES_IMPLIED</code> or <code>PERPS</code>). Absent on instant upgrades and steady-state pass-through.</td></tr><tr><td>   <mark style="color:$tint;"><code>.emaCurrent</code></mark></td><td>Current EMA of <code>diff</code>.</td></tr><tr><td>   <mark style="color:$tint;"><code>.emaTimeConstant</code></mark></td><td>Active τ.</td></tr><tr><td>   <mark style="color:$tint;"><code>.Difference</code></mark></td><td><code>diff = B − A</code>.</td></tr><tr><td>   <mark style="color:$tint;"><code>.alpha</code></mark></td><td>Smoothing weight <code>α = 1 − exp(−Δt / τ)</code>.</td></tr><tr><td>   <mark style="color:$tint;"><code>.emaPrev</code></mark></td><td>EMA value at the previous tick (t−1).</td></tr><tr><td>   <mark style="color:$tint;"><code>.anchorSource</code></mark></td><td>Source providing the anchor price A (the outgoing higher-priority source), e.g. <code>SPOT</code>.</td></tr><tr><td><code>tsEvent</code></td><td>Publication time.</td></tr><tr><td><code>sequenceId</code></td><td>A sequence identifier.</td></tr><tr><td><code>endTime</code></td><td>End time of the data for the publication</td></tr></tbody></table>

## Request examples

{% tabs %}
{% tab title="cURL Stream" %}
**cURL requests are intended for testing purposes only.**

{% code overflow="wrap" %}

```url
grpcurl \
  -H "Authorization: Bearer $KAIKO_API_KEY" \
  -d '{
    "index_codes": ["KK_CMR_XAGUSD"]
  }' \
  gateway.equ.kaiko.io:443 \
  kaiko.equities.EquitiesService/StreamContinuousRate
```

{% endcode %}
{% endtab %}

{% tab title="cURL Replay" %}
**cURL requests are intended for testing purposes only.**

{% code overflow="wrap" %}

```url
grpcurl \
  -H "Authorization: Bearer $KAIKO_API_KEY" \
  -d '{
    "index_codes": ["KK_CMR_TSLAUSD"],
    "start_time":  "2026-04-27T20:04:32.000Z",
    "end_time":    "2026-04-27T20:04:33.000Z"
  }' \
  gateway.equ.kaiko.io:443 \
  kaiko.equities.EquitiesService/ReplayContinuousRate
```

{% endcode %}
{% endtab %}
{% endtabs %}

## Response Example

```json
{
    "indexCode": "KK_CMR_AMDUSD",
    "bases": [
      {
        "asset": "amd",
        "weight": 1
      }
    ],
    "quote": "usd",
    "price": 610.6669022407298,
    "rateSource": "PERPS",
    "sessionState": "ILLIQUID",
    "spotRate": {
      "price": 610.6666666666666,
      "timestamp": "2026-09-30T13:14:21Z",
      "sessionDetector": "INDEX_SESSION_DETECTOR_EARLY_HOURS",
      "exchanges": [
        "nutp",
        "boat",
        "wayn"
      ],
      "details": [
        {
          "pair": "amd-usd",
          "weight": 1,
          "instruments": [
            {
              "partition": "0",
              "price": 610.6666666666666,
              "volume": 300,
              "count": "1",
              "underlyingTrade": {
                "volume": 300,
                "exchange": "nutp",
                "id": "01a0f273-6dfe-7500-ad8c-38b947c01dc9",
                "datetime": "2026-09-30T13:14:06.178503Z"
              }
            },
            {
              "partition": "1",
              "price": 610.6666666666666,
              "volume": 300,
              "underlyingTrade": {
                "volume": 300,
                "exchange": "nutp",
                "id": "01a0f273-6dfe-7500-ad8c-38b947c01dc9",
                "datetime": "2026-09-30T13:14:06.178503Z"
              }
            },
            {
              "partition": "2",
              "price": 610.6666666666666,
              "volume": 300,
              "underlyingTrade": {
                "volume": 300,
                "exchange": "nutp",
                "id": "01a0f273-6dfe-7500-ad8c-38b947c01dc9",
                "datetime": "2026-09-30T13:14:06.178503Z"
              }
            },
            {
              "partition": "3",
              "price": 610.6666666666666,
              "volume": 300,
              "underlyingTrade": {
                "volume": 300,
                "exchange": "nutp",
                "id": "01a0f273-6dfe-7500-ad8c-38b947c01dc9",
                "datetime": "2026-09-30T13:14:06.178503Z"
              }
            },
            {
              "partition": "4",
              "price": 610.6666666666666,
              "volume": 300,
              "underlyingTrade": {
                "volume": 300,
                "exchange": "nutp",
                "id": "01a0f273-6dfe-7500-ad8c-38b947c01dc9",
                "datetime": "2026-09-30T13:14:06.178503Z"
              }
            }
          ]
        }
      ]
    },
    "futuresRate": {},
    "perpsRate": {
      "price": 611.514851086531,
      "timestamp": "2026-09-30T13:14:23Z",
      "exchanges": [
        "binc",
        "mexc",
        "okex"
      ],
      "details": [
        {
          "pair": "amd-usdt",
          "weight": 1,
          "instruments": [
            {
              "partition": "3",
              "price": 611.5398795180723,
              "volume": 97.68499999999997,
              "count": "28",
              "underlyingTrade": {
                "volume": 1.2449999999999999,
                "exchange": "binc",
                "id": "01a0f273-9e8d-7a5d-8a19-e4ddd67044cc",
                "datetime": "2026-09-30T13:14:18.637Z"
              }
            },
            {
              "partition": "2",
              "price": 611.4356030993408,
              "volume": 151.30000000000004,
              "count": "26",
              "underlyingTrade": {
                "volume": 43.235,
                "exchange": "mexc",
                "id": "01a0f273-8f48-7ddd-80dc-b7d87a189521",
                "datetime": "2026-09-30T13:14:14.728Z"
              }
            },
            {
              "partition": "1",
              "price": 611.4356030993408,
              "volume": 99.91000000000003,
              "count": "45",
              "underlyingTrade": {
                "volume": 43.235,
                "exchange": "mexc",
                "id": "01a0f273-876c-73fa-aaf8-c98ef2405777",
                "datetime": "2026-09-30T13:14:12.716Z"
              }
            },
            {
              "partition": "0",
              "price": 611.4356030993408,
              "volume": 207.61499999999998,
              "count": "97",
              "underlyingTrade": {
                "volume": 43.235,
                "exchange": "mexc",
                "id": "01a0f273-7b80-77d4-8a9e-bfbe490e0abb",
                "datetime": "2026-09-30T13:14:09.664Z"
              }
            },
            {
              "partition": "4",
              "price": 611.589925925926,
              "volume": 0.675,
              "underlyingTrade": {
                "volume": 0.675,
                "exchange": "binc",
                "id": "01a0f273-a1b8-7637-8080-b56e0ee531c1",
                "datetime": "2026-09-30T13:14:19.448Z"
              }
            }
          ]
        }
      ]
    },
    "emaSmoothing": {
      "emaCurrent": 0.00023557406316103421,
      "emaTimeConstant": 3600,
      "Difference": 0.8481844198644239,
      "alpha": 0.00027773920110285566,
      "emaPrev": 0,
      "anchorSource": "SPOT"
    },
    "tsEvent": "2026-09-30T13:14:24.000645507Z",
    "sequenceId": "daugmc5182ts73abuvhg",
    "endTime": "2026-09-30T13:14:24Z"
  },
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.kaiko.com/kaiko-indices/reference-rates-capital-market/subscribe-24-7-feed.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
