Markets

List recurring crypto window markets

GET
/crypto/recurring-markets

Authorization

appId
headerx-app-id<token>

Your application ID. Required on app-tier and user-tier routes. Omitted on routes that authenticate with x-app-api-key only.

Query Parameters

assets?array<string>|string
durations?array<>|
interval?string

Recurring crypto duration. Accepts canonical ISO-8601 durations (PT5M, PT15M, PT30M, PT1H, PT4H, P1D) or friendly aliases such as 5m, 15m, 30m, 1h, 4h, and 1d.

window?"current"
Value in"current"
venues?array<|>|||string
status?array<>|
windowStartFrom?string
windowStartTo?string
cursor?string
limit?number
Range1 <= value <= 100
includeOrderbookPrices?string
Value in"true""false"
includeReferencePrices?string
Value in"true""false"
includeDirectVenueMarkets?stringDeprecated

Deprecated and ignored. Recurring windows are listed from sufwan-local-test's own market data before they open; the response is the same with or without this parameter.

Value in"true""false"
includeOrderbookDepth?string
Value in"true""false"
orderbookDepth?integer
Range1 <= value <= 15
orderbookDepthAmountUsd?number
Range0 <= value

Response Body

200

application/json
  1. response
data*array<>
nextCursor*string
hasMore*boolean
Example Request
curl -X GET 'https://api.t.sufwankhalid.com/crypto/recurring-markets'
Example Response
{  "data": [    {      "id": "string",      "asset": "string",      "quoteAsset": "USD",      "duration": "PT5M",      "windowStart": "string",      "windowEnd": "string",      "status": "open",      "markets": [        {          "venue": "kalshi",          "venueEventId": "string",          "venueMarketId": "string",          "externalEventId": "string",          "externalMarketId": "string",          "question": "string",          "status": "open",          "priceSource": "snag",          "routeable": true,          "splitOrdersAllowed": true,          "outcomes": [            {              "venueMarketOutcomeId": "string",              "externalOutcomeId": "string",              "routeable": true,              "splitOrdersAllowed": true,              "label": "string",              "title": "string",              "midpoint": 0,              "bestBid": 0,              "bestAsk": 0,              "markSource": "string",              "lastKnownPrice": 0,              "orderbookDepth": {                "currency": "USD",                "amountUsd": 0,                "buy": {                  "levels": [                    {                      "price": 0,                      "size": 0,                      "notionalUsd": 0,                      "cumulativeSize": 0,                      "cumulativeNotionalUsd": 0,                      "fillSize": 0,                      "fillNotionalUsd": 0                    }                  ],                  "totalSize": 0,                  "totalNotionalUsd": 0,                  "requestedNotionalUsd": 0,                  "filledSize": 0,                  "filledNotionalUsd": 0,                  "unfilledNotionalUsd": 0,                  "avgPrice": 0,                  "worstPrice": 0,                  "fillsComplete": true                },                "sell": {                  "levels": [                    {                      "price": 0,                      "size": 0,                      "notionalUsd": 0,                      "cumulativeSize": 0,                      "cumulativeNotionalUsd": 0,                      "fillSize": 0,                      "fillNotionalUsd": 0                    }                  ],                  "totalSize": 0,                  "totalNotionalUsd": 0,                  "requestedNotionalUsd": 0,                  "filledSize": 0,                  "filledNotionalUsd": 0,                  "unfilledNotionalUsd": 0,                  "avgPrice": 0,                  "worstPrice": 0,                  "fillsComplete": true                }              }            }          ],          "metrics": {            "volume": 0,            "volume24h": 0,            "openInterest": 0,            "liquidity": 0,            "spread": 0          },          "resolution": {            "sourceName": "string",            "sourceUrl": "string",            "sourceDomain": "string",            "rawCriteria": null,            "confidence": "verified"          },          "referencePrice": {            "asset": "string",            "quoteAsset": "USD",            "raw": "string",            "decimals": 0,            "normalized": 0,            "timestamp": "string",            "provider": "string",            "providerMarketId": "string",            "confidence": "verified",            "fetchedAt": "string",            "ageMs": 0,            "refreshing": true,            "stale": true          }        }      ],      "comparisons": {        "referencePrice": {          "count": 0,          "min": {            "venue": "kalshi",            "venueMarketId": "string",            "value": 0,            "label": "string",            "source": "referencePrice",            "provider": "string",            "providerMarketId": "string",            "timestamp": "string",            "confidence": "verified"          },          "max": {            "venue": "kalshi",            "venueMarketId": "string",            "value": 0,            "label": "string",            "source": "referencePrice",            "provider": "string",            "providerMarketId": "string",            "timestamp": "string",            "confidence": "verified"          },          "spread": 0,          "spreadBps": 0,          "byVenue": [            {              "venue": "kalshi",              "venueMarketId": "string",              "value": 0,              "label": "string",              "source": "referencePrice",              "provider": "string",              "providerMarketId": "string",              "timestamp": "string",              "confidence": "verified"            }          ]        },        "outcomePrices": {          "up": {            "count": 0,            "min": {              "venue": "kalshi",              "venueMarketId": "string",              "value": 0,              "label": "string",              "source": "referencePrice",              "provider": "string",              "providerMarketId": "string",              "timestamp": "string",              "confidence": "verified"            },            "max": {              "venue": "kalshi",              "venueMarketId": "string",              "value": 0,              "label": "string",              "source": "referencePrice",              "provider": "string",              "providerMarketId": "string",              "timestamp": "string",              "confidence": "verified"            },            "spread": 0,            "spreadBps": 0,            "byVenue": [              {                "venue": "kalshi",                "venueMarketId": "string",                "value": 0,                "label": "string",                "source": "referencePrice",                "provider": "string",                "providerMarketId": "string",                "timestamp": "string",                "confidence": "verified"              }            ]          },          "down": {            "count": 0,            "min": {              "venue": "kalshi",              "venueMarketId": "string",              "value": 0,              "label": "string",              "source": "referencePrice",              "provider": "string",              "providerMarketId": "string",              "timestamp": "string",              "confidence": "verified"            },            "max": {              "venue": "kalshi",              "venueMarketId": "string",              "value": 0,              "label": "string",              "source": "referencePrice",              "provider": "string",              "providerMarketId": "string",              "timestamp": "string",              "confidence": "verified"            },            "spread": 0,            "spreadBps": 0,            "byVenue": [              {                "venue": "kalshi",                "venueMarketId": "string",                "value": 0,                "label": "string",                "source": "referencePrice",                "provider": "string",                "providerMarketId": "string",                "timestamp": "string",                "confidence": "verified"              }            ]          }        }      }    }  ],  "nextCursor": "string",  "hasMore": true}