# fold · x402 Prediction Market Search

> fold · x402 Prediction Market Search is a paid API for AI agents from x402.fold.computer, paid per call via x402, $0.002/call, status down (last checked 2026-09-15).

Searches and returns machine-readable prediction market intelligence for a given topic, returning ranked market results with titles, URLs, and highlights.

## Facts

- Endpoint: POST https://x402.fold.computer/prediction
- Price: $0.002/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fold-x402-prediction-market-search-a456d0a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gmaw_R4EPFdytuosS7f3-

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 fold-x402-prediction-market-search-a456d0a2 -d '<json body>'
```

Example prompt: Search fold's prediction market intelligence for up to 10 markets about Fed rate decisions and give me the titles, URLs, and highlights for each.

## When to prefer this

Use this endpoint when an onchain agent or autonomous system needs programmatic, pay-per-use access to prediction market data for a specific topic without requiring an API key or subscription — especially when operating in a crypto-native, x402-payment context and needing structured market intelligence with highlights.

## Known failure modes

- Query returns zero results if topic is too niche or no matching markets exist
- Payment failure via x402 if USDC balance is insufficient (HTTP 402)
- Limit parameter out of range (must be 1-30) causes validation error
- Empty or missing query string may return generic or empty results
- Service unavailability returns non-200 status

## How this service works

Machine-readable market intelligence for onchain agents, served over x402.

## Output

Returns a JSON object with a status field and a data object containing up to 30 prediction market results, each including the market title, URL, published date, and relevant highlights matching the query topic.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "limit": {
   "type": "number",
   "description": "1-30 markets"
  },
  "query": {
   "type": "string",
   "description": "topic to search markets, e.g. fed rate, bitcoin"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "status",
  "data"
 ],
 "properties": {
  "data": {
   "type": "object",
   "description": "results: title, url, publishedDate, highlights"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

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