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

# Get Contracts

> List the contracts for a market and expiration date.



## OpenAPI

````yaml GET /contracts/markets/{market}/expirations/{expiry}/contracts
openapi: 3.1.0
info:
  title: Options API
  version: 1.0.0
  description: >-
    REST endpoints for Rails Options. Base URLs vary by environment — see the
    Environments page. Authorize with the access token obtained from the Auth
    API.
servers:
  - url: https://api-options.sandbox.rails.xyz
security:
  - bearerAuth: []
paths:
  /contracts/markets/{market}/expirations/{expiry}/contracts:
    get:
      summary: Get Contracts
      description: >-
        Lists the contracts for a given market and expiration date, including
        mark price, implied volatility, and Greeks.
      operationId: getOptionsContracts
      parameters:
        - name: market
          in: path
          required: true
          description: Underlying market, e.g. `BTC-USDT`.
          schema:
            type: string
        - name: expiry
          in: path
          required: true
          description: Expiration date, `YYYY-MM-DD`.
          schema:
            type: string
      responses:
        '200':
          description: Contracts for the expiry
          content:
            application/json:
              schema:
                type: object
                properties:
                  market:
                    type: string
                  expiryDate:
                    type: string
                  contracts:
                    type: array
                    items:
                      $ref: '#/components/schemas/Contract'
              example:
                market: BTC-USDT
                expiryDate: '2026-07-03'
                contracts:
                  - contractName: BTC-3JUL26-60000-C
                    underlying: BTC-USDT
                    strike: '60000'
                    optionType: C
                    expiryDate: '2026-07-03'
                    expiryType: WEEKLY
                    status: ACTIVE
                    markPrice: '1677.30'
                    bidPrice: '0'
                    askPrice: '0'
                    markIV: '0.3925'
                    bidIV: '0'
                    askIV: '0'
                    forward: '61665.1057145'
                    tickSize: '0.01'
                    contractSize: '1'
                    settlementType: CASH
                    delta: '0.9666'
                    gamma: '0.00008040'
                    vega: '1.7499'
                    theta: '-64.49'
                    rho: '-0.024469'
                  - contractName: BTC-3JUL26-60000-P
                    underlying: BTC-USDT
                    strike: '60000'
                    optionType: P
                    expiryDate: '2026-07-03'
                    expiryType: WEEKLY
                    status: ACTIVE
                    markPrice: '12.19'
                    bidPrice: '0'
                    askPrice: '0'
                    markIV: '0.3925'
                    bidIV: '0'
                    askIV: '0'
                    forward: '61665.1057145'
                    tickSize: '0.01'
                    contractSize: '1'
                    settlementType: CASH
                    delta: '-0.0334'
                    gamma: '0.00008040'
                    vega: '1.7499'
                    theta: '-64.49'
                    rho: '-0.000178'
                  - contractName: BTC-3JUL26-62000-C
                    underlying: BTC-USDT
                    strike: '62000'
                    optionType: C
                    expiryDate: '2026-07-03'
                    expiryType: WEEKLY
                    status: ACTIVE
                    markPrice: '149.16'
                    bidPrice: '0'
                    askPrice: '0'
                    markIV: '0.3035'
                    bidIV: '0'
                    askIV: '0'
                    forward: '61665.1057145'
                    tickSize: '0.01'
                    contractSize: '1'
                    settlementType: CASH
                    delta: '0.3222'
                    gamma: '0.00050170'
                    vega: '8.4473'
                    theta: '-240.74'
                    rho: '-0.002176'
                  - contractName: BTC-3JUL26-62000-P
                    underlying: BTC-USDT
                    strike: '62000'
                    optionType: P
                    expiryDate: '2026-07-03'
                    expiryType: WEEKLY
                    status: ACTIVE
                    markPrice: '484.05'
                    bidPrice: '0'
                    askPrice: '0'
                    markIV: '0.3035'
                    bidIV: '0'
                    askIV: '0'
                    forward: '61665.1057145'
                    tickSize: '0.01'
                    contractSize: '1'
                    settlementType: CASH
                    delta: '-0.6778'
                    gamma: '0.00050170'
                    vega: '8.4473'
                    theta: '-240.74'
                    rho: '-0.007062'
components:
  schemas:
    Contract:
      type: object
      properties:
        contractName:
          type: string
          description: Contract name, e.g. `BTC-19JUN26-62000-C`.
        underlying:
          type: string
        strike:
          type: string
        optionType:
          type: string
          description: '`C` (call) or `P` (put).'
        expiryDate:
          type: string
        expiryType:
          type: string
          description: '`WEEKLY` or `MONTHLY`.'
        status:
          type: string
          description: '`ACTIVE`, `EXPIRED`, or `SETTLED`.'
        markPrice:
          type: string
        bidPrice:
          type: string
        askPrice:
          type: string
        markIV:
          type: string
        bidIV:
          type: string
        askIV:
          type: string
        forward:
          type: string
        tickSize:
          type: string
        contractSize:
          type: string
        settlementType:
          type: string
          description: Settlement type, e.g. `CASH`.
        delta:
          type: string
        gamma:
          type: string
        vega:
          type: string
        theta:
          type: string
        rho:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````