# Prediction Market AI Analysis

> Prediction Market AI Analysis is a paid API for AI agents from jp-data-api-production.up.railway.app, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Uses Claude AI to analyze a prediction market question and return its current implied probability, key drivers, and factors to watch, in structured English.

## Facts

- Endpoint: GET https://jp-data-api-production.up.railway.app/prediction/analysis
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-market-ai-analysis-5938f3a5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_m6ECoPUxQT7_WG-zYEBMZ

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-ai-analysis-5938f3a5
```

Example prompt: Give me an AI analysis of the prediction market question 'Will the Fed cut rates before December 2025?' — I want the implied probability, the key drivers, and what to watch going forward.

## When to prefer this

Use this endpoint when you want an AI-generated qualitative breakdown of a specific prediction market question — not just raw probabilities, but the narrative explanation of why the market is priced the way it is and what to watch. Prefer this over raw Polymarket data endpoints when the user wants interpretive analysis rather than just numbers.

## Known failure modes

- Missing required query parameter 'q' — returns 400 or error
- Question text too vague or malformed — may return low-quality or generic analysis
- Claude AI backend unavailable — returns 500 or timeout
- Payment not completed — returns HTTP 402 requiring 0.1 USDC via x402 protocol
- Rate limiting if too many requests are made in quick succession

## How this service works

AI analysis of a prediction market question (Claude): current implied probability, key drivers, and what to watch, in structured English. Informational only, no betting advice.

## Output

Returns a structured English analysis including the current implied probability for the prediction market question, the main drivers influencing that probability, and the key signals or events to monitor — all generated by Claude AI. Informational only, no betting advice.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string"
      }
     }
    }
   },
   "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-ai-analysis-5938f3a5/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from jp-data-api-production.up.railway.app](https://www.zero.xyz/host/jp-data-api-production.up.railway.app/llms.txt)
