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

# public/get_contract_size

> Retrieves the contract size (also known as contract multiplier) for a given instrument. The contract size is the value of one contract, expressed in the same unit as the order amount: USD for inverse (reversed) futures and perpetuals, and the base currency coin for options, spots, and linear futures and perpetuals.

This value is essential for calculating position values, margin requirements, and P&L calculations. Different instruments may have different contract sizes.

This is not the quantity increment used to validate order amounts. Use `min_trade_amount` from [public/get_instrument](https://docs.deribit.com/api-reference/market-data/public-get_instrument) / [public/get_instruments](https://docs.deribit.com/api-reference/market-data/public-get_instruments). On Starbase the same increment is named `qty_tick_size`. `contract_size` and `min_trade_amount` are not guaranteed to match.

Looks up by `instrument_name`, including combo IDs and expired or archivized instruments. Unknown names fail with `instrument not found`. The same field is included on the `public/get_instrument` object.

[Try in API console](https://test.deribit.com/api_console?method=%2Fpublic%2Fget_contract_size)





## OpenAPI

````yaml /specifications/deribit_upcoming_openapi.json get /public/get_contract_size
openapi: 3.0.0
info:
  title: Deribit API
  version: 2.1.1
servers:
  - url: https://test.deribit.com/api/v2
security: []
tags:
  - name: WebSocket Only
    description: Can only be used over websockets.
  - name: Public
    description: Public methods can be used without authentication.
  - name: Private
    description: >-
      <p>Private methods require authentication. All requests must include a
      valid OAuth2 token.</p>

      <p>A token can be requested using the <a
      href="#public-auth">/public/auth</a> method.</p>

      <p>When using the websockets protocol, the token must be included as a
      parameter <code>access_token</code> in the message. When using REST (HTTP
      GET), the token may also be passed in the <code>Authorization</code>
      header.</p>
  - name: Authentication
  - name: Session Management
  - name: Subscription Management
    description: >-
      Subscription works as [notifications](#notifications), so users will
      automatically (after subscribing) receive messages from the server.
      Overview for each channel response format is described in
      [subscriptions](#subscriptions) section.
  - name: Account Management
  - name: Trading
  - name: Market Data
  - name: Wallet
  - name: Chat
  - name: lsp
    description: >-
      Methods and notifications for the Liquidity Support Program (LSP), the
      mechanism that assigns risk from liquidated positions to designated LSP
      participant subaccounts before falling back to auto-deleveraging (ADL).
paths:
  /public/get_contract_size:
    get:
      tags:
        - Market Data
        - Public
      description: >+
        Retrieves the contract size (also known as contract multiplier) for a
        given instrument. The contract size is the value of one contract,
        expressed in the same unit as the order amount: USD for inverse
        (reversed) futures and perpetuals, and the base currency coin for
        options, spots, and linear futures and perpetuals.


        This value is essential for calculating position values, margin
        requirements, and P&L calculations. Different instruments may have
        different contract sizes.


        This is not the quantity increment used to validate order amounts. Use
        `min_trade_amount` from
        [public/get_instrument](https://docs.deribit.com/api-reference/market-data/public-get_instrument)
        /
        [public/get_instruments](https://docs.deribit.com/api-reference/market-data/public-get_instruments).
        On Starbase the same increment is named `qty_tick_size`. `contract_size`
        and `min_trade_amount` are not guaranteed to match.


        Looks up by `instrument_name`, including combo IDs and expired or
        archivized instruments. Unknown names fail with `instrument not found`.
        The same field is included on the `public/get_instrument` object.


        [Try in API
        console](https://test.deribit.com/api_console?method=%2Fpublic%2Fget_contract_size)

      parameters:
        - name: instrument_name
          required: true
          in: query
          schema:
            $ref: '#/components/schemas/instrument_name'
          description: Instrument name
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicGetContractSizeResponse'
          description: Success response
components:
  schemas:
    instrument_name:
      example: BTC-PERPETUAL
      type: string
      description: Unique instrument identifier
    PublicGetContractSizeResponse:
      properties:
        jsonrpc:
          type: string
          enum:
            - '2.0'
          description: The JSON-RPC version (2.0)
        id:
          type: integer
          description: The id that was sent in the request
        result:
          type: object
          properties:
            contract_size:
              $ref: '#/components/schemas/contract_size'
          required:
            - contract_size
      required:
        - result
        - jsonrpc
      type: object
    contract_size:
      example: 10
      type: number
      description: >
        Contract size for the instrument, expressed in the same unit as the
        order amount. For inverse (reversed) futures and perpetuals this is USD
        — BTC-PERPETUAL has a contract size of 10 USD. For options, spots, and
        for linear futures and perpetuals it is the base currency coin —
        BTC_USDC-PERPETUAL has a contract size of 0.0001 BTC. Note that on an
        inverse instrument `base_currency` identifies the underlying and
        settlement coin and does not indicate the unit of `contract_size`.


        Distinct from `min_trade_amount`. `contract_size` converts between
        `amount` and `contracts`. Starbase matching uses the quantity increment,
        which JSON-RPC exposes as `min_trade_amount` (Starbase REST name:
        `qty_tick_size`). The two values may currently coincide on some
        instruments, but that is not a guarantee.

````

## Related topics

- [public/get_instrument](https://docs.deribit.com/api-reference/upcoming/market-data/public-get_instrument.md)
- [public/get_instruments](https://docs.deribit.com/api-reference/upcoming/market-data/public-get_instruments.md)
- [public/get_delivery_prices](https://docs.deribit.com/api-reference/upcoming/market-data/public-get_delivery_prices.md)
- [public/get_funding_rate_value](https://docs.deribit.com/api-reference/upcoming/market-data/public-get_funding_rate_value.md)
- [Starbase Reference Data and Instrument Definitions](https://docs.deribit.com/starbase/reference-data.md)
