# x402stock Prediction Markets Data

> x402stock Prediction Markets Data is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402 or MPP, $0.03/call, status unknown (last checked 2026-10-29).

Fetches prediction market data including odds, contracts, and sentiment for AI agent consumption, paid per-request in USDC via x402

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/prediction-markets?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-prediction-markets-data-9acdb8c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_0cNqEbI5GDp3vI2zkAsc1

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 x402stock-prediction-markets-data-9acdb8c1
```

Example prompt: Can you pull the latest prediction market data for the upcoming Fed interest rate decision and tell me the implied probability of a rate cut?

## When to prefer this

Choose this endpoint when you need pay-per-use, no-account-required access to prediction market data for AI agent workflows, especially when integrating alongside other x402stock financial data (stocks, macro, crypto) in a unified pipeline. Prefer this over Polymarket or Kalshi direct APIs when you want autonomous agent payment via USDC x402 without managing API keys or subscriptions.

## Known failure modes

- Insufficient USDC balance causes payment failure and 402 response
- Invalid or unsupported properties filter returns empty results or 400 error
- Prediction market data may be delayed or unavailable during off-hours for certain event categories
- x402 payment protocol handshake failure causes request to not complete
- Rate limits or network timeouts from upstream prediction market data sources

## How this service works

Use to see where prediction-market money is flowing: the most recently traded Polymarket outcome tokens with implied probability (last on-chain price), today's VWAP and USD volume, and indexed totals — decoded by our own indexer from CTF Exchange V2 events on the public Polygon ledger, not from any Polymarket API. `?limit=` up to 100. From x402stock, a market & economic data API (x402, USDC).

## Output

Returns prediction market data including contract listings, current prices or odds, implied probabilities, volume, and related metadata for queried events or markets, delivered as structured JSON

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "source",
  "as_of",
  "venue",
  "note",
  "indexer",
  "count",
  "markets"
 ],
 "properties": {
  "note": {
   "type": "string"
  },
  "as_of": {
   "type": "string"
  },
  "count": {
   "type": "number"
  },
  "venue": {
   "type": "string",
   "const": "polymarket"
  },
  "source": {
   "type": "string",
   "const": "x402stock"
  },
  "indexer": {
   "type": "object",
   "required": [
    "cursor_standard",
    "cursor_neg_risk",
    "tokens_tracked"
   ],
   "properties": {
    "tokens_tracked": {
     "type": "number"
    },
    "cursor_neg_risk": {
     "anyOf": [
      {
       "type": "number"
      },
      {
       "type": "null"
      }
     ]
    },
    "cursor_standard": {
     "anyOf": [
      {
       "type": "number"
      },
      {
       "type": "null"
      }
     ]
    }
   },
   "additionalProperties": false
  },
  "markets": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "token_id",
     "title",
     "condition_id",
     "neg_risk",
     "implied_probability",
     "last_side",
     "vwap_today",
     "volume_usd_today",
     "matches_today",
     "volume_usd_indexed",
     "matches_indexed",
     "last_block",
     "updated_at"
    ],
    "properties": {
     "title": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "neg_risk": {
      "type": "boolean"
     },
     "token_id": {
      "type": "string"
     },
     "last_side": {
      "enum": [
       "buy",
       "sell"
      ],
      "type": "string"
     },
     "last_block": {
      "type": "number"
     },
     "updated_at": {
      "type": "string"
     },
     "vwap_today": {
      "anyOf": [
       {
        "type": "number"
       },
       {
        "type": "null"
       }
      ]
     },
     "condition_id": {
      "anyOf": [
       {
        "type": "string"
       },
       {
        "type": "null"
       }
      ]
     },
     "matches_today": {
      "type": "number"
     },
     "matches_indexed": {
      "type": "number"
     },
     "volume_usd_today": {
      "type": "number"
     },
     "volume_usd_indexed": {
      "type": "number"
     },
     "implied_probability": {
      "type": "number"
     }
    },
    "additionalProperties": false
   }
  }
 },
 "additionalProperties": false
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-prediction-markets-data-9acdb8c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
