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
andx1
are timestamps in seconds andy0
andy1
are pricest0
is the timestamp of the area startadded_at
is the timestamp when the area was addedremoved_at
is the timestamp when the area was removed, otherwise -null