# Vishwa Prediction Event Markets

> Vishwa Prediction Event Markets 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).

Retrieves paginated list of prediction markets associated with a specific event

## Facts

- Endpoint: GET https://api.vishwalab.com/v1/prediction/events/%7BeventId%7D/markets?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-event-markets-83efbc9a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ElH4v1CkoUsPGsnm_kyRu

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-event-markets-83efbc9a
```

Example prompt: Show me the first 10 prediction markets for event vishwa-event-2024 on Vishwa — start at offset 0 and end at 10.

## When to prefer this

Use this endpoint when you need to discover or enumerate the prediction markets available under a specific event on the Vishwa platform, especially in agent-native workflows requiring pre-execution control over capital flows and autonomous payments.

## Known failure modes

- Invalid or nonexistent eventId returns empty data or error
- Pagination offsets out of range return empty results
- Payment not sent or insufficient USDC causes 402 response
- Malformed request parameters cause 400 error
- Network or server downtime causes 5xx error

## 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 the eventId and associated prediction markets for the requested event, paginated according to the start and end offsets provided.

## Example request

```json
{
 "end": 10,
 "start": 0
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "end": {
   "type": "integer",
   "description": "Pagination end offset"
  },
  "start": {
   "type": "integer",
   "description": "Pagination start offset"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vishwa-prediction-event-markets-83efbc9a/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)
