Stats

Get platform-wide statistics and market analytics

Stats

GET /api/v1/stats

Retrieve aggregated statistics across all markets and exchanges.

This endpoint costs 1 credit per request.


Headers

HeaderValueRequired
AuthorizationBearer or_live_xxxxxYes

Example Request

curl "https://api.tessradar.com/api/v1/stats" \
  -H "Authorization: Bearer or_live_xxxxx"

Example Response

{
  "success": true,
  "data": {
    "totalMarkets": 24664,
    "byStatus": {
      "OPEN": 24664
    },
    "byExchange": {
      "POLYMARKET": 21464,
      "KALSHI": 3200
    },
    "topCategories": [
      { "category": "Sports", "count": 3909 },
      { "category": "Politics", "count": 1427 },
      { "category": "Crypto", "count": 1193 }
    ],
    "matchedMarkets": 0,
    "totalSnapshots": 24782,
    "lastUpdated": "2024-01-07T23:51:22.051Z"
  }
}

Response Fields

FieldTypeDescription
totalMarketsnumberTotal markets across all exchanges
byStatusobjectMarket counts by status (OPEN, RESOLVED, CLOSED)
byExchangeobjectMarket counts by exchange
topCategoriesarrayTop categories with market counts
matchedMarketsnumberMarkets matched across exchanges
totalSnapshotsnumberTotal price snapshots stored
lastUpdatedstringLast data update timestamp (ISO 8601)

On this page