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
GETendpoints, parameters must be sent as aquery string.For
POST,PUT, andDELETEendpoints, the parameters will be sent in therequest bodywith 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
intervalLettervalues for headers:SECOND => S
MINUTE => M
HOUR => H
DAY => D
intervalNumdescribes the amount of the interval. For example,intervalNum5 withintervalLetterM means "Every 5 minutes".The
/api/exchangeInforateLimitsarray contains objects related to the exchange'sRAW_REQUEST,REQUEST_WEIGHT, andORDERrate limits. These are further defined in theENUM definitionssection 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?