Basic Info
RESTful endpoint URL: https://api.pionex.com
General API information
timestamp
parameter inquery string
,PIONEX-KEY
andPIONEX-SIGNATURE
parameters in headers, are required in allPRIVATE
request
Parameter | Field | Type | Description |
timestamp | query | number | Request timestamp in millisecond. Any timestamp older than 20,000 milliseconds or in the future is invalid |
PIONEX-KEY | header | string | Account API Key. |
PIONEX-SIGNATURE | header | string | Signature.
|
For
GET
endpoint, additional parameter must be sent inquery string
For
POST
andDELETE
endpoints, additional parameter must be sent inrequest body
,content-type
should beapplication/json
0 value of all
number
type parameters will be ignored.
Response Message
Responses of all RESTful endpoints are JSON data, which contains
Parameters
Name | Type | Description |
result | boolean |
|
timestamp | number | Response timestamp (millisecond) |
A successful response will contain business data
Name | Type | Description |
data | object | Business data. |
Example:
Failed response contains
Name | Type | Description |
code | string | Error code (See description) |
message | string | Error message |
Example:
Error Code
APIKEY_LOST
SIGNATURE_LOST
IP_NOT_WHITELISTED
INVALIE_APIKEY
INVALID_SIGNATURE
APIKEY_EXPIRED
INVALID_TIMESTAMP
PERMISSION_DENIED
Last updated