---
title: "Contracts"
method: GET
path: "/md/contracts"
tags: ["market-data"]
---

# Contracts

`GET /md/contracts`

## Request

- Base URL: `https://api.qfex.com`
- URL: `https://api.qfex.com/md/contracts`
- Auth: none required

Return mandatory contract metadata and current market data for all symbols.

## Query parameters

- `symbol` string
- `api_version` string

## Response `200`

OK

- ContractsResponseBody
  - `$schema` string, uri: A URL to the JSON Schema for this object.
  - `data` Contract[], nullable, required
    - `base_currency` string, required
    - `base_volume` string, required
    - `funding_interval_minutes` integer, required
    - `funding_rate` string, required
    - `index_currency` string, required
    - `index_price` string, required
    - `last_price` string, required
    - `long_open_interest` string, required
    - `long_open_interest_usd` string, required
    - `next_funding_rate` string, required
    - `next_funding_rate_timestamp` integer, required
    - `open_interest` string, required
    - `open_interest_usd` string, required
    - `product_type` string, required
    - `short_open_interest` string, required
    - `short_open_interest_usd` string, required
    - `target_currency` string, required
    - `target_volume` string, required
    - `ticker_id` string, required

## Other responses

- `default`: Error

## Changes

- **2026-11-03** `0c23dfc24573`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/qfex/apis/qfex-rest-api/changes/md/contracts/get.md)

---

[API](https://skmtc.dev/qfex/apis/qfex-rest-api.md) - [All operations](https://skmtc.dev/qfex/apis/qfex-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qfex/apis/qfex-rest-api/revisions/0c23dfc24573?raw)
