# Vishwa Prediction Events

> Vishwa Prediction Events 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-13).

Fetches a paginated list of prediction market events filtered by category, tag, status, and provider

## Facts

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

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-9e6d27e4
```

Example prompt: Show me the first 10 active prediction market events in the 'market' category tagged '15m', sorted by timestamp descending from Vishwa's agent-native prediction infrastructure.

## When to prefer this

Use this endpoint when you need to programmatically discover and browse prediction market events with flexible filtering by category, time-frame tag, status, and provider — especially in autonomous agent workflows using x402 micropayments where pre-execution control over capital flows matters.

## Known failure modes

- Invalid or unsupported filter value returns empty data or error
- Pagination offsets out of range return empty result set
- Unknown category or provider silently returns no events
- Malformed tags parameter causes no results to match
- API returns success:false if authentication or payment fails

## 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 success flag and a data object containing the list of prediction market events matching the given filters, along with pagination and sorting context echoed back in the response.

## Example request

```json
{
 "end": 10,
 "tag": "15m",
 "start": 0,
 "filter": "active",
 "sortBy": "timestamp",
 "category": "market",
 "provider": "default",
 "sortDirection": "desc"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "end": {
   "type": "integer",
   "description": "Pagination end offset"
  },
  "tag": {
   "type": "string",
   "description": "Single tag filter (e.g. '15m', '5m')"
  },
  "tags": {
   "type": "string",
   "description": "Comma-separated tags (e.g. '5m,15m')"
  },
  "start": {
   "type": "integer",
   "description": "Pagination start offset"
  },
  "filter": {
   "enum": [
    "new",
    "live",
    "trending",
    "upcoming"
   ],
   "type": "string",
   "description": "Status filter"
  },
  "sortBy": {
   "enum": [
    "volume",
    "volume24hr",
    "beginAt"
   ],
   "type": "string",
   "description": "Sort field"
  },
  "category": {
   "enum": [
    "all",
    "crypto",
    "sports",
    "politics",
    "esports",
    "culture",
    "economics",
    "tech",
    "finance",
    "climate & science",
    "weather",
    "mentions"
   ],
   "type": "string",
   "description": "Event category filter"
  },
  "provider": {
   "enum": [
    "polymarket",
    "kalshi"
   ],
   "type": "string",
   "description": "Market provider"
  },
  "subcategory": {
   "type": "string",
   "description": "Subcategory filter"
  },
  "sortDirection": {
   "enum": [
    "asc",
    "desc"
   ],
   "type": "string",
   "description": "Sort direction"
  },
  "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-9e6d27e4/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)
