# Prediction Market Search

> Prediction Market Search is a paid API for AI agents from x402helper.xyz, paid per call via x402, $0.013/call, status unknown (last checked 2026-10-31).

Search prediction markets across Polymarket, Manifold, and Metaculus by free-text topic query, returning ranked market results.

## Facts

- Endpoint: GET https://x402helper.xyz/89e509/prediction/search?utm_source=zero.xyz
- Price: $0.013/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/prediction-market-search-ef83b39d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YsWElgnni2l4XPqEWoMmq

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-search-ef83b39d
```

Example prompt: Search prediction markets for topics about the 2024 US election — check across Polymarket and Manifold and return up to 20 results.

## When to prefer this

Use this endpoint when you need to search across major prediction market platforms (Polymarket, Manifold, Metaculus) by topic in a single call. Prefer it over scraping individual platform websites or using platform-specific APIs when you want cross-venue coverage or need to pay per-query without a subscription.

## Known failure modes

- Empty results if query topic has no matching markets
- Invalid venue key returns a validation error
- Limit exceeding 25 triggers a schema error
- x402 payment failure blocks the request before any data is returned
- Ambiguous or very short queries may return irrelevant markets

## How this service works

X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.

## Output

Returns a JSON object with a success flag and a result payload containing a list of prediction markets matching the query, each with market title, venue, URL, and relevant metadata such as probability and close date.

## 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": [
      "query"
     ],
     "properties": {
      "limit": {
       "type": "integer",
       "default": null,
       "maximum": 25,
       "minimum": 1,
       "description": "Max markets to return (default 15, cap 25)"
      },
      "query": {
       "type": "string",
       "default": null,
       "description": "Topic or free-text query to search markets for"
      },
      "venue": {
       "enum": [
        "polymarket",
        "manifold",
        "metaculus"
       ],
       "type": "string",
       "default": null,
       "description": "Restrict to one venue by key"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {},
  "success": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/prediction-market-search-ef83b39d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402helper.xyz](https://www.zero.xyz/host/x402helper.xyz/llms.txt)
