API reference
Request format
Last updated
The authenticated Tradesync resource API uses HTTP requests and returns JSON data. Send request bodies as JavaScript Object Notation (JSON), and include the Basic Authorization header with your Base64-encoded key:secret pair. GET requests use query parameters and do not need a JSON body.
All requests made to the API use the base URL:
https://api.tradesync.com/<endpoint>
Content type header for JSON request bodies
Content-Type: application/json
Required authentication header
Authorization: Basic <base64-encoded credentials>
Key and secret pairs can be generated and managed via the web application's API keys page.
Sample http request
GET /accounts HTTP/1.1
Authorization: Basic <base64-encoded key:secret>
Accept: */*
Host: api.tradesync.com
Accept-Encoding: gzip, deflate, br
Connection: keep-alive