Skip to main content
Developers

Limits

Every number in one place. Limits marked key setting are chosen when the key is created; the rest are the same for everyone.

Per key

WhatLimitOver the limit
Read requests20 per second, bursts of 40429 rate_limited
Write requests5 per second, bursts of 10429 rate_limited
Share pictures (REST and MCP together)10 per minute, 5 at once429 rate_limited
Orders (opens, closes, cancels)Key setting: 30 per minute by default, up to 120429 order_rate_limited
Changes (stops, targets, prices, expiry)Key setting: 60 per minute by default, up to 240429 modification_rate_limited
Volume per orderKey setting: 1.00 lot by default422 volume_limit_exceeded
Open positions and pending ordersKey setting: 20 by default, up to 200422 position_limit_exceeded
Daily lossKey setting: 10% of the day's starting equity by default403 daily_loss_limit_reached
Stream connections2 (a third replaces the oldest)Oldest closes with 4409
Lifetime1–365 days, 90 by default; a rolled key's old secret works for 24 hours401 api_key_expired

Per account

WhatLimitOver the limit
Active API keys10Revoke one before creating another
Orders across all keys60 per minute429 order_rate_limited
Changes across all keys240 per minute429 modification_rate_limited

Per IP address

WhatLimitOver the limit
REST and MCP requests, all keys together50 per second, bursts of 100429 rate_limited

Per request

WhatRESTMCP
Request body64 KB64 KB
Instruments per quotes call5020
Candles per call1–2000, default 5001–500, default 100
How far back candles go (page back with to)M1–M30: from about March 2, 2026 (shares early February 2026); H1 and H4: from about November 2025 (shares January 2025); D1 and W1: from 2018 (cryptocurrencies 2020). See Candles.
Market alerts per call1–1000, default 100; at most 50 instruments1–50, default 10; at most 20 instruments
History windowUp to 90 days, default 7Up to 90 days, default 7
History page size1–1000, default 1001–200, default 50
Waiting for a held decision (wait)0–10 seconds, default 55 seconds
Idempotency-Key1–64 characters; remembered for 72 hours
comment / client_tag200 characters / 32 characters
Proposal lifetime10 minutes

Streaming

WhatLimit
Authenticating with an auth frameWithin 5 seconds of connecting
Quote instruments per connection100
Candle series per connection20
Alert instruments per connection100 (or alerts for every market)
Alerts sent on subscribeThe last 24 hours', at most 50
Quote updatesAt most 4 per second per instrument
Account updatesAt most 1 per second
Order event replay (since_seq)The last 5 minutes, including while you are disconnected
HeartbeatEvery 20 seconds
Frames you send16 KB
Unsent data before frames are skipped / the connection closes1 MB / 4 MB (order events are never skipped)

Security

After 10 failed authentications in a minute from one IP address, that address is blocked for 10 minutes.

Automated and AI-driven trading can lose money quickly; nothing in these docs is investment advice.

JAFX (PTY) LTD · FSCA FSP No. 52058 · Trading leveraged derivatives with JAFX carries a high risk of losing money rapidly. It is not suitable for everyone.