Authentication

SRECTrade API requires bearer tokens authentication to be used to access the API.

Getting your API key

To get your API key, login to SRECTrade.com and visit the API Access page.

Under the section "SRECTrade Internal API", click the button "Generate Key" to generate a private API key.

Authenticate

When calling any SRECTrade API endpoints, use the API key to set the Bearer Token authentication header.

Copy
Copied
curl "https://www.srectrade.com/app/api/v1/"
  -H "Authorization: Bearer yourAccessToken"