OKX API Console
Send private REST requests with the credentials, base URL, and timestamp preferences saved in your OKX Session Configuration. Secrets stay in this tab unless you submit a request.
Loading session configuration…

Include the full REST path beginning with /. Query parameters can be supplied below.

Optional. Provide without a leading ?. Values are automatically encoded.

Controls the expected response media type. Defaults to JSON.

Not required for the selected method.

Bodies are ignored for GET and DELETE requests.

Session configuration

Credentials, base URL, timestamp preference, and simulated trading status load from your OKX Session Configuration. Update them from that page to change how requests are signed.

Response
Response metadata and payload from the most recent request appear here. Sensitive headers are shown for debugging only.
Submit a request to view the response payload and metadata.