API reference
Base URLs, transports, versioning and the full reference for Time Seventeen REST, WebSocket, signed order frames, FIX 4.4 and BOE.
Base URLs
| Testnet | Live | |
|---|---|---|
| Gateway REST | https://api-testnet.timeseventeen.com | Announced at launch |
| WebSocket | wss://api-testnet.timeseventeen.com/v2/ws | Announced at launch |
| Site REST (catalog, candles, history) | https://testnet.timeseventeen.com/api | Announced at launch |
| Same-origin gateway proxy for browsers | https://testnet.timeseventeen.com/api/gw/v2/… | Announced at launch |
| FIX 4.4 / FIXT 1.1, BOE | By request | By request |
Live and testnet expose the same paths and formats. Only the host names differ.
Transports
- HTTPS: HTTP/1.1 and HTTP/2, TLS 1.2+. JSON responses; order submission is a binary body.
- WebSocket: one connection carries public data, private pushes and order entry.
- FIX: FIX 4.4 or FIXT 1.1 framing over TLS 1.3, one session per account.
- BOE: SBE messages (schema id 17, version 2) over TLS 1.3.
Versioning
Paths carry the major version (/v2). Additive changes (new fields, new event types) can appear at any time; clients must ignore unknown fields and events. Incompatible changes get a new path or schema version and are announced in advance.
Pages
| Page | Contents |
|---|---|
| Conventions | Units, ids, numbers, time |
| Authentication | Signing, frames, nonces, test vectors |
| REST | Every endpoint with examples |
| Order commands | Binary encoding of new, cancel, amend, cancel all, withdrawal |
| WebSocket | Operations, pushes, recovery |
| FIX | Session, messages and tags |
| BOE | SBE schema, messages, recovery |
| Errors | HTTP errors, refusals and reject reasons |