# Vishwa Prediction Events Search

> Vishwa Prediction Events Search is a paid API for AI agents from api.vishwalab.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-10).

Searches and retrieves prediction market events by keyword, with optional market data and pagination

## Facts

- Endpoint: GET https://api.vishwalab.com/v1/prediction/events/search?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vishwa-prediction-events-search-0f8dd333
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_aZx0XGL9PTPdHrE_uW9md

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 vishwa-prediction-events-search-0f8dd333
```

Example prompt: Search Vishwa for prediction market events related to 'US election 2024', include market data in the results, and return the first 10 results starting from offset 0.

## When to prefer this

Use this endpoint when an AI agent needs to discover or search prediction market events by topic or keyword, especially within the Vishwa agent-native banking ecosystem. Prefer it when you need paginated browsing of events or want to filter by a specific market provider.

## Known failure modes

- Missing required 'query' parameter returns 400 error
- Query exceeding 200 characters returns validation error
- Invalid pagination offsets (e.g. negative numbers) may return empty or error responses
- Provider filter with unknown provider name returns empty results
- Payment not completed (402) blocks access to results

## How this service works

Vishwa is building agent-native banking infrastructure for autonomous capital, bringing pre-execution control to agent-driven payments and capital flows.

## Output

Returns a JSON object with a success boolean and a data object containing matching prediction market events, optionally including associated market data such as odds or liquidity details.

## Example request

```json
{
 "end": 10,
 "query": "artificial intelligence",
 "start": 0
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "end": {
   "type": "integer",
   "description": "Pagination end offset"
  },
  "query": {
   "type": "string",
   "description": "Search keyword (1-200 chars)"
  },
  "start": {
   "type": "integer",
   "description": "Pagination start offset"
  },
  "provider": {
   "enum": [
    "polymarket",
    "kalshi"
   ],
   "type": "string",
   "description": "Market provider"
  },
  "includeMarkets": {
   "type": "string",
   "description": "Include markets in response"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vishwa-prediction-events-search-0f8dd333/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vishwalab.com](https://www.zero.xyz/host/api.vishwalab.com/llms.txt)
