GET
/
trade
/
pressure
Trade Pressure
curl --request GET \
  --url https://api.amberdata.com/markets/spot/analytics/trade/pressure \
  --header 'x-api-key: <api-key>'
{
  "status": 200,
  "title": "OK",
  "description": "Successful request",
  "payload": {
    "data": [
      {
        "close": 83622.17,
        "exchange": "gdax",
        "high": 86491.4,
        "low": 83592.77,
        "netBuyTradeCount": 64529,
        "netBuyVolumeCoin": 2.5356237300000544,
        "netBuyVolumeUsd": 516634.4543056437,
        "open": 84590.37,
        "orderSizeCategoryUsd": "All",
        "pair": "btc_usd",
        "timestamp": "2025-04-15 00:00:00 000",
        "totalVolumeCoin": 6461.770244209999,
        "totalVolumeUsd": 549390273.3037565
      },
      {
        "close": 83603.53,
        "exchange": "gdax",
        "high": 83622.52,
        "low": 83593.72,
        "netBuyTradeCount": -20,
        "netBuyVolumeCoin": -2.2689633999999996,
        "netBuyVolumeUsd": -189697.15606547246,
        "open": 83610.81,
        "orderSizeCategoryUsd": "All",
        "pair": "btc_usd",
        "timestamp": "2025-04-16 00:00:00 000",
        "totalVolumeCoin": 5.332700320000002,
        "totalVolumeUsd": 445841.5172556046
      }
    ],
    "metadata": {
      "api-version": "2023-09-30"
    }
  }
}

Authorizations

x-api-key
string
header
required

Query Parameters

exchange
string
default:gdax

[Optional] The exchange for which to retrieve listed spot instruments. [Examples] gdax | okex | binance | binanceus

pair
string
default:btc_usd
required

[Required] The currency pair for the spot instrument. [Examples] btc_usd | btc_usdc | eth_usd

fuzzyMatch
boolean
default:false
required

[Required] This parameter allows users to return either a specific pair, such as btc_usd, when set to FALSE, or return every pair related to an underlying asset, such as BTC, when set to TRUE (ex: btc_eur, btc_usd, btc_usdt, etc)

orderSizeCategoryUsd
string

[Optional] Users can specify to return all aggregated trades or only trades that fit a specific size threshold (0-1k, 1k-10k, 10k-100k, 100k+, ALL). Users can specify by passing the lower threshold flag 0 | 1k | 10k | 100k | All

startDate
string
default:2025-04-15

[Optional] Payload only includes data after this date (inclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2025-02-27

endDate
string
default:2025-04-16

[Optional] Payload only includes data up to this date (exclusive). [Formats] seconds | milliseconds | iso8601 [Examples] 1578531600 | 1578531600000 | 2025-02-28

timeInterval
string

[Optional] Time interval of data frequency for the selected date range. [Examples] minute | hour | day

timeFormat
string
default:hr

[Optional] Time format of the timestamps in the return payload. [Defaults] milliseconds | ms* | iso | iso8601 | hr | human_readable

Response

200
application/json

200

The response is of type any.