---
title: "Provides All Contracts For Given Underlying Market."
method: GET
path: "/forecast/contract/market"
tags: ["tradingEventContracts"]
---

# Provides All Contracts For Given Underlying Market.

`GET /forecast/contract/market`

Returns all high level contract details affiliated with the underlying market conid provided.

## Query parameters

- `underlyingConid` string, required
- `exchange` string

## Response `200`

Returns the liquid and extended trading hours of the coming and prior trading days.

- ForecastMarketResponse
  - `market_name` string — Market contract identifier.
  - `exchange` string — Exchange that was passed in request or determined internally.
  - `symbol` string — Market symbol.
  - `logo_category` string — Logo category to use in logo service to retrieve image.
  - `exclude_historical_data` boolean — Indicates whether UI should or should not display underlying chart.
  - `payout` number, double — Ratio of payout scaling.
  - `contracts` ForecastMarketResponseContractsItems[] — List of contracts matching the requested market.
    - `conid` integer — Market contract identifier.
    - `side` string — "Y" or "N" denoting a Yes or No contract.
    - `expiration` string — Contract expiration date in YYYYMMDD format.
    - `strike` integer — Contract strike price.
    - `strike_label` string — Strike label to display.
    - `expiry_label` string — Label UI to show for the expiration tabs.
    - `underlying_conid` integer — Immediate underlier to contract (i.e. future conid for FOPs).
    - `time_specifier` string — Specified date of expiration.

## Other responses

- `401` — Missing, invalid, or unparseable Authorization token.
- `500` — internal server error, returned when incoming request cannot be processed. It can sometimes include subset of bad requests. For example, wrong accountId passed and it can only be detected later in handling request. Error contains reason of the problem.
- `503` — service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned

---

[API](https://skmtc.net/interactivebrokers/apis/api-reference.md) · [All operations](https://skmtc.net/interactivebrokers/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/interactivebrokers/api-reference/revisions/67f9f562c2c6/schema)
