Skip to main content
POST
/
api
/
binance
/
trades
/binance/trades
curl --request POST \
  --url https://api.anysite.io/api/binance/trades \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "symbol": "<string>",
  "count": 500,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "BinanceTrade",
    "price": 123,
    "quantity": 123,
    "quote_quantity": 123,
    "traded_at": 123,
    "is_buyer_maker": true,
    "is_best_match": true
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
symbol
string
required

Trading pair symbol, uppercase, no separator

Examples:

"BTCUSDT"

"ETHUSDT"

count
integer
required

Number of recent trades to return

Required range: 1 <= x <= 1000
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:BinanceTrade
price
number | null
quantity
number | null
quote_quantity
number | null
traded_at
integer | null
is_buyer_maker
boolean | null
is_best_match
boolean | null