For the complete documentation index, see llms.txt. This page is also available as Markdown.

Order Book Data

Get current order book data for a futures pair on PointPay Exchange.

Details

GET https://api.pointpay.io/fapi/v1/public/trade/order-book/{pair}

CURL Example
curl -X GET "https://api.pointpay.io/fapi/v1/public/trade/order-book/BTCUSDT" -H "accept: application/json"

Response parameters:

Name
Type
Description

s

STRING

Trading pair symbol

b

ARRAY

Bid levels as [price, size] pairs

a

ARRAY

Ask levels as [price, size] pairs

ts

NUMERIC

Response timestamp in milliseconds

u

NUMERIC

Update ID

seq

NUMERIC

Sequence number

cts

NUMERIC

Matching engine timestamp in milliseconds

Response example:

{
  "notification": null,
  "warning": null,
  "variables": null,
  "status": "000000",
  "response": {
    "s": "BTCUSDT",
    "b": [\
      [\
        "73988.5",\
        "3.608"\
      ],\
      [\
        "73988.4",\
        "0.001"\
      ],\
      [\
        "73987.2",\
        "0.003"\
      ],\
    ...\
    ],
    "a": [\
      [\
        "73988.6",\
        "3.464"\
      ],\
      [\
        "73988.7",\
        "0.001"\
      ],\
      ...\
    ],
    "ts": 1776640498623,
    "u": 17587500,
    "seq": 563697531117,
    "cts": 1776640498616
  },
  "errors": null
}

Response example:

This error occurs in the following cases:

  • Invalid URL

  • Request contains invalid headers

Response example:

This error occurs in the following cases:

  • The requested URL was not found

Last updated