Understanding the slot
and api-key
Parameters
slot
and api-key
ParametersBefore using the API endpoints, it's essential to understand two key parameters: slot
and api-key
. These parameters are required in every request and ensure that your application accesses the correct data.
🔹What is api-key
?
api-key
?The api-key
is your access token for authenticating API requests. It ensures that only authorized users can interact with the API.
How do I get my api-key
?
The default value used in the examples (api-key: Sl293kk22ss8
) is the same value you should use for your requests. You do not need to generate or request a new key—simply copy and paste the provided value into your API calls.
🔹 What is slot
?
slot
?The slot
parameter identifies the tenant (client) within the system. Each tenant has its own isolated environment, meaning that API calls must be directed to the correct slot
to retrieve the appropriate data.
How do I get myslot
value?
You need to request the correct slot
value from your account manager. Without this value, your requests may not work as expected.
📌 Example:
If your account manager provides you with slot: yourSlotHere
, you must include this in your API requests like this:
curl --request GET \
--url 'https://symbol-prices-api.mybroker.dev/symbol-price/last?pair=BTCUSDT&slot=yourSlotHere' \
--header 'api-key: Sl293kk22ss8'