Provider API - API: GET Provider balance - GET Open Positions
Service providers can use the Provider API to be able to automatize some tasks, such as requesting the service balance and the open positions.
The API will be improving in the future with new EndPoints coming soon. For the moment, two endpoints are available, Provider balance and Open positions. You can now integrate it into your scripts or bots to be able to automatize the analysis of your service.
For Service Providers
1. GET Provider balance - With this EndPoint, you will be able to get the balance of the provider requested
2. GET Open Positions - With this EndPoint, you can get all the open positions of the provider requested
First, you can Authorize the service key here
After putting in your service key in the Value. Click on the Authorize button and then Close
Select the endpoint you want to call, and click on the Try it out button
An Execute button appears, click on it to make the call, and you'll get the response.
Lastly, to see the explanation of each parameter, you can click here
1. GET Provider balance
With this EndPoint, you can get the balance of the provider requested. To be able to contact the API, you don't need to log in, just to provide the key of the service you want to audit. It can be tested directly in the documentation.
curl -X GET "https://zignaly.com/new_api/provider_api/provider_balance" -H "accept: application/json" -H "X-PROVIDER-KEY: yourproviderkey"
2. GET Open Positions
With this EndPoint, you can collect all the opened positions for the provider requested. As the Provider Balance EndPoint, you don't need to login, just to provide the key of the service you want to audit
curl -X GET "https://zignaly.com/new_api/provider_api/open_positions" -H "accept: application/json" -H "X-PROVIDER-KEY: yourproviderkey"