---
title: "Markets"
method: GET
path: "/reference-data/markets"
tags: ["Reference Data"]
---

# Markets

`GET /reference-data/markets`

## Request

- Base URL: `https://api.coinmetrics.io/v4`
- URL: `https://api.coinmetrics.io/v4/reference-data/markets`
- Auth: API key in query parameter `api_key`
- TypeScript: <https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/docs/reference-data/markets/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns a list of markets metadata.

## Query parameters

- `markets` string[]
- `exchange` string
- `type` 'spot' | 'future' | 'option'
- `base` string
- `quote` string
- `asset` string
- `symbol` string
- `page_size` integer
- `paging_from` 'start' | 'end', PagingFrom
- `next_page_token` string
- `format` string
- `pretty` boolean

## Response `200`

List of markets metadata.

- ReferenceDataMarketsResponse: List of markets.
  - `data` ReferenceDataMarketInfo[], required
    - `market` string, required: Unique name of the market.
    - `exchange` string, required: Name of the exchange.
    - `base` string: Unique name of the base asset.
    - `quote` string: Unique name of the quote asset.
    - `pair` string: Pair string representation as `<base>-<quote>`.
    - `symbol` string: Unique name of the derivative market symbol.
    - `type` string, required: Type of the market (spot, future).
    - `size_asset` string: Name of the derivative contract size asset.
    - `margin_asset` string: Name of the derivative margin asset.
    - `strike` string: Strike price for option trade.
    - `option_contract_type` string: 'call or 'put' option contract type.
    - `is_european` boolean: shows if the options contract is european or not.
    - `contract_size` string: Market contract size.
    - `tick_size` string: Futures tick size.
    - `multiplier_size` string: Futures multiplier size.
    - `listing` string: Derivative contract listing date.
    - `expiration` string: Derivative contract expiration date.
    - `settlement_price` string: Price of underlying asset at contract expiration.
    - `pool_config_id` string: DeFi pooling config ID.
    - `contract_address` string: DeFi contract address.
    - `fee` string: DeFi fee (in percents).
    - `price_includes_fee` boolean: Whether the reported price for a trade is inclusive (true) or exclusive (false) of fee.
    - `variable_fee` boolean: Whether the market has a variable (true) or fixed (false) fee structure.
    - `base_address` string: DeFi base address.
    - `quote_address` string: DeFi quote address.
    - `status` string: Market status (online/offline).
    - `order_amount_increment` string: Volume precision.
    - `order_amount_min` string: Minimum amount size.
    - `order_amount_max` string: Maximum amount size.
    - `order_price_increment` string: Price precision.
    - `order_price_min` string: Minimum price.
    - `order_price_max` string: Maximum price.
    - `order_size_min` string: Minimum order size, where order size is amount * price.
    - `order_taker_fee` string
    - `order_maker_fee` string
    - `margin_trading_enabled` boolean
    - `experimental` boolean: If set to true, indicates that market collection is under active development - there is a chance of temporary discrepancies in the served dataset.
    - `base_native` string: Exchange name of the base asset.
    - `quote_native` string: Exchange name of the quote asset.
  - `next_page_token` string: Token of the next page results for a given request.
  - `next_page_url` string: URL of the next page results for a given request.

## Other responses

- `400`: Market not found.
- `401`: Requested resource requires authorization.
- `414`: Provided URI is too long. It must not be greater than 10000 symbols.

---

[API](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4.md) - [All operations](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/llms.txt) - [OpenAPI document](https://skmtc.dev/coinmetrics/apis/coin-metrics-api-v4/revisions/774268c0a4fe?raw)
