Market Buy and Sell Counts avatar

Market Buy and Sell Counts

Pricing

$0.05 / market buy and sell counts

Go to Apify Store
Market Buy and Sell Counts

Market Buy and Sell Counts

Retrieve historical market buy and sell counts for a trading pair, exchange and interval. Export timestamped observations as structured JSON.

Pricing

$0.05 / market buy and sell counts

Rating

0.0

(0)

Developer

Grass Tech

Grass Tech

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

Retrieve historical market buy and sell counts for a trading pair, exchange and interval. Export timestamped observations as structured JSON.

What this Actor does

Compare activity counts across the requested historical period. Each run is a bounded query, not a live feed.

Input

FieldTypeRequiredDescription
exchangestringYesExchange selector. Verified example: Binance.
symbolstringYesTrading-pair symbol. Verified example: BTCUSDT.
intervalstringYesQuery interval. Keep the spelling shown in the example; supported intervals depend on the query.
endTimestringYesEnd timestamp in Unix milliseconds, supplied as a string. The example uses a fixed historical timestamp, not the current time.
sizestringYesRequested number of observations, supplied as a string. Verified example: 10.
productTypestringYesMarket-type selector. Verified value: SWAP.

Example input

{
"endTime": "1789544653328",
"exchange": "Binance",
"interval": "1h",
"productType": "SWAP",
"size": "10",
"symbol": "BTCUSDT"
}

This input was used for the saved successful run on September 16, 2026. Historical timestamps are examples; update them for your desired period. Supported markets and data coverage depend on the selected parameters. Unsupported combinations can return empty data or errors.

Output

The observed response contains an outer code, success and data envelope, with a nested envelope in data. Its data array contains timestamped numeric rows. Preserve row positions and confirm market units before interpreting the values.

Example output

Abbreviated from the September 16, 2026 response. This is historical data, not a current quote. Rows, series and fields have been omitted for readability.

{
"code": "1",
"data": {
"code": "1",
"data": [
[
1789509600000,
91873,
87211
],
[
1789513200000,
56977,
57712
]
],
"success": true
},
"success": true
}

A successful run saves its JSON result under OUTPUT. Open the Output tab to inspect response status, fields and available timestamps.

Pricing

One request event is $0.05. Review the current Pricing panel and set a maximum run charge that covers the event. Check any platform usage displayed before starting.

How to run

  1. Review the required fields and update the example input.
  2. Check the current price and run budget.
  3. Start one run and wait for its final status.
  4. Open Output and inspect the response before using it in a report or workflow.

Scope and troubleshooting

Each run performs one data query. Data availability and freshness vary by market and query parameters. This Actor does not execute trades, move funds or maintain a live subscription.

If a run fails, inspect its status and log before retrying. For support, open an Actor Issue with the Run ID and sanitized input; omit credentials and private keys. Financial data is informational, not investment advice.