Call public endpoints

Practical guide into an easy start with Kuna's public endpoints

Call public endpoints

All public endpoints do not need authorization and body parameters to be sent. The headers config is pretty simple.

Header settings for public endpoints

The following headers config should work for any public endpoint:

HeaderValueDescription
acceptapplication/jsonThe client expects response data as JSON

Example. Get all trading pairs

Please open preferred API client, select GET method and call {{baseURL}}/v4/markets/public/getAll endpoint:

Alt text

No auth, no parameters, no body required for this request.
You should see something like this in your API client:

!!! Embed:
https://ttprivatenew.s3.amazonaws.com/pulse/dspro/attachments/20359756/TinyTake13-10-2022-03-11-50.mp4

Example. Get public order book for BTC_USDT

Please open preferred API client, select GET method and call {{baseURL}}/v4/order/public/book/BTC_USDT?level=5 endpoint:

Alt text

No auth and body required. We need to provide two parameters, though,- trading pair (1) and level (2).

You should see something like this in your API client:

!!! Embed:
https://ttprivatenew.s3.amazonaws.com/pulse/dspro/attachments/20360028/TinyTake13-10-2022-03-42-18.mp4