Skip to main content
API requests should be authenticated by either adding a Bearer Authorization header:
Authorization: Bearer [TOKEN]
Or by adding the token as query parameter:
/v1/balances?token=[TOKEN]
For testing purposes, we have created a test client on the sandbox API endpoint with the following token:
e4910a5908c3163c3fe2c560da340b23
For example, querying the balances of this test client can done by browsing to the following url:
https://api.sandbox.forte.cc/v1/balances?token=e4910a5908c3163c3fe2c560da340b23
Or by using the following curl command:
cURL
curl --request GET \
  --url https://api.sandbox.forte.cc/v1/balances \
  --header "Authorization: Bearer e4910a5908c3163c3fe2c560da340b23"
Requesting a trade can done by using the following curl command:
cURL
curl --request POST \
  --url https://api.sandbox.forte.cc/v1/trades \
  --header "Authorization: Bearer e4910a5908c3163c3fe2c560da340b23" \
  --header "Content-Type: application/json" \
  --data '
{
  "instrument": "AUDF/USDT",
  "side":"sell",
  "price":"0.6",
  "amount":"1"
}
'