API
Documentation for the Variational public API
Last updated
Documentation for the Variational public API
Last updated
Navigate to the API settings page at https://pro.testnet.variational.io/app/settings
Add a descriptive label, create your key, and make sure to save the secret as it's only displayed once.
Note: if you have a lot of trades in the account, it might make multiple requests and significant amount of time to fetch all of them. See Pagination for potential debugging steps.
Client parameters:
key
: str (required) — your API key
secret
: str (required) — your API secret
base_url
: str (optional) — prefix of Variational API endpoints
request_timeout
: float (default=None) — timeout for individual HTTP requests
retry_rate_limits
: bool (default=True) — enables automatic retry on HTTP 429 errors
You can choose one of the two base URLs:
Visit the Endpoint Reference to learn which API calls are supported.
Read about the Pagination mechanism used by the Variational API.
Learn how Rate Limits and Authentication are applied to your calls.