# Prediction Market Detail Lookup

> Prediction Market Detail Lookup is a paid API for AI agents from payai.agentstools.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches normalized details for a single prediction market or event by ID, condition ID, slug, or event slug, including outcome probabilities, volume, liquidity, status, and close date.

## Facts

- Endpoint: GET https://payai.agentstools.dev/prediction/market
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-market-detail-lookup-755332a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_64oA6NB5d8qSNYq4cml3C

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-lookup-755332a5
```

Example prompt: Can you pull up the current odds and liquidity for the Polymarket event 'will-the-fed-cut-rates-in-2025' — I want to see the implied probabilities for each outcome and when the market closes?

## When to prefer this

Use this endpoint when you need detailed, normalized data for a single prediction market — including outcome probabilities, volume, liquidity, and status — identified by any of its common identifiers (numeric ID, condition ID, market slug, or event slug). Prefer this over building raw Polymarket API calls when you need auto-detection of ID type and normalized probability outputs in one call.

## Known failure modes

- Market ID not found: returns 404 or empty result if the numeric ID, slug, or condition ID does not exist on Polymarket
- Ambiguous ID type: if auto-detection fails for the provided ID format, may return incorrect market
- Payment failure: x402 payment of $0.01 USDC not sent or rejected, resulting in 402 response
- Invalid venue: only 'polymarket' is supported; other venues return an error
- Malformed condition ID: 0x hex strings that are not valid condition IDs return an error

## How this service works

Detail of ONE prediction market or event by numeric id, 0x conditionId, market-slug or event-slug (auto-detected): normalized outcomes with implied probabilities, volume, liquidity, close date, status and a link-back.

## Output

Returns a normalized object for the prediction market including: list of outcomes with implied probabilities, total trading volume, available liquidity, market close date, current status (open/closed/resolved), and a link back to the market on Polymarket.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "id"
     ],
     "properties": {
      "id": {
       "type": "string",
       "description": "Market/event id: numeric id, 0x conditionId, market-slug or event-slug"
      },
      "venue": {
       "enum": [
        "polymarket"
       ],
       "type": "string",
       "description": "Venue (default polymarket)"
      },
      "id_type": {
       "enum": [
        "market_id",
        "condition_id",
        "market_slug",
        "event_slug"
       ],
       "type": "string",
       "description": "Optional hint; auto-detected if omitted"
      }
     }
    }
   },
   "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-lookup-755332a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from payai.agentstools.dev](https://www.zero.xyz/host/payai.agentstools.dev/llms.txt)
