ThetaData Index API

The Index API from ThetaData — 10 operation(s) for index.

OpenAPI Specification

thetadata-index-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Theta Data v3 At-Time Index API
  description: Real-time and historic stock, options, and index data!
  version: 3.0.0
  x-java-package: net.thetadata.generated
servers:
- url: http://127.0.0.1:25503/v3
  description: dev
security: []
tags:
- name: Index
paths:
  /index/list/symbols:
    x-concurrent-limit-ttl-ms: '334'
    x-min-subscription: free
    get:
      summary: Symbols
      operationId: index_list_symbols
      x-codeSamples:
      - lang: Python
        label: pandas
        source: 'from thetadata import ThetaClient


          client = ThetaClient(dataframe_type=''pandas'')

          df = client.index_list_symbols()

          '
      - lang: Python
        label: polars
        source: 'from thetadata import ThetaClient


          client = ThetaClient(dataframe_type=''polars'')

          df = client.index_list_symbols()

          '
      tags:
      - Index
      description: 'A symbol can be defined as a unique identifier for a stock / underlying asset. Common terms also include: root, ticker, and underlying. This endpoint returns all traded symbols for options. This endpoint is updated overnight.

        '
      x-sample-urls:
      - url: http://127.0.0.1:25503/v3/index/list/symbols
        description: List all symbols for indices
      - url: http://127.0.0.1:25503/v3/index/list/symbols?format=html
        description: Click to open in browser (HTML)
      parameters:
      - $ref: '#/components/parameters/format'
      responses:
        '200':
          description: List all symbols for indices
          content:
            text/csv:
              schema:
                type: array
                items: &id001
                  type: object
                  properties:
                    symbol:
                      type: string
                      description: The symbol of the contract, or stock / underlying asset / option / index.
              example: "symbol\r\nAASGI\r\nAASUS\r\nACNAC\r\nACNIT\r\nACNRE\r\n"
            application/json:
              schema: &id002
                type: array
                items: *id001
              example: "{\n  \"response\": [\n    {\"symbol\":\"AASGI\"},\n    {\"symbol\":\"AASUS\"},\n    {\"symbol\":\"ACNAC\"},\n    {\"symbol\":\"ACNIT\"},\n    {\"symbol\":\"ACNRE\"}\n  ]\n}\n"
            application/x-ndjson:
              schema: *id002
              example: '{"symbol":"AASGI"}

                {"symbol":"AASUS"}

                {"symbol":"ACNAC"}

                {"symbol":"ACNIT"}

                {"symbol":"ACNRE"}'
            python/pandas:
              schema: *id002
              example: "symbol\n0               \n1      .MSDXUTPU\n2       1500GNTR\n3         1500PG\n4       1500PGTR\n...          ...\n13195    ZRX200K\n13196    ZRX3KRP\n13197      ZSLIV\n13198     ZVOLIV\n13199        ZYA\n\n[13200 rows x 1 columns]\n"
            python/polars:
              schema: *id002
              example: 'shape: (13_200, 1)

                ┌───────────┐

                │ symbol    │

                │ ---       │

                │ str       │

                ╞═══════════╡

                │           │

                │ .MSDXUTPU │

                │ 1500GNTR  │

                │ 1500PG    │

                │ 1500PGTR  │

                │ …         │

                │ ZRX200K   │

                │ ZRX3KRP   │

                │ ZSLIV     │

                │ ZVOLIV    │

                │ ZYA       │

                └───────────┘

                '
  /index/list/dates:
    x-concurrent-limit-ttl-ms: '12'
    x-min-subscription: free
    get:
      summary: Dates
      operationId: index_list_dates
      x-codeSamples:
      - lang: Python
        label: pandas
        source: 'from thetadata import ThetaClient


          client = ThetaClient(dataframe_type=''pandas'')

          df = client.index_list_dates(symbol=[''SPX''])

          '
      - lang: Python
        label: polars
        source: 'from thetadata import ThetaClient


          client = ThetaClient(dataframe_type=''polars'')

          df = client.index_list_dates(symbol=[''SPX''])

          '
      tags:
      - Index
      description: 'Lists all dates of data that are available for a index with a given request type and symbol. This endpoint is updated overnight.

        '
      x-sample-urls:
      - url: http://127.0.0.1:25503/v3/index/list/dates?symbol=SPX
        description: List all dates for a index for a given symbol
      - url: http://127.0.0.1:25503/v3/index/list/dates?symbol=SPX&format=html
        description: Click to open in browser (HTML)
      parameters:
      - $ref: '#/components/parameters/multi_symbol'
      - $ref: '#/components/parameters/format'
      responses:
        '200':
          description: List all dates for a index for a given symbol
          content:
            text/csv:
              schema:
                type: array
                items: &id003
                  type: object
                  properties:
                    date:
                      type: string
                      format: date
                      description: The date formated as YYYY-MM-DD.
              example: "date\r\n2023-04-17\r\n2023-04-18\r\n2023-04-19\r\n2023-04-20\r\n2023-04-21\r\n"
            application/json:
              schema: &id004
                type: array
                items: *id003
              example: "{\n  \"response\": [\n    {\"date\":\"2023-04-17\"},\n    {\"date\":\"2023-04-18\"},\n    {\"date\":\"2023-04-19\"},\n    {\"date\":\"2023-04-20\"},\n    {\"date\":\"2023-04-21\"}\n  ]\n}\n"
            application/x-ndjson:
              schema: *id004
              example: '{"date":"2023-04-17"}

                {"date":"2023-04-18"}

                {"date":"2023-04-19"}

                {"date":"2023-04-20"}

                {"date":"2023-04-21"}'
            python/pandas:
              schema: *id004
              example: 'date

                0     2017-01-03

                1     2017-01-04

                2     2017-01-05

                3     2017-01-06

                4     2017-01-09

                ...          ...

                2335  2026-04-20

                2336  2026-04-21

                2337  2026-04-22

                2338  2026-04-23

                2339  2026-04-24


                [2340 rows x 1 columns]

                '
            python/polars:
              schema: *id004
              example: 'shape: (2_340, 1)

                ┌────────────┐

                │ date       │

                │ ---        │

                │ str        │

                ╞════════════╡

                │ 2017-01-03 │

                │ 2017-01-04 │

                │ 2017-01-05 │

                │ 2017-01-06 │

                │ 2017-01-09 │

                │ …          │

                │ 2026-04-20 │

                │ 2026-04-21 │

                │ 2026-04-22 │

                │ 2026-04-23 │

                │ 2026-04-24 │

                └────────────┘

                '
  /index/snapshot/ohlc:
    x-skip-concurrent-limit: true
    x-min-subscription: standard
    get:
      summary: Open High Low Close
      operationId: index_snapshot_ohlc
      x-codeSamples:
      - lang: Python
        label: pandas
        source: 'from thetadata import ThetaClient


          client = ThetaClient(dataframe_type=''pandas'')

          df = client.index_snapshot_ohlc(symbol=[''SPX''])

          '
      - lang: Python
        label: polars
        source: 'from thetadata import ThetaClient


          client = ThetaClient(dataframe_type=''polars'')

          df = client.index_snapshot_ohlc(symbol=[''SPX''])

          '
      tags:
      - Index
      description: '- Retrieves the real-time current day OHLC.

        - [Exchanges](/Articles/Data-And-Requests/The-SIPs.html) typically generate a price report every second for popular indices like SPX.

        '
      x-sample-urls:
      - url: http://127.0.0.1:25503/v3/index/snapshot/ohlc?symbol=SPX
        description: Returns OHLC for a given index price change
      - url: http://127.0.0.1:25503/v3/index/snapshot/ohlc?symbol=SPX&format=html
        description: Click to open in browser (HTML)
      parameters:
      - $ref: '#/components/parameters/multi_symbol'
      - $ref: '#/components/parameters/min_time'
      - $ref: '#/components/parameters/format'
      responses:
        '200':
          description: Returns OHLC for a given index price change
          content:
            text/csv:
              schema:
                type: array
                items: &id005
                  type: object
                  properties:
                    timestamp:
                      type: string
                      format: date-time
                      description: The timestamp in YYYY-MM-DDTHH:mm:ss.SSS format.
                    symbol:
                      type: string
                      description: The symbol of the contract, or stock / underlying asset / option / index.
                    open:
                      type: number
                      description: The opening trade price.
                    high:
                      type: number
                      description: The highest traded price.
                    low:
                      type: number
                      description: The lowest traded price.
                    close:
                      type: number
                      description: The closing traded price.
                    volume:
                      type: integer
                      description: The amount of contracts / shares traded.
                    count:
                      type: integer
                      description: The amount of trades.
              example: "timestamp,symbol,open,high,low,close,volume,count\r\n2025-08-20T16:02:06,SPX,6406.62,6408.40,6343.86,6395.78,0,0\r\n"
            application/json:
              schema: &id006
                type: array
                items: *id005
              example: "{\n  \"response\": [\n     {\"volume\":0,\"symbol\":\"SPX\",\"high\":6408.40,\"low\":6343.86,\"count\":0,\"close\":6395.78,\"open\":6406.62,\"timestamp\":\"2025-08-20T16:02:06\"}\n  ]\n}\n"
            application/x-ndjson:
              schema: *id006
              example: '{"volume":0,"symbol":"SPX","high":6408.40,"low":6343.86,"count":0,"close":6395.78,"open":6406.62,"timestamp":"2025-08-20T16:02:06"}'
            python/pandas:
              schema: *id006
              example: 'timestamp symbol     open    high      low    close  volume  count

                0 2026-04-27 12:13:45-04:00    SPX  7152.72  7167.7  7146.72  7163.15       0      0

                '
            python/polars:
              schema: *id006
              example: 'shape: (1, 8)

                ┌────────────────────────────────┬────────┬─────────┬────────┬─────────┬─────────┬────────┬───────┐

                │ timestamp                      ┆ symbol ┆ open    ┆ high   ┆ low     ┆ close   ┆ volume ┆ count │

                │ ---                            ┆ ---    ┆ ---     ┆ ---    ┆ ---     ┆ ---     ┆ ---    ┆ ---   │

                │ datetime[ms, America/New_York] ┆ str    ┆ f64     ┆ f64    ┆ f64     ┆ f64     ┆ i64    ┆ i64   │

                ╞════════════════════════════════╪════════╪═════════╪════════╪═════════╪═════════╪════════╪═══════╡

                │ 2026-04-27 12:13:45 EDT        ┆ SPX    ┆ 7152.72 ┆ 7167.7 ┆ 7146.72 ┆ 7163.15 ┆ 0      ┆ 0     │

                └────────────────────────────────┴────────┴─────────┴────────┴─────────┴─────────┴────────┴───────┘

                '
  /index/snapshot/price:
    x-skip-concurrent-limit: true
    x-min-subscription: standard
    get:
      summary: Price
      operationId: index_snapshot_price
      x-codeSamples:
      - lang: Python
        label: pandas
        source: 'from thetadata import ThetaClient


          client = ThetaClient(dataframe_type=''pandas'')

          df = client.index_snapshot_price(symbol=[''SPX''])

          '
      - lang: Python
        label: polars
        source: 'from thetadata import ThetaClient


          client = ThetaClient(dataframe_type=''polars'')

          df = client.index_snapshot_price(symbol=[''SPX''])

          '
      tags:
      - Index
      description: '- Retrieves a real-time last index price.

        - [Exchanges](/Articles/Data-And-Requests/The-SIPs.html) typically generate a price report every second for popular indices like SPX.

        '
      x-sample-urls:
      - url: http://127.0.0.1:25503/v3/index/snapshot/price?symbol=SPX
        description: Returns last index price
      - url: http://127.0.0.1:25503/v3/index/snapshot/price?symbol=SPX&format=html
        description: Click to open in browser (HTML)
      parameters:
      - $ref: '#/components/parameters/multi_symbol'
      - $ref: '#/components/parameters/min_time'
      - $ref: '#/components/parameters/format'
      responses:
        '200':
          description: Returns last index price
          content:
            text/csv:
              schema:
                type: array
                items: &id007
                  type: object
                  properties:
                    timestamp:
                      type: string
                      format: date-time
                      description: The timestamp in YYYY-MM-DDTHH:mm:ss.SSS format.
                    symbol:
                      type: string
                      description: The symbol of the contract, or stock / underlying asset / option / index.
                    price:
                      type: number
                      description: The trade price.
              example: "timestamp,symbol,price\r\n2025-08-20T16:02:06,SPX,6395.78\r\n"
            application/json:
              schema: &id008
                type: array
                items: *id007
              example: "{\n  \"response\": [\n    {\"symbol\":\"SPX\",\"price\":6395.78,\"timestamp\":\"2025-08-20T16:02:06\"}\n  ]\n}\n"
            application/x-ndjson:
              schema: *id008
              example: '{"symbol":"SPX","price":6395.78,"timestamp":"2025-08-20T16:02:06"}'
            python/pandas:
              schema: *id008
              example: 'timestamp symbol    price

                0 2026-04-27 12:13:45-04:00    SPX  7163.15

                '
            python/polars:
              schema: *id008
              example: 'shape: (1, 3)

                ┌────────────────────────────────┬────────┬─────────┐

                │ timestamp                      ┆ symbol ┆ price   │

                │ ---                            ┆ ---    ┆ ---     │

                │ datetime[ms, America/New_York] ┆ str    ┆ f64     │

                ╞════════════════════════════════╪════════╪═════════╡

                │ 2026-04-27 12:13:46 EDT        ┆ SPX    ┆ 7163.21 │

                └────────────────────────────────┴────────┴─────────┘

                '
  /index/snapshot/market_value:
    x-skip-concurrent-limit: true
    x-min-subscription: standard
    get:
      summary: Market Value
      operationId: index_snapshot_market_value
      x-codeSamples:
      - lang: Python
        label: pandas
        source: 'from thetadata import ThetaClient


          client = ThetaClient(dataframe_type=''pandas'')

          df = client.index_snapshot_market_value(symbol=[''SPX''])

          '
      - lang: Python
        label: polars
        source: 'from thetadata import ThetaClient


          client = ThetaClient(dataframe_type=''polars'')

          df = client.index_snapshot_market_value(symbol=[''SPX''])

          '
      tags:
      - Index
      description: '- Retrieves a real-time last index market value.

        - [Exchanges](/Articles/Data-And-Requests/The-SIPs.html) typically generate a price report every second for popular indices like SPX.

        '
      x-sample-urls:
      - url: http://127.0.0.1:25503/v3/index/snapshot/market_value?symbol=SPX
        description: Returns last market value
      - url: http://127.0.0.1:25503/v3/index/snapshot/market_value?symbol=SPX&format=html
        description: Click to open in browser (HTML)
      parameters:
      - $ref: '#/components/parameters/multi_symbol'
      - $ref: '#/components/parameters/min_time'
      - $ref: '#/components/parameters/format'
      responses:
        '200':
          description: Returns last index market value
          content:
            text/csv:
              schema:
                type: array
                items: &id009
                  type: object
                  properties:
                    timestamp:
                      type: string
                      format: date-time
                      description: The timestamp in YYYY-MM-DDTHH:mm:ss.SSS format.
                    symbol:
                      type: string
                      description: The symbol of the contract, or stock / underlying asset / option / index.
                    market_price:
                      type: number
                      description: The index market price.
              example: "timestamp,symbol,market_price\r\n2025-08-20T16:02:06,SPX,6395.81\r\n"
            application/json:
              schema: &id010
                type: array
                items: *id009
              example: "{\n  \"response\": [\n    {\"symbol\":\"SPX\",\"market_price\":6395.81,\"timestamp\":\"2025-08-20T16:02:06\"}\n  ]\n}\n"
            application/x-ndjson:
              schema: *id010
              example: '{"symbol":"SPX","market_price":6395.81,"timestamp":"2025-08-20T16:02:06"}'
            python/pandas:
              schema: *id010
              example: 'timestamp symbol  market_price

                0 2026-04-27 12:13:46-04:00    SPX       7163.18

                '
            python/polars:
              schema: *id010
              example: 'shape: (1, 3)

                ┌────────────────────────────────┬────────┬──────────────┐

                │ timestamp                      ┆ symbol ┆ market_price │

                │ ---                            ┆ ---    ┆ ---          │

                │ datetime[ms, America/New_York] ┆ str    ┆ f64          │

                ╞════════════════════════════════╪════════╪══════════════╡

                │ 2026-04-27 12:13:46 EDT        ┆ SPX    ┆ 7163.19      │

                └────────────────────────────────┴────────┴──────────────┘

                '
  /index/history/eod:
    x-concurrent-limit-ttl-ms: '164'
    x-min-subscription: free
    x-history-access: true
    get:
      summary: End of Day
      operationId: index_history_eod
      x-codeSamples:
      - lang: Python
        label: pandas
        source: "from thetadata import ThetaClient\nfrom datetime import date\n\nclient = ThetaClient(dataframe_type='pandas')\ndf = client.index_history_eod(\n    symbol='SPX',\n    start_date=date(2024, 11, 4),\n    end_date=date(2024, 11, 8),\n)\n"
      - lang: Python
        label: polars
        source: "from thetadata import ThetaClient\nfrom datetime import date\n\nclient = ThetaClient(dataframe_type='polars')\ndf = client.index_history_eod(\n    symbol='SPX',\n    start_date=date(2024, 11, 4),\n    end_date=date(2024, 11, 8),\n)\n"
      tags:
      - Index
      description: '- Since [the indices feeds](/Articles/Data-And-Requests/The-SIPs.html) do not provide a national EOD report, Theta Data generates a national EOD report at 17:15 each day.

        '
      x-sample-urls:
      - url: http://127.0.0.1:25503/v3/index/history/eod?symbol=SPX&start_date=20241104&end_date=20241108
        description: Returns EOD report for a given symbol between specified dates (inclusive)
      - url: http://127.0.0.1:25503/v3/index/history/eod?symbol=SPX&start_date=20241104&end_date=20241108&format=html
        description: Click to open in browser (HTML)
      parameters:
      - $ref: '#/components/parameters/single_symbol'
      - $ref: '#/components/parameters/start_date'
      - $ref: '#/components/parameters/end_date'
      - $ref: '#/components/parameters/format'
      responses:
        '200':
          description: Returns EOD report for a given symbol between specified dates (inclusive)
          content:
            text/csv:
              schema:
                type: array
                items: &id011
                  type: object
                  properties:
                    created:
                      type: string
                      format: date-time
                      description: The date formated as YYYY-MM-DDTHH:mm:ss.SSS format.
                    last_trade:
                      type: string
                      format: date-time
                      description: The last trade date formated as YYYY-MM-DDTHH:mm:ss.SSS format.
                    open:
                      type: number
                      description: The opening trade price.
                    high:
                      type: number
                      description: The highest traded price.
                    low:
                      type: number
                      description: The lowest traded price.
                    close:
                      type: number
                      description: The closing traded price.
                    volume:
                      type: integer
                      description: The amount of contracts / shares traded.
                    count:
                      type: integer
                      description: The amount of trades.
                    bid_size:
                      type: integer
                      description: The last NBBO bid size.
                    bid_exchange:
                      type: integer
                      description: The last NBBO bid [exchange](/Articles/Errors-Exchanges-Conditions/Exchanges.html).
                    bid:
                      type: number
                      description: The last NBBO bid price.
                    bid_condition:
                      type: integer
                      description: The last NBBO bid [condition](/Articles/Errors-Exchanges-Conditions/Quote-Conditions.html).
                    ask_size:
                      type: integer
                      description: The last NBBO ask size.
                    ask_exchange:
                      type: integer
                      description: The last NBBO ask [exchange](/Articles/Errors-Exchanges-Conditions/Exchanges.html).
                    ask:
                      type: number
                      description: The last NBBO ask price.
                    ask_condition:
                      type: integer
                      description: The last NBBO ask [condition](/Articles/Errors-Exchanges-Conditions/Quote-Conditions.html).
              example: "created,last_trade,open,high,low,close,volume,count,bid_size,bid_exchange,bid,bid_condition,ask_size,ask_exchange,ask,ask_condition\r\n2024-11-04T17:19:50.198,2024-11-04T16:03:03,5725.15,5741.43,5696.51,5712.69,0,0,0,0,0.00,0,0,0,0.00,0\r\n2024-11-05T17:15:03.061,2024-11-05T16:02:30,5722.43,5783.44,5722.10,5782.76,0,0,0,0,0.00,0,0,0,0.00,0\r\n2024-11-06T17:16:28.297,2024-11-06T16:01:37,5864.89,5936.14,5864.89,5929.04,0,0,0,0,0.00,0,0,0,0.00,0\r\n2024-11-07T17:17:17.218,2024-11-07T16:02:49,5947.21,5983.84,5947.21,5973.10,0,0,0,0,0.00,0,0,0,0.00,0\r\n2024-11-08T17:21:08.187,2024-11-08T16:01:15,5976.76,6012.45,5976.76,5995.54,0,0,0,0,0.00,0,0,0,0.00,0\r\n"
            application/json:
              schema: &id012
                type: array
                items: *id011
              example: "{\n  \"response\": [\n    {\"ask_size\":0,\"last_trade\":\"2024-11-04T16:03:03\",\"created\":\"2024-11-04T17:19:50.198\",\"ask_condition\":0,\"count\":0,\"volume\":0,\"high\":5741.43,\"low\":5696.51,\"bid_size\":0,\"ask_exchange\":0,\"bid_exchange\":0,\"ask\":0.00,\"bid\":0.00,\"bid_condition\":0,\"close\":5712.69,\"open\":5725.15},\n    {\"ask_size\":0,\"last_trade\":\"2024-11-05T16:02:30\",\"created\":\"2024-11-05T17:15:03.061\",\"ask_condition\":0,\"count\":0,\"volume\":0,\"high\":5783.44,\"low\":5722.10,\"bid_size\":0,\"ask_exchange\":0,\"bid_exchange\":0,\"ask\":0.00,\"bid\":0.00,\"bid_condition\":0,\"close\":5782.76,\"open\":5722.43},\n    {\"ask_size\":0,\"last_trade\":\"2024-11-06T16:01:37\",\"created\":\"2024-11-06T17:16:28.297\",\"ask_condition\":0,\"count\":0,\"volume\":0,\"high\":5936.14,\"low\":5864.89,\"bid_size\":0,\"ask_exchange\":0,\"bid_exchange\":0,\"ask\":0.00,\"bid\":0.00,\"bid_condition\":0,\"close\":5929.04,\"open\":5864.89},\n    {\"ask_size\":0,\"last_trade\":\"2024-11-07T16:02:49\",\"created\":\"2024-11-07T17:17:17.218\",\"ask_condition\":0,\"count\":0,\"volume\":0,\"high\":5983.84,\"low\":5947.21,\"bid_size\":0,\"ask_exchange\":0,\"bid_exchange\":0,\"ask\":0.00,\"bid\":0.00,\"bid_condition\":0,\"close\":5973.10,\"open\":5947.21},\n    {\"ask_size\":0,\"last_trade\":\"2024-11-08T16:01:15\",\"created\":\"2024-11-08T17:21:08.187\",\"ask_condition\":0,\"count\":0,\"volume\":0,\"high\":6012.45,\"low\":5976.76,\"bid_size\":0,\"ask_exchange\":0,\"bid_exchange\":0,\"ask\":0.00,\"bid\":0.00,\"bid_condition\":0,\"close\":5995.54,\"open\":5976.76}\n  ]\n}\n"
            application/x-ndjson:
              schema: *id012
              example: '{"ask_size":0,"last_trade":"2024-11-04T16:03:03","created":"2024-11-04T17:19:50.198","ask_condition":0,"count":0,"volume":0,"high":5741.43,"low":5696.51,"bid_size":0,"ask_exchange":0,"bid_exchange":0,"ask":0.00,"bid":0.00,"bid_condition":0,"close":5712.69,"open":5725.15}

                {"ask_size":0,"last_trade":"2024-11-05T16:02:30","created":"2024-11-05T17:15:03.061","ask_condition":0,"count":0,"volume":0,"high":5783.44,"low":5722.10,"bid_size":0,"ask_exchange":0,"bid_exchange":0,"ask":0.00,"bid":0.00,"bid_condition":0,"close":5782.76,"open":5722.43}

                {"ask_size":0,"last_trade":"2024-11-06T16:01:37","created":"2024-11-06T17:16:28.297","ask_condition":0,"count":0,"volume":0,"high":5936.14,"low":5864.89,"bid_size":0,"ask_exchange":0,"bid_exchange":0,"ask":0.00,"bid":0.00,"bid_condition":0,"close":5929.04,"open":5864.89}

                {"ask_size":0,"last_trade":"2024-11-07T16:02:49","created":"2024-11-07T17:17:17.218","ask_condition":0,"count":0,"volume":0,"high":5983.84,"low":5947.21,"bid_size":0,"ask_exchange":0,"bid_exchange":0,"ask":0.00,"bid":0.00,"bid_condition":0,"close":5973.10,"open":5947.21}

                {"ask_size":0,"last_trade":"2024-11-08T16:01:15","created":"2024-11-08T17:21:08.187","ask_condition":0,"count":0,"volume":0,"high":6012.45,"low":5976.76,"bid_size":0,"ask_exchange":0,"bid_exchange":0,"ask":0.00,"bid":0.00,"bid_condition":0,"close":5995.54,"open":5976.76}'
            python/pandas:
              schema: *id012
              example: 'created                last_trade     open     high      low    close  volume  count  bid_size  bid_exchange  bid  bid_condition  ask_size  ask_exchange  ask  ask_condition

                0 2025-10-02 17:21:02.740000-04:00 2025-10-02 16:02:30-04:00  6731.31  6731.94  6693.23  6715.35       0      0         0             0  0.0              0         0             0  0.0              0

                1 2025-10-03 17:21:11.325000-04:00 2025-10-03 16:00:37-04:00  6722.14  6750.87  6705.67  6715.79       0      0         0             0  0.0              0         0             0  0.0              0

                '
            python/polars:
              schema: *id012
              example: 'shape: (2, 16)

                ┌────────────────────────────────┬────────────────────────────────┬─────────┬─────────┬─────────┬─────────┬────────┬───────┬──────────┬──────────────┬─────┬───────────────┬──────────┬──────────────┬─────┬───────────────┐

                │ created                        ┆ last_trade                     ┆ open    ┆ high    ┆ low     ┆ close   ┆ volume ┆ count ┆ bid_size ┆ bid_exchange ┆ bid ┆ bid_condition ┆ ask_size ┆ ask_exchange ┆ ask ┆ ask_condition │

                │ ---                            ┆ ---                            ┆ ---     ┆ ---     ┆ ---     ┆ ---     ┆ ---    ┆ ---   ┆ ---      ┆ ---          ┆ --- ┆ ---           ┆ ---      ┆ ---          ┆ --- ┆ ---           │

                │ datetime[ms, America/New_York] ┆ datetime[ms, America/New_York] ┆ f64     ┆ f64     ┆ f64     ┆ f64     ┆ i64    ┆ i64   ┆ i64      ┆ i64          ┆ f64 ┆ i64           ┆ i64      ┆ i64          ┆ f64 ┆ i64           │

                ╞════════════════════════════════╪════════════════════════════════╪═════════╪═════════╪═════════╪═════════╪════════╪═══════╪══════════╪══════════════╪═════╪═══════════════╪══════════╪══════════════╪═════╪═══════════════╡

                │ 2025-10-02 17:21:02.740 EDT    ┆ 2025-10-02 16:02:30 EDT        ┆ 6731.31 ┆ 6731.94 ┆ 6693.23 ┆ 6715.35 ┆ 0      ┆ 0     ┆ 0        ┆ 0            ┆ 0.0 ┆ 0             ┆ 0        ┆ 0            ┆ 0.0 ┆ 0             │

                │ 2025-10-03 17:21:11.325 EDT    ┆ 2025-10-03 16:00:37 EDT        ┆ 6722.14 ┆ 6750.87 ┆ 6705.67 ┆ 6715.79 ┆ 0      ┆ 0     ┆ 0        ┆ 0            ┆ 0.0 ┆ 0             ┆ 0        ┆ 0            ┆ 0.0 ┆ 0             │

                └────────────────────────────────┴────────────────────────────────┴─────────┴─────────┴─────────┴─────────┴────────┴───────┴──────────┴──────────────┴─────┴───────────────┴──────────┴──────────────┴─────┴───────────────┘

                '
  /i

# --- truncated at 32 KB (65 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/thetadata/refs/heads/main/openapi/thetadata-index-api-openapi.yml