# Polymarket Prediction Market Data API

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

Fetches trending Polymarket prediction markets with question text, outcome prices (implied probabilities), trading volume, and end dates; supports keyword search or defaults to trending.

## Facts

- Endpoint: GET https://jp-data-api-production.up.railway.app/prediction/markets
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/polymarket-prediction-market-data-api-5b85a625
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aOFACV_7Szi47IT58wxPu

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 polymarket-prediction-market-data-api-5b85a625
```

Example prompt: What are the trending Polymarket prediction markets right now, including their outcome prices and volumes? Also search for any markets related to the US election.

## When to prefer this

Use this endpoint when you need real-time Polymarket prediction market data including outcome prices and volume for forecasting, news analysis, or sentiment tools. Prefer this over a generic web scrape when you need structured probability and volume data directly from Polymarket markets. If you also need AI analysis of a specific market question, see the sibling AI analysis endpoint on the same host.

## Known failure modes

- No markets found for the given keyword — empty result set returned
- Payment of 0.01 USDC not fulfilled — HTTP 402 response blocking access
- Network timeout on Railway-hosted service — connection error
- Invalid query parameter format — may return error or empty results
- Polymarket data source unavailable — upstream data may be stale or missing

## How this service works

Prediction market data (Polymarket): trending markets with question, outcome prices (implied probability), volume, end date. For forecasting agents, news analysis, sentiment tools.

## Output

Returns a list of Polymarket prediction markets, each including the market question, outcome prices representing implied probabilities, trading volume, and expiry/end date. Without a query, returns currently trending markets; with a keyword query, returns matching markets.

## 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": [],
     "properties": {
      "q": {
       "type": "string",
       "description": "keyword, or omit for trending"
      }
     }
    }
   },
   "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/polymarket-prediction-market-data-api-5b85a625/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)
