Skip to main content

Rate Limit

Rate Limit​

Key takeaways
  • This page lists Web API and WebSocket rate limits for Fubon Neo API Market Data.
  • Exceeding limits returns 429 or WebSocket subscription errors.
  • Rapid connection bursts may be blocked.
ItemLimit
Intraday300 / min
Snapshot300 / min
Historical60 / min
WebSocket300 subscriptions per connection; 7 connections

Fubon Neo API Market Data provides Web API and WebSocket with the following access restrictions.

  • Intraday : 300 / min
  • WebSocket : 300 Subscription;7 Connection
  • Snapshot : 300 / min
  • Historical : 60 / min

If your API requests exceed the limit, you will receive a response with status code 429. Please wait for 1 minute before making additional requests.

{"statusCode":429,"message":"Rate limit exceeded"}

If your WebSocket subscriptions exceed the upper limit, you will receive the following message:

{
"event": "error",
"code": 1001,
"data": {
"message": "Subscription limit exceeded"
}
}

If the number of concurrent WebSocket connections exceeds the limit, the new connection receives the following message and is then closed by the server (close code 1013):

{
"event": "error",
"code": 1003,
"data": {
"message": "Maximum number of connections reached"
}
}
caution

If a large number of Socket connections are established within a short period, the system will consider it a malicious attack and block your connection requests (404 Not Found error). If you encounter this situation, please contact pm.trading.sec@fubon.com.