O
OKX API v5
Details
- URL
-
https://www.okx.com - Docs
- https://www.okx.com/docs-v5/en/
Authentication
OKX API key bundle (API key, secret key, and passphrase)
OK-ACCESS-KEY: <credential> + OKX API key bundle (API key, secret key, and passphrase) OK-ACCESS-SIGN: <credential> + OKX API key bundle (API key, secret key, and passphrase) OK-ACCESS-TIMESTAMP: <credential> + OKX API key bundle (API key, secret key, and passphrase) OK-ACCESS-PASSPHRASE: <credential> discovered Go to the OKX API page while signed in and create an API key. OKX documents that an API key consists of an api_key, secret_key, and passphrase; the Agent Trade Kit docs recommend starting with a demo or sub-account key and enabling only the permissions you need. For the Agent Trade Kit, run okx config init to create ~/.okx/config.toml, or manually place the three values there under a profile.