predictit · git:20260202.77a3ed3 · 2026-02-02 · sha256 a44fee1bfc0d0cc6

predictit git:20260202.77a3ed3A

Immutable. This exact content is served forever at /api/v1/blob/a44fee1bfc0d0cc6.

---
name: predictit
description: "PredictIt political prediction market (read-only)"
emoji: "🗳️"
commands:
  - /pi
---

# PredictIt

Read-only integration with PredictIt, a US political prediction market. View markets and prices.

## Quick Start

```bash
# Search markets
/pi search president

# Get market details
/pi market 6867

# List all markets
/pi all
```

## Commands

| Command | Description |
|---------|-------------|
| `/pi search [query]` | Search markets |
| `/pi market <id>` | Get market details |
| `/pi all` | List all active markets |

**Examples:**
```bash
/pi search election       # Search election markets
/pi market 6867           # Get specific market
/pi all                   # List all markets
```

## Features

- **Political Markets** - US elections, congress, policy
- **Real-time Prices** - Last trade and best bid/ask
- **Contract Details** - Individual outcomes with prices

## Notes

- PredictIt is read-only (no trading API)
- Prices shown are last trade price
- Market volume not exposed by API
- US politics focused

## Price Data

| Field | Description |
|-------|-------------|
| lastTradePrice | Most recent trade price |
| bestBuyYesCost | Best offer to buy Yes |
| bestBuyNoCost | Best offer to buy No |
| bestSellYesCost | Best bid to sell Yes |
| bestSellNoCost | Best bid to sell No |

## Resources

- [PredictIt](https://www.predictit.org/)