API input

When interacting with Kaiko HTTP APIs, you are expected to pass two pieces of information in a header:

  • Accept: application/json: API responses will be in JSON format.

  • Accept-Encoding: gzip: All our endpoints benefit from use of compression.

curl --compressed -H 'Accept: application/json' 'https://<api_hostname>/<endpoint>'

Timestamp input

All time parameters are in UTC time zone and returned in the following ISO 8601 datetime format:

YYYY-MM-DDThh:mm:ss.sssZ

For example:

2017-12-17T13:35:24.351Z

The "T" separates the date from the time. The trailing "Z" indicates UTC time.

Exchange codes

Find exchange codes here: Exchanges.

Instrument codes

Find instrument codes here: Instruments.

Last updated