Luxor Documentation Hub Logo
Derivatives/API Documentation

List Contracts

Retrieve a list of contracts for a specific currency type with filtering options

GET
/api/v1/derivatives/contracts/{currency_type}

Authorization

authorization<token>

Use your API key here.

In: header

Path Parameters

currency_typeRequiredstring

Currency type (e.g., BTC, USD)

Query Parameters

statusstring

Filter by contract status

Default: "ALL"Value in: "ALL" | "ACTIVE" | "SETTLED"
sidestring

Filter by contract side

Default: "ALL"Value in: "ALL" | "BUY" | "SELL"
typestring

Filter by contract type

Default: "ALL"Value in: "STANDARD" | "UPFRONT" | "ALL"
page_sizeinteger

Number of items per page

Default: 50Minimum: 1Maximum: 100
page_numberinteger

Page number for pagination

Default: 1Minimum: 1
curl -X GET "https://app.luxor.tech/api/v1/derivatives/contracts/<string>?status=ALL&side=ALL&type=STANDARD&page_size=50&page_number=1" \
  -H "authorization: <token>"

List of contracts

{
  "contracts": [
    {
      "status": "ACTIVE",
      "side": "SELL",
      "denomination": "BTC",
      "type": "STANDARD",
      "start_date": "2025-07-17",
      "end_date": "2025-10-18",
      "unit_hashprice": 0.00005049,
      "daily_hashrate_ph": 20
    }
  ],
  "pagination": {
    "page_number": 1,
    "page_size": 50,
    "item_count": 1,
    "previous_page_url": null,
    "next_page_url": null
  }
}