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

# Market Data Request

> FIX message to request market data for a specific symbol.

Request market data for a specific symbol. Note that exactly one of either Depth, or SizeBucket must be specified. For example, specifying both Depth and SizeBuckets will result in an error.

<Tabs>
  <Tab title="FIX Specification">
    <ParamField path="header" type="" required> MsgType <code>V</code> </ParamField>

    <ParamField path="262 - MDReqID" type="string" required>
      Must be unique, or the ID of previous Market Data Request to disable if SubscriptionRequestType(263) = 2 (Disable previous Snapshot + Updates Request).
    </ParamField>

    <ParamField path="263 - SubscriptionRequestType" type="integer" required>
      Subscription type for market data.

      <ul>
        <b>Possible values: </b>
        <li><code>0</code> : Snapshot</li>
        <li><code>1</code> : Snapshot + Updates (Subscribe)</li>
        <li><code>2</code> : Unsubscribe</li>
      </ul>
    </ParamField>

    <ParamField path="264 - MarketDepth" type="integer">
      Depth of market for Book Snapshot / Incremental updates. Exactly one of tag 264 or tag 20020 must be specified.

      <ul>
        <b>Possible values: </b>
        <li><code>0</code> : Full book depth</li>
        <li><code>1</code> : Top of book</li>
        <li><code>2 and above</code> : Book depth (number of levels)</li>
      </ul>
    </ParamField>

    <ParamField path="1070 - MDQuoteType" type="integer">
      Type of liquidity to be included.

      <ul>
        <b>Possible values: </b>
        <li><code>0</code> : Indicative</li>
        <li><code>1</code> : Tradeable (i.e., Firm)</li>
      </ul>
    </ParamField>

    <ParamField path="20020 - NoSizeBucketsSegments" type="integer">
      A list of sizes to return price levels for. Used to ask for prices of aggregated sizes. Exactly one of tag 264 or tag 20020 must be specified. Only supported with MDUpdateType(265) = 0 (Full refresh).
    </ParamField>

    <ParamField path="20021 - SizeBucket" type="float">
      Identifies a single size bucket. Required if NoSizeBucketsSegments is used.
    </ParamField>

    <ParamField path="55 - Symbol" type="string" required>
      The symbol of the currency pair to subscribe to. For example, BTC-USD.
    </ParamField>

    <ParamField path="trailer" type="" required />
  </Tab>

  <Tab title="Example">
    ```text theme={null}
    8=FIX.4.4|9=186|35=V|34=2|49=CUSTOMER_MD|52=20220930-13:28:06.146|56={{ Customer }}|262=id-220929160342682-26|263=1|264=0|265=0|1070=1|146=1|55=ETH-USD|267=2|269=0|269=1|20020=4|20021=1|20021=2|20021=5|20021=10|10=226|
    ```
  </Tab>
</Tabs>
