Market Data
Prices
- GET
https://api.poloniex.com/markets/price
- GET
https://api.poloniex.com/markets/{symbol}/price
/markets/price
: Get latest trade price for all symbols.
Response Field | Data Type | Description |
---|---|---|
symbol | String | symbol name |
price | String | current price |
time | Long | time the record was created |
dailyChange | String | daily change in decimal |
ts | Long | time the record was pushed |
Example output:
[
{
"symbol": "TRX_USDC",
"price": "0.06023436",
"time": 1648823320095,
"dailyChange": "0.0113",
"ts": 1649022802046
},
{
"symbol": "ELON_USDC",
"price": "0.0000007",
"time": 1648509468464,
"dailyChange": "-0.002",
"ts": 1649022801990
}
...
]
/markets/{symbol}/price
: Get latest trade price for a symbol.
Request Parameter | Data Type | Required | Description |
---|---|---|---|
symbol | String | true | symbol name |
Response fields are the same as /markets/price
.
Example output:
{
"symbol": "BTC_USDT",
"price": "38597.32",
"time": 1648866396349,
"dailyChange": "0.0102",
"ts": 1649052548178
}