---
title: "GET /private/get_leg_prices"
method: GET
path: "/private/get_leg_prices"
tags: ["Combo Books", "Private"]
---

# GET /private/get_leg_prices

`GET /private/get_leg_prices`

Returns individual leg prices for a given combo structure based on an aggregated price of the strategy and the mark prices of the individual legs.

**Note:** Leg prices change dynamically with mark price fluctuations, and the algorithm is calibrated only for conventional option structures and future spreads. This method supports both inverse strategies and known linear structures within a single currency pair.

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

## Query parameters

- `legs` object[], required
  - `instrument_name` string — Unique instrument identifier
  - `amount` number — It represents the requested order size. For perpetual and inverse futures the amount is in USD units. For options and linear futures it is the underlying base currency coin.
  - `direction` 'buy' | 'sell' — Direction: `buy`, or `sell`
- `price` number, required

## Response `200`

Success response

- PrivateGetLegPricesResponse
  - `jsonrpc` '2.0', required — The JSON-RPC version (2.0)
  - `id` integer — The id that was sent in the request
  - `result` object, required
    - `legs` object[]
      - `ratio` integer — Ratio of amount between legs
      - `instrument_name` string — Unique instrument identifier
      - `direction` 'buy' | 'sell' — Direction: `buy`, or `sell`
      - `price` number — Price for a leg
    - `amount` number — This value multiplied by the ratio of a leg gives trade size on that leg.

---

[API](https://skmtc.net/deribit/apis/deribit-api-2.md) · [All operations](https://skmtc.net/deribit/apis/deribit-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/deribit/deribit-api-2/revisions/8dfbbe9fdddf/schema)
