{
  "serviceId": "prediction-market-intel",
  "displayName": "Prediction Market Intelligence",
  "description": "Signals from Polymarket's live public market data: top open markets by trailing volume, the biggest consensus shifts, markets entering or leaving the top 100, and a 0-100 liquidity and spread quality score with reasons. POST /v1/top-markets, /v1/market-momentum, /v1/rotation-diff or /v1/market-quality. Not affiliated with Polymarket. Pay per request in USDC.",
  "category": "finance",
  "resourceUrl": "https://agent.pocket.network/v1/prediction-market-intel",
  "priceUsd": "0.005000",
  "priceVersion": 1,
  "rails": [
    {
      "id": "base",
      "network": "eip155:8453",
      "chainId": 8453,
      "tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "tokenDecimals": 6,
      "payToAddress": "0xF732ea490c5766071785a2310523f7fA2CEbB829"
    }
  ],
  "paymentNetworks": [
    "eip155:8453",
    "eip155:4217"
  ],
  "paymentProtocols": [
    "x402",
    "mpp"
  ],
  "protocols": [
    "rest"
  ],
  "inputSchema": {
    "type": "object",
    "description": "The body of any of the four POST routes; each reads only the fields it uses. top-markets and market-quality take limit and window (24hr, 1wk, 1mo); market-momentum takes limit, window (1d, 1w, 1mo) and direction; rotation-diff takes lookback_hours.",
    "properties": {
      "limit": {
        "type": "integer",
        "minimum": 1,
        "maximum": 100,
        "description": "How many markets to return (top-markets up to 100, default 20; the others up to 50)."
      },
      "window": {
        "type": "string",
        "description": "Trailing window. top-markets and market-quality use 24hr, 1wk or 1mo (default 1mo); market-momentum uses 1d, 1w or 1mo (default 1w)."
      },
      "direction": {
        "type": "string",
        "enum": [
          "up",
          "down",
          "any"
        ],
        "description": "market-momentum only; which way the consensus moved (default any)."
      },
      "lookback_hours": {
        "type": "integer",
        "minimum": 1,
        "maximum": 168,
        "description": "rotation-diff only; how far back to compare the top 100 (default 24)."
      }
    }
  },
  "outputSchema": {
    "type": "object",
    "description": "A JSON object per route: ranked markets with volumes and prices, momentum shifts, entries and exits (or insufficient_history), or quality scores with a reasons array. Errors answer a JSON 4xx with an error field."
  },
  "methods": {
    "GET /v1/health": "read",
    "GET /v1/version": "read",
    "POST /v1/market-momentum": "read",
    "POST /v1/market-quality": "read",
    "POST /v1/rotation-diff": "read",
    "POST /v1/top-markets": "read"
  },
  "firstParty": true,
  "networks": [
    "eip155:8453",
    "eip155:4217"
  ],
  "serving": true,
  "page": "https://agent.pocket.network/services/prediction-market-intel",
  "descriptor": "https://agent.pocket.network/services/prediction-market-intel/descriptor.json"
}