> For the complete documentation index, see [llms.txt](https://gitbook-docs.coinmetrics.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook-docs.coinmetrics.io/cm-api-spec/meta-data/reference-data/markets.md).

# Markets

Returns a list of markets metadata.

```json
{"openapi":"3.0.2","info":{"title":"Coin Metrics API v4","version":"4.0.0"},"tags":[{"name":"Reference Data","description":"Metadata information of entities supported by Coin Metrics.\n\n**Endpoints on this page:**\n- `GET /reference-data/asset-metrics` — Asset metrics\n- `GET /reference-data/assets` — Assets\n- `GET /reference-data/exchange-asset-metrics` — Exchange asset metrics\n- `GET /reference-data/exchange-metrics` — Exchange metrics\n- `GET /reference-data/exchange-pair-metrics` — Exchange pair metrics\n- `GET /reference-data/exchanges` — Exchanges\n- `GET /reference-data/indexes` — Indexes\n- `GET /reference-data/institution-metrics` — Institution metrics\n- `GET /reference-data/market-metrics` — Market metrics\n- `GET /reference-data/markets` — Markets\n- `GET /reference-data/pair-metrics` — Pair metrics\n- `GET /reference-data/pairs` — Pairs\n- `GET /reference-data/protocols` — Protocols"}],"servers":[{"url":"https://api.coinmetrics.io/v4"},{"url":"wss://api.coinmetrics.io/v4"},{"url":"https://community-api.coinmetrics.io/v4"}],"security":[{"api_key":[]}],"components":{"securitySchemes":{"api_key":{"description":"Coin Metrics API key can be specified as `?api_key=` query parameter.","in":"query","name":"api_key","type":"apiKey"}},"parameters":{"CatalogMarketId":{"description":"Comma separated list of markets. By default all markets are returned.","in":"query","name":"markets","schema":{"type":"array","items":{"type":"string"}},"explode":false},"Exchange":{"description":"Unique name of an exchange.","in":"query","name":"exchange","schema":{"type":"string"}},"MarketType":{"description":"Type of markets.","in":"query","name":"type","schema":{"enum":["spot","future","option"],"type":"string"}},"MarketBase":{"description":"Base asset of markets.","in":"query","name":"base","schema":{"type":"string"}},"MarketQuote":{"description":"Quote asset of markets.","in":"query","name":"quote","schema":{"type":"string"}},"MarketAsset":{"description":"Any asset of markets.","in":"query","name":"asset","schema":{"type":"string"}},"MarketSymbol":{"description":"Symbol of derivative markets, full instrument name.","in":"query","name":"symbol","schema":{"type":"string"}},"AssetClass":{"description":"Asset class of markets.","in":"query","name":"asset_class","schema":{"$ref":"#/components/schemas/AssetClass"}},"SourceType":{"description":"Source type of exchange.","in":"query","name":"source_type","schema":{"$ref":"#/components/schemas/SourceType"}},"MarketCusip":{"description":"CUSIP identifier to filter markets. Only one of `cusip`, `figi`, or `isin` may be specified at a time.","in":"query","name":"cusip","schema":{"type":"string"}},"MarketFigi":{"description":"FIGI identifier to filter markets. Only one of `cusip`, `figi`, or `isin` may be specified at a time.","in":"query","name":"figi","schema":{"type":"string"}},"MarketIsin":{"description":"ISIN identifier to filter markets. Only one of `cusip`, `figi`, or `isin` may be specified at a time.","in":"query","name":"isin","schema":{"type":"string"}},"ReferenceDataNamespacesInclude":{"description":"Comma-separated list of namespaces to include in response. Currently, the only supported value is `talos`.","in":"query","name":"include","schema":{"type":"string"}},"PageSize":{"description":"Number of items per single page of results.<br/> The value of this parameter is ignored if the endpoint supports the `format` parameter and its value is set to `json_stream`.","in":"query","name":"page_size","schema":{"default":100,"type":"integer","format":"int32","minimum":1,"maximum":10000}},"PagingFromWithStartByDefault":{"description":"Where does the first page start, at the start of the interval or at the end.<br/> The value of this parameter is ignored if the endpoint supports the `format` parameter and its value is set to `json_stream`.","in":"query","name":"paging_from","schema":{"default":"start","enum":["start","end"],"type":"string","format":"PagingFrom"}},"NextPageToken":{"description":"Token for receiving the results from the next page of a query.<br/> Should not be used directly. To iterate through pages just use `next_page_url` response field.","in":"query","name":"next_page_token","schema":{"type":"string"}},"CatalogResponseFormat":{"description":"Format of the response. Supported values are `json`, `json_stream`.","in":"query","name":"format","schema":{"type":"string","default":"json"}},"Pretty":{"description":"Human-readable formatting of JSON responses.","in":"query","name":"pretty","schema":{"type":"boolean","default":false}}},"schemas":{"AssetClass":{"description":"Asset class of the market.","type":"string","enum":["digital","equity","fixed_income"]},"SourceType":{"description":"Source type of the exchange.","type":"string","enum":["exchange","platform","composite","evaluated"]},"ReferenceDataMarketsResponse":{"description":"List of markets.","properties":{"data":{"items":{"$ref":"#/components/schemas/ReferenceDataMarketInfo"},"type":"array"},"next_page_token":{"$ref":"#/components/schemas/NextPageToken"},"next_page_url":{"$ref":"#/components/schemas/NextPageUrl"}},"required":["data"],"type":"object"},"ReferenceDataMarketInfo":{"description":"Information about a market.","properties":{"market":{"$ref":"#/components/schemas/MarketId"},"exchange":{"$ref":"#/components/schemas/Exchange"},"base":{"$ref":"#/components/schemas/AssetIdBase"},"quote":{"$ref":"#/components/schemas/AssetIdQuote"},"pair":{"$ref":"#/components/schemas/Pair"},"symbol":{"$ref":"#/components/schemas/MarketSymbol"},"type":{"$ref":"#/components/schemas/MarketType"},"asset_class":{"$ref":"#/components/schemas/AssetClass"},"source_type":{"$ref":"#/components/schemas/SourceType"},"size_asset":{"$ref":"#/components/schemas/DerivativeContractSizeAsset"},"margin_asset":{"$ref":"#/components/schemas/DerivativeContractMarginAsset"},"strike":{"$ref":"#/components/schemas/OptionStrike"},"option_contract_type":{"$ref":"#/components/schemas/OptionContractType"},"is_european":{"$ref":"#/components/schemas/IsEuropean"},"contract_size":{"$ref":"#/components/schemas/MarketContractSize"},"tick_size":{"$ref":"#/components/schemas/FutureTickSize"},"multiplier_size":{"$ref":"#/components/schemas/FutureMultiplierSize"},"listing":{"$ref":"#/components/schemas/DerivativeContractListing"},"expiration":{"$ref":"#/components/schemas/DerivativeContractExpiration"},"settlement_price":{"$ref":"#/components/schemas/SettlementPrice"},"pool_config_id":{"$ref":"#/components/schemas/DefiPoolConfigId"},"contract_address":{"$ref":"#/components/schemas/DefiContractAddress"},"fee":{"$ref":"#/components/schemas/DefiFee"},"price_includes_fee":{"$ref":"#/components/schemas/DefiPriceIncludesFee"},"variable_fee":{"$ref":"#/components/schemas/DefiVariableFee"},"base_address":{"$ref":"#/components/schemas/DefiBaseAddress"},"quote_address":{"$ref":"#/components/schemas/DefiQuoteAddress"},"status":{"$ref":"#/components/schemas/Status"},"order_amount_increment":{"$ref":"#/components/schemas/OrderAmountIncrement"},"order_amount_min":{"$ref":"#/components/schemas/OrderAmountMin"},"order_amount_max":{"$ref":"#/components/schemas/OrderAmountMax"},"order_price_increment":{"$ref":"#/components/schemas/OrderPriceIncrement"},"order_price_min":{"$ref":"#/components/schemas/OrderPriceMin"},"order_price_max":{"$ref":"#/components/schemas/OrderPriceMax"},"order_size_min":{"$ref":"#/components/schemas/OrderSizeMin"},"order_taker_fee":{"$ref":"#/components/schemas/OrderTakerFee"},"order_maker_fee":{"$ref":"#/components/schemas/OrderMakerFee"},"margin_trading_enabled":{"$ref":"#/components/schemas/MarginTradingEnabled"},"experimental":{"$ref":"#/components/schemas/ExperimentalMarket"},"base_native":{"$ref":"#/components/schemas/AssetIdBaseNative"},"quote_native":{"$ref":"#/components/schemas/AssetIdQuoteNative"},"publisher":{"$ref":"#/components/schemas/Publisher"},"cusip":{"$ref":"#/components/schemas/Cusip"},"figi":{"$ref":"#/components/schemas/Figi"},"isin":{"$ref":"#/components/schemas/Isin"},"security_type":{"$ref":"#/components/schemas/SecurityType"},"security_term":{"$ref":"#/components/schemas/SecurityTerm"},"description":{"$ref":"#/components/schemas/SecurityDescription"},"coupon_rate":{"$ref":"#/components/schemas/CouponRate"},"issue_date":{"$ref":"#/components/schemas/IssueDate"},"maturity_date":{"$ref":"#/components/schemas/MaturityDate"},"price_per100":{"$ref":"#/components/schemas/PricePer100"},"talos":{"description":"Talos metadata for the market. Returned only when `include=talos` is specified.","type":"array","items":{"$ref":"#/components/schemas/TalosMarketMetadata"}}},"type":"object","required":["market","exchange","type"]},"MarketId":{"description":"Unique name of the market.","type":"string"},"Exchange":{"description":"Name of the exchange.","type":"string"},"AssetIdBase":{"description":"Unique name of the base asset.","type":"string"},"AssetIdQuote":{"description":"Unique name of the quote asset.","type":"string"},"Pair":{"description":"Pair string representation as `<base>-<quote>`.","type":"string"},"MarketSymbol":{"description":"Unique name of the derivative market symbol.","type":"string"},"MarketType":{"description":"Type of the market (spot, future).","type":"string"},"DerivativeContractSizeAsset":{"description":"Name of the derivative contract size asset.","type":"string"},"DerivativeContractMarginAsset":{"description":"Name of the derivative margin asset.","type":"string"},"OptionStrike":{"description":"Strike price for option trade.","type":"string","format":"decimal"},"OptionContractType":{"description":"'call or 'put' option contract type.","type":"string"},"IsEuropean":{"description":"shows if the options contract is european or not.","type":"boolean"},"MarketContractSize":{"description":"Market contract size.","type":"string","format":"decimal"},"FutureTickSize":{"description":"Futures tick size.","type":"string","format":"decimal"},"FutureMultiplierSize":{"description":"Futures multiplier size.","type":"string","format":"decimal"},"DerivativeContractListing":{"description":"Derivative contract listing date.","type":"string","format":"date-time"},"DerivativeContractExpiration":{"description":"Derivative contract expiration date.","type":"string","format":"date-time"},"SettlementPrice":{"description":"Price of underlying asset at contract expiration.","type":"string","format":"decimal"},"DefiPoolConfigId":{"description":"DeFi pooling config ID.","type":"string"},"DefiContractAddress":{"description":"DeFi contract address.","type":"string"},"DefiFee":{"description":"DeFi fee (in percents).","type":"string","format":"decimal"},"DefiPriceIncludesFee":{"description":"Whether the reported price for a trade is inclusive (true) or exclusive (false) of fee.","type":"boolean"},"DefiVariableFee":{"description":"Whether the market has a variable (true) or fixed (false) fee structure.","type":"boolean"},"DefiBaseAddress":{"description":"DeFi base address.","type":"string"},"DefiQuoteAddress":{"description":"DeFi quote address.","type":"string"},"Status":{"description":"Market status (online/offline).","type":"string"},"OrderAmountIncrement":{"description":"Volume precision.","type":"string","format":"decimal"},"OrderAmountMin":{"description":"Minimum amount size.","type":"string","format":"decimal"},"OrderAmountMax":{"description":"Maximum amount size.","type":"string","format":"decimal"},"OrderPriceIncrement":{"description":"Price precision.","type":"string","format":"decimal"},"OrderPriceMin":{"description":"Minimum price.","type":"string","format":"decimal"},"OrderPriceMax":{"description":"Maximum price.","type":"string","format":"decimal"},"OrderSizeMin":{"description":"Minimum order size, where order size is amount * price.","type":"string","format":"decimal"},"OrderTakerFee":{"type":"string","format":"decimal"},"OrderMakerFee":{"type":"string","format":"decimal"},"MarginTradingEnabled":{"type":"boolean"},"ExperimentalMarket":{"description":"If set to true, indicates that market collection is under active development - there is a chance of temporary discrepancies in the served dataset.","type":"boolean"},"AssetIdBaseNative":{"description":"Exchange name of the base asset.","type":"string"},"AssetIdQuoteNative":{"description":"Exchange name of the quote asset.","type":"string"},"Publisher":{"description":"Publisher of the market data.","type":"string"},"Cusip":{"description":"CUSIP identifier for the security.","type":"string"},"Figi":{"description":"FIGI identifier for the security.","type":"string"},"Isin":{"description":"ISIN identifier for the security.","type":"string"},"SecurityType":{"description":"Type of the security (e.g., Treasury Bill, Treasury Note, Common Stock).","type":"string"},"SecurityTerm":{"description":"Original term of the security (e.g., \"4-Week\", \"10-Year\").","type":"string"},"SecurityDescription":{"description":"Description of the security (e.g., \"30-Year Treasury Bond\").","type":"string"},"CouponRate":{"description":"Coupon rate of the security.","type":"string","format":"decimal"},"IssueDate":{"description":"Issue date of the security.","type":"string","format":"date"},"MaturityDate":{"description":"Maturity date of the security.","type":"string","format":"date"},"PricePer100":{"description":"Price per $100 face value.","type":"string","format":"decimal"},"TalosMarketMetadata":{"description":"Provider metadata for markets. Contains `cm_ext_market` (Coin Metrics symbol using provider namespace, e.g. \"talos:kucoin:BTC-USDT\") and `cm_ext_market_by_id` (Coin Metrics ID using provider namespace, e.g. \"talos:by-id:1050:10\") as optional fields, plus any additional provider-specific fields.","type":"object","properties":{"cm_ext_market":{"description":"Coin Metrics symbol using provider namespace (e.g. \"talos:kucoin:BTC-USDT\").","nullable":true,"type":"string"},"cm_ext_market_by_id":{"description":"Coin Metrics ID using provider namespace (e.g. \"talos:by-id:1050:10\").","nullable":true,"type":"string"},"market":{"description":"Exchange name in the provider's namespace.","nullable":true,"type":"string"},"market_id":{"description":"Numeric market identifier in the provider's system.","nullable":true,"type":"integer"},"symbol":{"description":"Trading pair symbol in the provider's notation.","nullable":true,"type":"string"},"security_id":{"description":"Numeric security identifier in the provider's system.","nullable":true,"type":"integer","format":"int64"},"market_symbol":{"description":"Market symbol as used by the provider.","nullable":true,"type":"string"},"product_type":{"description":"Product type (e.g. \"Spot\", \"Future\").","nullable":true,"type":"string"},"base_currency_id":{"description":"Numeric identifier of the base currency in the provider's system.","nullable":true,"type":"integer"},"quote_currency_id":{"description":"Numeric identifier of the quote currency in the provider's system.","nullable":true,"type":"integer"},"end_time":{"description":"End time for the market.","nullable":true,"type":"string"},"display_name":{"description":"Human-readable display name for the market.","nullable":true,"type":"string"},"normal_size":{"description":"Normal order size for the market.","nullable":true,"type":"string"},"description":{"description":"Human-readable description of the market.","nullable":true,"type":"string"},"base_currency":{"description":"Base currency symbol (e.g. \"BTC\").","nullable":true,"type":"string"},"quote_currency":{"description":"Quote currency symbol (e.g. \"USD\").","nullable":true,"type":"string"},"counter_currency":{"description":"Counter currency symbol for options.","nullable":true,"type":"string"},"option_type":{"description":"Option type (e.g. \"Call\", \"Put\").","nullable":true,"type":"string"},"strike_price":{"description":"Strike price for the option.","nullable":true,"type":"string","format":"decimal"},"settlement_currency":{"description":"Settlement currency symbol.","nullable":true,"type":"string"},"notional_multiplier":{"description":"Contract notional multiplier.","nullable":true,"type":"string"},"expiration":{"description":"Contract expiration date.","nullable":true,"type":"string"},"settle_value_type":{"description":"Settlement value type (e.g. \"Regular\", \"Inverted\").","nullable":true,"type":"string"},"size_buckets":{"description":"Order size buckets for the market.","nullable":true,"type":"array","items":{"$ref":"#/components/schemas/TalosMarketSizeBucket"}},"position_currency_id":{"description":"Numeric identifier of the position currency in the provider's system.","nullable":true,"type":"integer"},"underlying_security_id":{"description":"Numeric identifier of the underlying security.","nullable":true,"type":"integer","format":"int64"},"underlying_quote_currency":{"description":"Underlying quote currency symbol.","nullable":true,"type":"string"},"underlying_code":{"description":"Underlying asset code.","nullable":true,"type":"string"}}},"TalosMarketSizeBucket":{"description":"A size bucket for order sizing.","type":"object","properties":{"size":{"description":"The bucket size value.","type":"string"}}},"NextPageToken":{"description":"Token of the next page results for a given request.","type":"string"},"NextPageUrl":{"description":"URL of the next page results for a given request.","type":"string"},"ErrorResponse":{"properties":{"error":{"$ref":"#/components/schemas/ErrorObject"}},"required":["error"],"type":"object"},"ErrorObject":{"properties":{"type":{"description":"Error type string. Can be used for error identification.","type":"string"},"message":{"description":"Human-friendly error description. Can be amended without prior notification. Do not use for error identification in your code.","type":"string"}},"required":["type","description"],"type":"object"}},"responses":{"ReferenceDataMarkets":{"description":"List of markets metadata.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReferenceDataMarketsResponse"}}}},"MarketNotFound":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}},"description":"Market not found."},"Unauthorized":{"description":"Requested resource requires authorization.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"UriTooLong":{"description":"Provided URI is too long. It must not be greater than 10000 symbols."}}},"paths":{"/reference-data/markets":{"get":{"summary":"Markets","description":"Returns a list of markets metadata.","operationId":"getReferenceDataMarkets","tags":["Reference Data"],"parameters":[{"$ref":"#/components/parameters/CatalogMarketId"},{"$ref":"#/components/parameters/Exchange"},{"$ref":"#/components/parameters/MarketType"},{"$ref":"#/components/parameters/MarketBase"},{"$ref":"#/components/parameters/MarketQuote"},{"$ref":"#/components/parameters/MarketAsset"},{"$ref":"#/components/parameters/MarketSymbol"},{"$ref":"#/components/parameters/AssetClass"},{"$ref":"#/components/parameters/SourceType"},{"$ref":"#/components/parameters/MarketCusip"},{"$ref":"#/components/parameters/MarketFigi"},{"$ref":"#/components/parameters/MarketIsin"},{"$ref":"#/components/parameters/ReferenceDataNamespacesInclude"},{"$ref":"#/components/parameters/PageSize"},{"$ref":"#/components/parameters/PagingFromWithStartByDefault"},{"$ref":"#/components/parameters/NextPageToken"},{"$ref":"#/components/parameters/CatalogResponseFormat"},{"$ref":"#/components/parameters/Pretty"}],"responses":{"200":{"$ref":"#/components/responses/ReferenceDataMarkets"},"400":{"$ref":"#/components/responses/MarketNotFound"},"401":{"$ref":"#/components/responses/Unauthorized"},"414":{"$ref":"#/components/responses/UriTooLong"}}}}}}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://gitbook-docs.coinmetrics.io/cm-api-spec/meta-data/reference-data/markets.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
