# Financial Data x402 – Prediction Market Prices

> Financial Data x402 – Prediction Market Prices is a paid API for AI agents from x402-stock-indicators.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-12).

Fetches live prediction market data for a specific market by source and market ID, including outcome probabilities, trading volume, and close date.

## Facts

- Endpoint: GET https://x402-stock-indicators.vercel.app/prediction-market/%7Bsource%7D/%7Bmarket_id%7D
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/financial-data-x402-prediction-market-prices-3cacc218
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Jwjt3Ts4yUV7bgE-he-AC

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 financial-data-x402-prediction-market-prices-3cacc218
```

Example prompt: What's the current probability of a Fed rate hike in 2026 according to Polymarket? Pull up the market with ID 'fed-rate-hike-in-2026' from the polymarket source.

## When to prefer this

Choose this endpoint when you need real-time crowd-implied probabilities for a specific economic, political, or macro event from a prediction market like Polymarket. It is ideal for agents embedding market-derived probabilities into reports, dashboards, or decision logic. Prefer it over manual Polymarket browsing when you need structured JSON output. It complements macro data endpoints (e.g. FOMC calendar, jobless claims) by adding market-implied probability context.

## Known failure modes

- Invalid or unknown market_id returns an error or empty result
- Unsupported source value yields a 404 or error response
- Market may be resolved/closed and return a non-active status
- Payment failure over x402 protocol blocks the request
- Rate or network issues on Vercel edge may cause transient 5xx errors

## How this service works

Pay-per-call stock, macro, on-chain, and crypto data over the x402 protocol. USDC on Base or Solana, no API keys, no subscriptions.

## Output

Returns a JSON object with the market ID, title, source, status (e.g. active), a list of outcomes with names and probabilities (e.g. Yes: 0.615, No: 0.385), the close date, total volume in USD, and 24-hour volume in USD.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "id": "fed-rate-hike-in-2026",
  "title": "Fed rate hike in 2026?",
  "source": "polymarket",
  "status": "active",
  "outcomes": [
   {
    "name": "Yes",
    "probability": 0.615
   },
   {
    "name": "No",
    "probability": 0.385
   }
  ],
  "close_date": "2026-12-09T00:00:00Z",
  "volume_usd": 5645666.92,
  "volume_24h_usd": 624904.36
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/financial-data-x402-prediction-market-prices-3cacc218/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-stock-indicators.vercel.app](https://www.zero.xyz/host/x402-stock-indicators.vercel.app/llms.txt)
