JSON APIIntroduction
General information
- The base endpoint is: https://api.3xpl.com (API key is required)
- The base public sandbox endpoint is: https://sandbox-api.3xpl.com (API key is not required, rate limited, uptime is not guaranteed)
Access
- You need API token to access all endpoints.
- Security token should be sent with every HTTP request you make to the server.
- If the API keys were accidentally shared, please delete them immediately and regenerate it.
- There are 2 options to attach token:
- HTTP header:
Authorization: Bearer {token}
- GET parameter:
?token={token}
Responses
- Server return response as JSON object.
- Base response format:
{
"data": object or string,
"context": {
"code": int,
"request_cost": int,
"api": {
"version": string,
"notice": string
},
"time": float
}
}