> ## Documentation Index
> Fetch the complete documentation index at: https://docs.amberdata.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Pressure

> Order book pressure is a market indicator that measures the relative balance between buy and sell orders. It is calculated as:  Order_Book_Pressure = (bid depth − ask depth) This metric provides insight into market sentiment by quantifying the dominance of buyers or sellers. A positive value indicates stronger bid depth, while a negative value signals sell-side dominance.



## OpenAPI

````yaml get /analytics/futures-perpetuals/depth/pressure
openapi: 3.1.0
info:
  title: derivatives-api
  version: '2'
servers:
  - url: https://api.amberdata.com/markets/derivatives
security:
  - sec0: []
paths:
  /analytics/futures-perpetuals/depth/pressure:
    get:
      summary: Pressure
      description: >-
        Order book pressure is a market indicator that measures the relative
        balance between buy and sell orders. It is calculated as: 
        Order_Book_Pressure = (bid depth − ask depth) This metric provides
        insight into market sentiment by quantifying the dominance of buyers or
        sellers. A positive value indicates stronger bid depth, while a negative
        value signals sell-side dominance.
      operationId: spot-analytics-order-book-depth-pressure
      parameters:
        - name: exchange
          in: query
          description: >-
            **[Required]** The exchange for which to retrieve listed futures or
            perpetual instruments.

            **[Examples]** ` deribit | okex | binance | binanceus`
          required: true
          schema:
            type: string
            default: deribit
        - name: instrument
          in: query
          description: |-
            **[Required]** The futures or perpetual instrument.
            **[Examples]** ` BTC-PERPETUAL `
          required: true
          schema:
            type: string
            default: BTC-PERPETUAL
        - name: startDate
          in: query
          description: >-
            **[Optional]** Payload only includes data after this date
            (inclusive).

            **[Formats]** `seconds | milliseconds | iso8601` 

            **[Examples]** `1578531600 | 1578531600000 | 2025-02-27`
          schema:
            type: string
        - name: endDate
          in: query
          description: >-
            **[Optional]** Payload only includes data up to this date
            (exclusive).

            **[Formats]** `seconds | milliseconds | iso8601` 

            **[Examples]** `1578531600 | 1578531600000 | 2025-02-28`
          schema:
            type: string
        - name: timeFormat
          in: query
          description: >-
            **[Optional]** Time format of the timestamps in the return payload. 

            **[Defaults]** `milliseconds | ms* | iso | iso8601 | hr |
            human_readable`
          schema:
            type: string
            default: hr
      responses:
        '200':
          description: '200'
          content:
            application/json:
              examples:
                Result:
                  value:
                    status: 200
                    title: OK
                    description: Successful request
                    payload:
                      data:
                        - exchange: deribit
                          midPrice: 84297.735
                          instrument: BTC-PERPETUAL
                          pressure005Net: 3.80466251
                          pressure005Percentage: 13.333760348234334
                          pressure005TotalSize: 28.53405499
                          pressure025Net: -2.7184777299999467
                          pressure025Percentage: -2.157767634675136
                          pressure025TotalSize: 125.98565695000003
                          pressure050Net: 0.5284337700000776
                          pressure050Percentage: 0.29330641402634117
                          pressure050TotalSize: 180.16440988999997
                          pressure100Net: -0.6416217599998504
                          pressure100Percentage: -0.20727994616122
                          pressure100TotalSize: 309.54357711999995
                          pressure200Net: 14.13135428000004
                          pressure200Percentage: 3.975967811253675
                          pressure200TotalSize: 355.41923251999964
                          pressure300Net: 30.990556530000077
                          pressure300Percentage: 7.110619364599486
                          pressure300TotalSize: 435.8348399899993
                          pressure400Net: 24.651642440000273
                          pressure400Percentage: 4.895576417323962
                          pressure400TotalSize: 503.5493338999995
                          pressure500Net: 24.744126750000305
                          pressure500Percentage: 4.430437047235998
                          pressure500TotalSize: 558.50306609
                          timestamp: 2025-03-01 00:00:00 000
              schema:
                type: object
                properties:
                  status:
                    type: integer
                    example: 200
                  title:
                    type: string
                    example: OK
                  description:
                    type: string
                    example: Successful request
                  payload:
                    type: object
                    properties:
                      data:
                        type: array
                        items:
                          type: object
                          properties:
                            exchange:
                              type: string
                              example: deribit
                              description: The subject exchange
                            midPrice:
                              type: number
                              example: 84297.735
                              description: The mid-price between BBO
                            instrument:
                              type: string
                              example: BTC-PERPETUAL
                              description: The subject instrument
                            pressureXXXNet:
                              type: number
                              example: 3.80466251
                              description: >-
                                The size imbalance between bid depth - ask depth
                                XXX bps away from BBO
                            pressureXXXPercentage:
                              type: number
                              example: 13.333760348234334
                              description: >-
                                The size imbalance, as a percentage of total
                                size, between bid depth - ask depth XXX bps away
                                from BBO
                            pressureXXXTotalSize:
                              type: number
                              example: 28.53405499
                              description: >-
                                The total size of bid depth + ask depth XXX bps
                                away from BBO
                            timestamp:
                              type: string
                              example: 2025-03-01 00:00:00 000
                              description: The observation timestamp
        '400':
          description: '400'
          content:
            application/json:
              examples:
                Result:
                  value: {}
              schema:
                type: object
                properties: {}
      deprecated: false
      security:
        - ApiKeyAuth: []
components:
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key

````