Skip to content

Getting Started

Documentation for https://paapi.io.

Coverage

Binance USDⓈ Futures pairs since July 2024 (1 day candles).

API Endpoints

List pairs:

wget https://paapi.io/v1/pairs

{
  "items": [
    {
      "slug": "ASTRUSDT",
      "is_active": true
    }, {
      "slug": "DOTUSDT",
      "is_active": true
    }
  ]
}

List areas:

wget https://paapi.io/v1/pairs/ASTRUSDT/areas

{
  "items": [
    {
      "type": "support",
      "t0": 1704672000,
      "a0": "-0.00000000369658",
      "b0": "6.41549",
      "a1": "-0.00000000369658",
      "b1": "6.41302",
      "added_at": 1720347736,
      "removed_at": 1722831278
    }, {
      "type": "resistance",
      "t0": 1704240000,
      "a0": "0",
      "b0": "0.192601",
      "a1": "0",
      "b1": "0.191159",
      "added_at": 1720347736,
      "removed_at": 1728266672
    }
  ]
}

Each area consists of two lines:

y0 = x0 * a0 + b0
y1 = x1 * a1 + b1

Where:

  • x0 and x1 are timestamps in seconds and y0 and y1 are prices
  • t0 is the timestamp of the area start
  • added_at is the timestamp when the area was added
  • removed_at is the timestamp when the area was removed, otherwise - null

Get Help