General API Information
General API Information
The base endpoint is: https://exchange.bartertrade.io/api
All endpoints return either a JSON object or array.
Data is returned in ascending order. Oldest first, newest first.
All time and timestamp related fields are in milliseconds.
Precision is 8 digits.
General Information on Endpoints
For
GET
endpoints, parameters must be sent as aquery string
.For
POST
,PUT
, andDELETE
endpoints, the parameters will be sent in therequest body
with content type application/jsonParameters may be sent in any order.
We will block API hits (API limit) over time, an update available in ./api/v2
General Info on Limits
The following
intervalLetter
values for headers:SECOND => S
MINUTE => M
HOUR => H
DAY => D
intervalNum
describes the amount of the interval. For example,intervalNum
5 withintervalLetter
M means "Every 5 minutes".The
/api/exchangeInfo
rateLimits
array contains objects related to the exchange'sRAW_REQUEST
,REQUEST_WEIGHT
, andORDER
rate limits. These are further defined in theENUM definitions
section underRate limiters (rateLimitType)
.A 429 will be returned when either rate limit is violated.
The limits on the API are based on the the API keys.
Last updated
Was this helpful?