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

Chart Data Kline

Get candlestick chart data for a futures pair on PointPay Exchange.

Details

GET https://api.pointpay.io/fapi/v1/public/trade/kline

Query Parameters

Name
Type
Description
Example

symbol*

STRING

Symbol name, uppercase only

BTCUSDT

interval*

STRING

Time interval (1,3,5,15,30,60,120,240,360,720,D,W,M)

1

start

NUMERIC

Start time (unixtime, ms)

1660638764

end

NUMERIC

End time (unixtime, ms)

1660818764

limit

NUMERIC

Limit for data size per page. [1, 1000]. Default: 200

200

CURL Example
curl -X GET "https://api.pointpay.io/fapi/v1/public/trade/kline?symbol=BTCUSDT&interval=1" -H "accept: application/json"

Response parameters:

Each item in response contains:

Name
Type
Description

[0]

STRING

Candle open time in milliseconds

[1]

STRING

Open price

[2]

STRING

High price

[3]

STRING

Low price

[4]

STRING

Close price

[5]

STRING

Trading volume

[6]

STRING

Turnover

Response example:

{
  "notification": null,
  "warning": null,
  "variables": null,
  "status": "000000",
  "response": [
    [
      "1776641280000",
      "73880.4",
      "73890.5",
      "73853",
      "73870.5",
      "8.74",
      "645664.9228"
    ],
    [
      "1776641220000",
      "73876.4",
      "73887.5",
      "73856.8",
      "73880.4",
      "10.057",
      "742947.8511"
    ],
    ...
  ],
  "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