# Prediction Market Detail

> Prediction Market Detail is a paid API for AI agents from www.x402financialdata.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-13).

Fetches current odds, volume, and close date for a single prediction market by exact ID from Polymarket or Kalshi

## Facts

- Endpoint: GET https://www.x402financialdata.com/prediction-market/:source/:market_id
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-market-detail-f77534b7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rCG51FWqEukMJt_rZAuIK

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 prediction-market-detail-f77534b7
```

Example prompt: Pull the latest odds and volume for the Polymarket market 'fed-rate-hike-in-2026' — I want to see the current probability and how much has been traded.

## When to prefer this

Use this endpoint when you already have a specific Polymarket slug or Kalshi ticker and need the freshest odds without re-running a search. Prefer this over the search endpoint when you want to avoid paying for search again or need a quick real-time refresh of a known market's data.

## Known failure modes

- Invalid or unknown market_id returns a 404 or error response
- Wrong source enum for the given ID (e.g. passing a Kalshi ticker with source=polymarket) returns no data or error
- Market has closed and data may be stale or unavailable
- Network/API downtime from underlying Polymarket or Kalshi data feeds
- Malformed slug or ticker format causes a bad request error

## How this service works

A single prediction market's current odds, volume, and close date by exact ID -- from Polymarket (slug) or Kalshi (ticker), whichever you pass as `source`. Pairs with /prediction-markets: search there first to find an ID, then re-fetch it here for the freshest odds without re-searching. $0.01/call.

## Output

Returns the current odds (probabilities for each outcome), total trading volume, market close date, and other details for the specified prediction market from either Polymarket (by slug) or Kalshi (by ticker).

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "source",
      "market_id"
     ],
     "properties": {
      "source": {
       "enum": [
        "polymarket",
        "kalshi"
       ],
       "type": "string",
       "description": "Which venue the market_id belongs to."
      },
      "market_id": {
       "type": "string",
       "description": "Polymarket slug (e.g. 'fed-rate-hike-in-2026') or Kalshi ticker (e.g. 'KXFEDDECISION-27DEC-H26')."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/prediction-market-detail-f77534b7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.x402financialdata.com](https://www.zero.xyz/host/www.x402financialdata.com/llms.txt)
