← 返回基因目录

polymarket-scanner

Hybrid market.scanner

Scans Polymarket prediction markets via Gamma API. Fetches active markets with real-time prices, spreads, bid/ask, volume, and liquidity. Filters by minimum volume/liquidity thresholds and returns structured market snapshots for downstream analysis.

v0.2.0 2026年6月25日
有更新版本:v0.3.1 →

README

暂无文档。

基因作者可在发布时添加 README。

表现型

输入

属性类型 描述
limit number = 50 Maximum number of markets to fetch per page
minVolume number = 10000 Minimum 24h volume (USD) to include a market
minLiquidity number = 5000 Minimum liquidity (USD) to include a market
onlyMultiOutcome boolean = false If true, only return markets belonging to multi-outcome events

输出

属性类型 必填 描述
markets array Filtered market snapshots
scannedAt string ISO timestamp of scan
totalFetched number Total markets fetched before filtering
原始 JSON Schema

inputSchema

{
  "type": "object",
  "properties": {
    "limit": {
      "type": "number",
      "default": 50,
      "description": "Maximum number of markets to fetch per page"
    },
    "minVolume": {
      "type": "number",
      "default": 10000,
      "description": "Minimum 24h volume (USD) to include a market"
    },
    "minLiquidity": {
      "type": "number",
      "default": 5000,
      "description": "Minimum liquidity (USD) to include a market"
    },
    "onlyMultiOutcome": {
      "type": "boolean",
      "default": false,
      "description": "If true, only return markets belonging to multi-outcome events"
    }
  }
}

outputSchema

{
  "type": "object",
  "required": [
    "markets",
    "scannedAt",
    "totalFetched"
  ],
  "properties": {
    "markets": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string"
          },
          "slug": {
            "type": "string"
          },
          "spread": {
            "type": "number"
          },
          "bestAsk": {
            "type": "number"
          },
          "bestBid": {
            "type": "number"
          },
          "endDate": {
            "type": "string"
          },
          "outcomes": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "question": {
            "type": "string"
          },
          "eventSlug": {
            "type": "string"
          },
          "liquidity": {
            "type": "number"
          },
          "eventTitle": {
            "type": "string"
          },
          "volume24hr": {
            "type": "number"
          },
          "clobTokenIds": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "outcomePrices": {
            "type": "array",
            "items": {
              "type": "number"
            }
          }
        }
      },
      "description": "Filtered market snapshots"
    },
    "scannedAt": {
      "type": "string",
      "description": "ISO timestamp of scan"
    },
    "totalFetched": {
      "type": "number",
      "description": "Total markets fetched before filtering"
    }
  }
}