# Polymarket Prediction Market Signal

> Polymarket Prediction Market Signal is a paid API for AI agents from enclave402.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-18).

Fetches live Polymarket crowd-implied probabilities, bid/ask spreads, 24h volume, liquidity, and momentum labels for one specific market or the top markets by volume.

## Facts

- Endpoint: GET https://enclave402.com/api/market/signal
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polymarket-prediction-market-signal-6e35f9f9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rPgB2ZuBXjWk_Uup9L2xx

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 polymarket-prediction-market-signal-6e35f9f9
```

Example prompt: What is the current Polymarket crowd probability for the Fed leaving interest rates unchanged at their October 2026 meeting? Pull the signal for 'will-there-be-no-change-in-fed-interest-rates-after-the-october-2026-meeting-20260617190324031' and include the bid/ask spread and 24h momentum.

## When to prefer this

Choose this endpoint when an agent needs the real-time crowd-implied probability of a specific real-world event (political, macroeconomic, sports, etc.) from Polymarket, or wants a ranked list of the most actively traded prediction markets. It is the right choice for event probability lookup, momentum analysis, and liquidity assessment. Do NOT use it for spot cryptocurrency prices, DEX swap quotes, or order execution — it is strictly read-only prediction market data.

## Known failure modes

- Invalid or non-existent slug returns an error or empty markets array
- Limit out of range (below 1 or above 10) causes a validation error
- Upstream Polymarket Gamma/CLOB APIs unavailable causes a fetch failure; no charge is applied on failure
- Market has ended or been resolved — data may be stale or absent
- Rate limiting or x402 payment settlement failure may prevent response

## How this service works

Enclave402: x402 pay-per-call gateway on Base. Live Polymarket signals, IPFS pinning, EIP-712 attestations. Receipt-gated settlement, replay protection, no charge on failure.

## Output

Returns a JSON payload with one or more market objects, each containing the market question, outcome prices (implied probabilities), best bid, best ask, spread, 24h price change, a deterministic momentum label (e.g. FLAT, UP, DOWN), 24h volume, liquidity depth, and response timestamps. When no slug is provided, returns the top markets ranked by 24h volume up to the requested limit.

## 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",
     "required": [],
     "properties": {
      "slug": {
       "type": "string",
       "pattern": "^[a-z0-9-]{3,200}$",
       "examples": [
        "will-there-be-no-change-in-fed-interest-rates-after-the-october-2026-meeting-20260617190324031"
       ],
       "maxLength": 200,
       "description": "Optional Polymarket market slug for one specific market. Omit to receive the top markets by 24h volume."
      },
      "limit": {
       "type": "integer",
       "default": 5,
       "maximum": 10,
       "minimum": 1,
       "description": "Number of top markets to return when slug is omitted."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "source",
      "query",
      "markets",
      "asOf",
      "settled",
      "ts"
     ],
     "properties": {
      "ts": {
       "type": "integer",
       "description": "Response timestamp, UNIX milliseconds"
      },
      "asOf": {
       "type": "string",
       "description": "ISO-8601 timestamp the data was fetched"
      },
      "query": {
       "type": "object",
       "description": "Echo of the resolved query (slug, or top/orderBy)"
      },
      "source": {
       "enum": [
        "polymarket-gamma",
        "polymarket-gamma+clob+trades"
       ],
       "type": "string",
       "description": "Upstream data providers"
      },
      "markets": {
       "type": "array",
       "items": {
        "type": "object",
        "required": [
         "id",
         "slug",
         "question",
         "outcomes",
         "outcomePrices",
         "impliedProbability",
         "momentum"
        ],
        "properties": {
         "id": {
          "type": "string",
          "description": "Polymarket market id"
         },
         "slug": {
          "type": "string",
          "description": "URL slug of the market"
         },
         "spread": {
          "type": [
         
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ts": 1767225600000,
  "asOf": "2026-01-01T00:00:00.000Z",
  "query": {
   "top": 1,
   "orderBy": "volume24hr"
  },
  "source": "polymarket-gamma",
  "markets": [
   {
    "id": "0",
    "slug": "sample-market",
    "spread": 0.02,
    "bestAsk": 0.51,
    "bestBid": 0.49,
    "endDate": null,
    "momentum": "FLAT",
    "outcomes": [
     "Yes",
     "No"
    ],
    "question": "Sample question?",
    "liquidity": 0,
    "volume24hr": 0,
    "conditionId": null,
    "outcomePrices": [
     0.5,
     0.5
    ],
    "oneDayPriceChange": 0,
    "impliedProbability": 0.5
   }
  ],
  "settled": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/polymarket-prediction-market-signal-6e35f9f9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from enclave402.com](https://www.zero.xyz/host/enclave402.com/llms.txt)
