Trading API

Meta

This document and the reference page, served by your broker.

GET/api/open/v1/openapi.json

#This OpenAPI document (no key needed)

No API key Trading API

Responses

200

OK

400

Bad request (invalid_json)

401

No / invalid / revoked / expired API key

403

Refused (IP, scope, brand switch, kill switch, account, inactive client)

404

Not found (also every path while the Open API is off on this server)

422

Invalid request or refused by the order checks (margin, levels, size, market closed ...)

429

Rate limited (Retry-After)

500

Internal error; unknown_outcome = look the order up before sending it again

503

Temporarily unavailable (prices, balance, quotes, rate-limit store)

curl "https://api.your-brand.com/api/open/v1/openapi.json"
Response 200
{}
GET/api/open/v1/docs

#This reference as an HTML page (no key needed)

No API key Trading API

Responses

200

OK

400

Bad request (invalid_json)

401

No / invalid / revoked / expired API key

403

Refused (IP, scope, brand switch, kill switch, account, inactive client)

404

Not found (also every path while the Open API is off on this server)

422

Invalid request or refused by the order checks (margin, levels, size, market closed ...)

429

Rate limited (Retry-After)

500

Internal error; unknown_outcome = look the order up before sending it again

503

Temporarily unavailable (prices, balance, quotes, rate-limit store)

curl "https://api.your-brand.com/api/open/v1/docs"
Response 200
OK