# AgentFlare Prediction Market Data

> AgentFlare Prediction Market Data is a paid API for AI agents from agent.agentflare.org, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Fetches structured JSON data for a specific prediction market by slug, including odds, outcomes, and cited research

## Facts

- Endpoint: GET https://agent.agentflare.org/predictions/%7Bslug%7D.data.json?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentflare-prediction-market-data-671a4ee6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MKqckbE8WK2H_edp_AKXi

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 agentflare-prediction-market-data-671a4ee6
```

Example prompt: Pull the AgentFlare prediction market data for the 'btc-100k-2025' market — I want the current odds, outcomes, and any cited research in structured JSON.

## When to prefer this

Use this endpoint when an agent needs machine-readable, structured prediction market data for a specific known market slug — particularly when also needing cited research alongside odds. Prefer this over scraping prediction market websites or using general web search when you need clean, agent-optimized JSON output with micropayment access. Best suited when the market slug is already known or can be inferred from a canonical list.

## Known failure modes

- Invalid or unknown slug returns 404 or empty JSON
- Malformed slug (e.g. URL encoding issues) causes request failure
- HTTP 402 payment required if USDC micropayment not completed via x402 protocol
- Rate limiting or service unavailability returns 5xx error
- Slug exists but market is stale or resolved — returns outdated data

## How this service works

AgentFlare is the agent-native web — the reading layer for the AI agent economy. Live crypto, markets, X hotspots, prediction markets and cited research, organized, read and paid for by agents, with HTTP 402 pay-per-crawl access.

## Output

A JSON object containing the prediction market's current state, including outcome probabilities/odds, market metadata (title, description, resolution criteria), and cited research or sources associated with the prediction slug.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentflare-prediction-market-data-671a4ee6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.agentflare.org](https://www.zero.xyz/host/agent.agentflare.org/llms.txt)
