# 2s Predict Markets

> 2s Predict Markets is a paid API for AI agents from 2s.io, paid per call via x402, $0.0025/call, status unknown (last checked 2026-09-13).

Fetches a paginated list of prediction market listings filterable by activity, closure status, tag, and sortable by volume, liquidity, or date.

## Facts

- Endpoint: GET https://2s.io/api/predict/markets
- Price: $0.0025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-predict-markets-bb52c446
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BWtP7PyMT2H34JcBHylzi

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 2s-predict-markets-bb52c446
```

Example prompt: Show me the top 20 most active prediction markets right now, sorted by volume in descending order, only open ones — no closed markets.

## When to prefer this

Use this endpoint when you need to discover or browse prediction markets with flexible filtering by active/closed status, topic tag, or sort by trading metrics like volume or liquidity. Prefer this over general finance endpoints when specifically looking for crowdsourced probability or forecasting markets.

## Known failure modes

- Invalid query parameter value (e.g. order value not in enum) returns 400 bad request
- limit exceeds maximum of 100 returns validation error
- Payment not included or insufficient USDC via x402 returns 402 Payment Required
- offset out of range returns empty result set
- tagId not found returns empty list

## How this service works

Browse Polymarket prediction markets. Filter by active/closed, order by volume/liquidity/endDate, page with limit/offset. Each market returns its question, outcomes + live outcome prices (implied probabilities), CLOB token ids (use with predict.price / predict.orderbook / predict.price-history), USD volume + liquidity, open/close dates, and the Polymarket URL. Read-only mirror of Polymarket's public market list.

## Output

A paginated list of prediction market records including metadata such as market name, tag, volume, liquidity, start date, and end date, filtered and ordered according to the requested parameters.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "properties": {
      "limit": {
       "type": "integer",
       "maximum": 100,
       "minimum": 1
      },
      "order": {
       "enum": [
        "volume",
        "liquidity",
        "endDate",
        "startDate"
       ],
       "type": "string"
      },
      "tagId": {
       "type": "integer"
      },
      "active": {
       "type": "boolean"
      },
      "closed": {
       "type": "boolean"
      },
      "offset": {
       "type": "integer",
       "minimum": 0
      },
      "ascending": {
       "type": "boolean"
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-predict-markets-bb52c446/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
