# Vishwa Prediction History

> Vishwa Prediction History 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 history of prediction events for a given owner or position on Vishwa's agent-native banking infrastructure.

## Facts

- Endpoint: GET https://api.vishwalab.com/v1/prediction/history?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-history-e64d12ee
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WagqUXjRXquZHtpfkDpHZ

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-history-e64d12ee
```

Example prompt: Show me the prediction history on Vishwa for owner public key 'ABC123XYZ' — pull records starting from offset 0 up to offset 20.

## When to prefer this

Use this endpoint when you need to audit, review, or paginate through historical prediction events associated with a specific owner wallet or position on Vishwa's agent-native banking platform. Prefer this over generic blockchain explorers when you need structured, pre-filtered prediction history tied to Vishwa's capital flow infrastructure.

## Known failure modes

- Invalid or missing ownerPubkey returns empty or error result
- Out-of-range pagination offsets return empty data
- Invalid event ID returns no matching records
- Payment failure (402) if USDC micropayment not completed
- Malformed public key string causes query to return no 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 paginated prediction history events filtered by the specified owner public key, position public key, or event ID.

## Example request

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

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "id": {
   "type": "integer",
   "description": "Filter by history event ID"
  },
  "end": {
   "type": "integer",
   "description": "Pagination end offset"
  },
  "start": {
   "type": "integer",
   "description": "Pagination start offset"
  },
  "ownerPubkey": {
   "type": "string",
   "description": "Filter by owner public key"
  },
  "positionPubkey": {
   "type": "string",
   "description": "Filter by position public key"
  }
 }
}
```

## 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-history-e64d12ee/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)
