GET
/
api
/
markets
/
stats
curl --request GET \
  --url https://api.data.adj.news/api/markets/stats \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "total_markets": 123,
    "active_markets": 123,
    "total_volume": 123,
    "avg_probability": 123,
    "platforms": [
      {
        "platform": "<string>",
        "count": 123
      }
    ],
    "categories": [
      {
        "category": "<string>",
        "count": 123
      }
    ]
  }
}

Get Overall Market Statistics

This endpoint provides aggregated statistics across all markets, offering a high-level view of the prediction market landscape. It’s useful for dashboards, reporting, and analysis of market trends.

Response Format

The response includes various statistical measures organized by category:

{
  "data": {
    "total_markets": 12500,
    "active_markets": 4320,
    "total_volume": 1250000.75,
    "avg_probability": 0.47,
    "platforms": [
      {
        "platform": "polymarket",
        "count": 5200
      },
      {
        "platform": "kalshi",
        "count": 3100
      },
      {
        "platform": "manifold",
        "count": 2800
      },
      // ... more platforms
    ],
    "categories": [
      {
        "category": "politics",
        "count": 3800
      },
      {
        "category": "sports",
        "count": 2600
      },
      {
        "category": "entertainment",
        "count": 1200
      },
      // ... more categories
    ]
  }
}

Statistics Included

The endpoint provides these key statistics:

  • Total Markets: Total number of markets in the database
  • Active Markets: Number of currently active markets
  • Total Volume: Sum of trading volume across all markets
  • Average Probability: Average probability across all markets
  • Platform Distribution: Count of markets per platform
  • Category Distribution: Count of markets per category

No Parameters Required

This endpoint doesn’t require any parameters and returns a comprehensive statistical overview of all market data.

Refresh Rate

Statistics are calculated in real-time when the endpoint is called, ensuring the most up-to-date information.

Use Cases

  1. Market Dashboards: Create statistical dashboards showing market distribution
  2. Platform Comparison: Compare the size and activity of different prediction platforms
  3. Category Analysis: Identify the most popular market categories
  4. Meta-Analysis: Perform analysis on the prediction market ecosystem as a whole

Authorizations

Authorization
string
header
required

Enter your API key as the bearer token

Response

200 - application/json
Market statistics
data
object