Provider API

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.

https://zignaly.com/new_api/doc/provider_api

 

For Service Providers

API

Endpoint GET


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

     

    provider_api_1.png
  • Click on the Authorize button and then Close

     

    provider_API_4.png
  • Select the endpoint you want to call, and click on Try it out button

     

    provider_api_2.png
  • 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

     

    provider_API_2.png

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.

Example

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

Example

curl -X GET "https://zignaly.com/new_api/provider_api/open_positions" -H "accept: application/json" -H "X-PROVIDER-KEY: yourproviderkey"

 

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.