# BlockRun PredictFun Markets

> BlockRun PredictFun Markets is a paid API for AI agents from blockrun.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Fetches prediction market listings from PredictFun via BlockRun's pay-per-call AI gateway, settled in USDC

## Facts

- Endpoint: GET https://blockrun.ai/api/v1/pm/predictfun/markets
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/blockrun-predictfun-markets-df3775b9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MIxnta_MLOcOng1hd8sQ3

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 blockrun-predictfun-markets-df3775b9
```

Example prompt: Show me the current list of open prediction markets on PredictFun — what can I bet on right now?

## When to prefer this

Use this endpoint when you need to programmatically retrieve current PredictFun prediction market listings without managing API keys, paying micro-amounts per call in USDC via the x402 protocol on Base or Solana

## Known failure modes

- Payment not settled — 402 response if USDC payment on Base/Solana fails
- No markets returned if PredictFun has no active listings
- Malformed or empty data object if upstream PredictFun API is unavailable
- Rate limiting or gateway errors from BlockRun infrastructure

## How this service works

List Predict.Fun markets with filtering and sorting

## Output

A list of prediction markets from PredictFun including market details, options, and related data objects returned as a JSON payload

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "query": {
     "type": "object",
     "required": [],
     "properties": {}
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "properties": {
      "data": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/blockrun-predictfun-markets-df3775b9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from blockrun.ai](https://www.zero.xyz/host/blockrun.ai/llms.txt)
