# Speccy x402 — Polymarket Top Markets

> Speccy x402 — Polymarket Top Markets is a paid API for AI agents from api.speccy.cloud, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns up to 50 top Polymarket prediction markets ranked by 24h volume, liquidity, or start date, with prices and outcomes.

## Facts

- Endpoint: GET https://api.speccy.cloud/v1/predictions/polymarket
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/speccy-x402-polymarket-top-markets-d0b9939f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fE823BLlUjG_3uG-bDZq3

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability speccy-x402-polymarket-top-markets-d0b9939f
```

Example prompt: Show me the top 30 Polymarket prediction markets sorted by 24-hour volume, including their current outcome prices and liquidity.

## When to prefer this

Use this endpoint when you need a ranked snapshot of the top Polymarket prediction markets by trading activity, liquidity, or recency — especially useful for market monitoring, trading research, or surfacing trending forecasting questions. Prefer this over scraping Polymarket directly or building your own aggregation; it delivers structured, ready-to-use data including outcome prices for up to 50 markets in a single call.

## Known failure modes

- Payment failure: x402 payment of $0.01 USDC not completed or invalid — request rejected
- Invalid sort parameter: value outside allowed enum (volume, liquidity, startDate) returns validation error
- Limit out of range: value below 1 or above 50 returns validation error
- Polymarket data unavailable: upstream API outage may return empty or partial results
- Network timeout: slow upstream response from Polymarket data source

## How this service works

Top Polymarket prediction markets by 24h volume. Returns up to 50 markets with id, question, slug, volume, volume24hr, liquidity, endDate, outcomes and outcomePrices.

## Output

A JSON list of up to 50 Polymarket prediction markets, each containing the market id, question text, URL slug, total volume, 24-hour volume, liquidity, end date, outcome labels (e.g. Yes/No), and current outcome prices as probabilities.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "sort": {
       "enum": [
        "volume",
        "liquidity",
        "startDate"
       ],
       "type": "string",
       "default": "volume",
       "description": "Sort field"
      },
      "limit": {
       "type": "integer",
       "default": 20,
       "maximum": 50,
       "minimum": 1,
       "description": "Number of markets (1-50, default 20)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/speccy-x402-polymarket-top-markets-d0b9939f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.speccy.cloud](https://www.zero.xyz/host/api.speccy.cloud/llms.txt)
