Some endpoints will require an API Key. Please refer to this page request API key creation.
API Basic Information
The base endpoint is:https://api.treasureland.market
All endpoints return either a JSON object or array.
All-time and timestamp-related fields are in milliseconds.
HTTP Return Codes
HTTP 4XX return codes are used for malformed requests; the issue is on the sender's side.
HTTP 403 return code is used when the WAF Limit (Web Application Firewall) has been violated.
HTTP 429 return code is used when breaking a request rate limit.
HTTP 418 return code is used when an IP has been auto-banned for continuing to send requests after receiving 429 codes.
HTTP 5XX return codes are used for internal errors; the issue is on Treasureland's side. It is important to NOT treat this as a failure operation; the execution status is UNKNOWN and could have been a success.
Each AppKey request limit is 60 times per minute, if you need to increase the frequency, please contact Treasureland.