Skip to main content
GET
/
v1
/
{coin}
/
future
/
trade
/
latest
Latest Futures Trade
curl --request GET \
  --url https://api.polyhistorical.com/v1/{coin}/future/trade/latest \
  --header 'X-API-Key: <x-api-key>'
{
  "data.id": 123,
  "data.price": 123,
  "data.qty": 123,
  "data.quoteQty": 123,
  "data.time": 123,
  "data.isBuyerMaker": true
}

Latest Futures Trade

Returns the most recent Binance Futures trade for a supported coin.
Requires a Pro or Enterprise plan.

Request

https://api.polyhistorical.com/v1/{coin}/future/trade/latest

Headers

X-API-Key
string
required
Your API key. See Authentication.

Path parameters

coin
string
required
Coin symbol. Supported values: btc, eth, sol.

Response

data.id
integer
Binance trade ID.
data.price
number
Trade price rounded to 2 decimal places.
data.qty
number
Base quantity rounded to 5 decimal places.
data.quoteQty
number
Quote quantity rounded to 5 decimal places.
data.time
integer
Trade timestamp in UTC epoch milliseconds.
data.isBuyerMaker
boolean
Whether the buyer was the maker.

Example

cURL
curl -H "X-API-Key: YOUR_API_KEY" \
  "https://api.polyhistorical.com/v1/btc/future/trade/latest"

Response

{
  "data": {
    "id": 123456789,
    "price": 77593.69,
    "qty": 0.00123,
    "quoteQty": 95.44123,
    "time": 1779730000000,
    "isBuyerMaker": false
  }
}