🔑API Key Management

An API key is required to make an authenticated API command. API keys (public and corresponding secret keys) can be generated via the OX.FUN GUI within a client's account.

If you wish to execute orders with your API Key, clients must select the Can Trade permission upon API key creation.

API keys are also only bound to a single sub-account, which is defined upon creation. This means an API key will only ever interact and return account information for a single sub-account.

Rate Limit

OX.FUN's APIs allow our clients to access and control their accounts or view our market data using custom-written software. To protect the performance of the system, we impose certain limits:

For both Rest API and Websocket API:

Type
Limit

Candles API

100 / min

Markets API

250 / min

Tickers API

250 / 10 mins

Funding Rates API

20 / min

Others

2500 / 5 mins

Last updated