# prediction-search

> prediction-search 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).

Cross-venue prediction market search that returns normalized markets from Polymarket and Manifold under a unified schema in a single call

## Facts

- Endpoint: GET https://payai.agentstools.dev/prediction/search
- 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-search-70308cb6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oNvofKCDfSyvEo02RGpUx

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-search-70308cb6
```

Example prompt: Search prediction markets on both Polymarket and Manifold for 'US 2024 election' and show me up to 20 results with their implied probabilities, volumes, and close dates.

## When to prefer this

Choose this endpoint when you need to aggregate prediction market data from multiple venues (Polymarket + Manifold) in a single normalized response without writing custom integration code for each platform's API. Ideal for agents that need to quickly surface crowd-sourced probability estimates on news events, politics, sports, or financial outcomes without managing API keys or reconciling differing data schemas across venues.

## Known failure modes

- Query returns no results if topic is too niche or misspelled
- Venue parameter restricted to unavailable venue returns empty list
- Limit exceeds cap of 25 — capped silently at maximum
- Network timeout if upstream venue APIs are slow
- Payment failure if USDC balance is insufficient for the $0.01 call cost

## How this service works

Cross-venue prediction-market search: one query returns a ranked list of NORMALIZED markets from Polymarket (real-money) and Manifold (play-money) under one schema — implied probability, outcomes, volume, liquidity, close date, status, money_type and a link-back. One call instead of hitting each venue's API and reconciling their shapes.

## Output

A ranked list of normalized prediction market objects, each containing: market title, implied probability, available outcomes, trading volume, liquidity, close date, open/closed status, money type (real vs play), venue name, and a direct link back to the market on Polymarket or Manifold.

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