Skip to content

Pagination

Justin edited this page Jul 11, 2018 · 1 revision

Some of the v2 API endpoints will return paginated data.

{ success: true,
  errorCode: null,
  errorMessage: null,
  trades: 
   [ { id: 698080,
       creationTime: 1516140997301,
       description: null,
       price: 1200000000,
       volume: 5000000,
       side: 'Ask',
       fee: 509999,
       orderId: 698068 },
     { id: 698065,
       creationTime: 1516140900487,
       description: null,
       price: 1300000000,
       volume: 20000000,
       side: 'Bid',
       fee: 2209997,
       orderId: 698052 } ],
  paging: 
   { newer: '/v2/order/trade/history/ETH/AUD?limit=10&since=698080&indexForward=true',
     older: '/v2/order/trade/history/ETH/AUD?limit=10&since=698065&indexForward=false' } }

To retrieve the paginated data in either direction, simply use the URIs that are provided as the URI for your next request. Authentication will still be needed for private APIs.

Introduction updated 9/28/18

Authentication

Pagination

WebSocket v2

WebSocket v1 deprecated

Market Data API updated 7/24/19

Trading API updated 08/19/19

Transaction API

Account API updated 3/14/19

Fund Transfer API updated 08/06/19

FAQ

Clone this wiki locally