LogoLogo
  • Kaiko Knowledge Hub
  • GETTING STARTED
    • About Kaiko Indices
    • General information
      • API Key
      • Timestamps
      • Index codes
  • Benchmarks: Single-Asset Reference Rates
    • Subscribe
    • Reference data
    • Historical prices
    • FOREX conversion
    • Replication data
  • Benchmarks: Indices
    • Subscribe
  • Customized Indices
    • Valour - CDF Index
Powered by GitBook
On this page
  • What is this endpoint for?
  • Endpoint
  • Path Parameters
  • Query Parameters
  • Fields
  • Request examples
  • Response example

Was this helpful?

Export as PDF
  1. Benchmarks: Single-Asset Reference Rates

Historical prices

PreviousReference dataNextFOREX conversion

Last updated 2 days ago

Was this helpful?

What is this endpoint for?

This endpoint returns our historical values for our Reference Rates. To subscribe to the live rate, please use . More information on the rates and its methodology can be found .

Endpoint

https://us.market-api.kaiko.io/v2/data/index.v1/digital_asset_rates_price/{index_code}

Path Parameters

Parameter
Required
Description
Example

index_code

Yes

The desired rate ticker

KK_BRR_BTCUSD

Query Parameters

Parameter
Required
Description
Example

start_time

Yes

Starting time in ISO 8601 (inclusive).

2023-01-25T00:00:00.000Z

end_time

Yes

Ending time in ISO 8601 (exclusive).

2023-01-26T00:00:00.000Z

parameters

No

boolean. If true, returns the underlying composition data of the rate such as exchanges and calculation window Default: false

detail

No

boolean. If true, returns the underlying partition data for each publication Default: false

page_size

No

Automatically included in continuation tokens.

continuation_token

No

sort

No

Return the data in ascending (asc) or descending (desc) order. Default desc

Automatically included in continuation tokens.

Fields

Field
Description
Example

interval_start

Starting timestamp of calculation window

2023-01-25T01:01:00.000Z

interval_end

Ending timestamp of calculation window

2023-01-25T01:02:00.000Z

price

Price of the reference rate at interval_end

67685.61363636363

parameters

Underlying composition data of the rate such as exchanges and calculation window

'asset': 'btc',

'exchanges': ['cbse', 'gmni', 'krkn', 'lmax', 'stmp'],

'calc_window': 300

detail

Underlying partition data for each publication including price, volume, trade count and underlying data of the trade selected from the partition.

'partition': 0,

'price': 67678,

'volume': 5.14445852,

'count': 125,

'underlying_trade': {'datetime': '2024-10-27T15:55:17.334Z',

'exchange': 'stmp',

'volume': 0.20137745,

'id': '366038625'}

Request examples

curl -X GET "https://us.market-api.kaiko.io/v2/data/index.v1/digital_asset_rates_price/KK_BRR_BTCUSD_LDN" \
  -H "X-API-KEY: $KAIKO_API_KEY" \
  -H "accept: application/json" \
  -G \
  --data-urlencode "start_time=2024-10-27T00:00:00.000Z" \
  --data-urlencode "end_time=2024-10-28T00:00:00.000Z" \
  --data-urlencode "parameters=True" \
  --data-urlencode "detail=True"

Response example

(min: 1, default: 100, max: 100000). See

See

Pagination
Pagination
here
Kaiko Stream