# 402box Prediction Markets Intelligence Agent

> 402box Prediction Markets Intelligence Agent is a paid API for AI agents from agents.402box.io, paid per call via x402, $0.03/call, status down (last checked 2026-09-15).

Provides AI-powered real-time intelligence on prediction markets (Polymarket, Kalshi), including news, odds, trends, and analysis via Perplexity-backed research

## Facts

- Endpoint: POST https://agents.402box.io/prediction_markets
- Price: $0.03/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agents-402box-io-5e9ae3a6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lPz8pdoOAgKyaa7jCTuFR

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 agents-402box-io-5e9ae3a6 -d '<json body>'
```

Example prompt: What are the current odds on the 2024 US presidential race and which other political events are trending on Polymarket and Kalshi right now?

## When to prefer this

Use this endpoint when you need real-time intelligence specifically about prediction market odds on Polymarket or Kalshi, including elections, political events, and trending market topics. Prefer this over generic web search when you want AI-synthesized analysis with citations rather than raw search results, and when the domain is specifically prediction markets rather than general financial data.

## Known failure modes

- Query too vague — returns generic information without specific odds
- Perplexity backend unavailability — request fails or returns incomplete data
- Payment failure — x402 payment not processed, request rejected
- Rate limiting — too many requests in a short time window
- No recent data — market or event not yet covered by available sources

## How this service works

AI-powered prediction markets intelligence agent (powered by Perplexity) - Get the latest news, trends, and real-time updates affecting prediction markets on Polymarket and Kalshi

## Output

A formatted markdown response containing prediction market analysis, current odds, relevant news, and trends for the queried topic, along with source citations, usage metrics (tokens, execution time, cost breakdown in USDC), agent ID, and a unique invocation ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "message"
 ],
 "properties": {
  "message": {
   "type": "string",
   "description": "Query about prediction markets, election forecasts, market odds, or trending political events"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "properties": {
    "usage": {
     "type": "object",
     "properties": {
      "cost": {
       "type": "object",
       "properties": {
        "llm_usdc": {
         "type": "number",
         "description": "LLM cost in USDC"
        },
        "total_usdc": {
         "type": "number",
         "description": "Total cost in USDC"
        },
        "compute_usdc": {
         "type": "number",
         "description": "Compute cost in USDC"
        }
       },
       "description": "Cost breakdown in USDC"
      },
      "iterations": {
       "type": "number",
       "description": "Number of agent iterations"
      },
      "tool_calls": {
       "type": "number",
       "description": "Number of tool calls made"
      },
      "tokens_input": {
       "type": "number",
       "description": "Number of input tokens used"
      },
      "tokens_output": {
       "type": "number",
       "description": "Number of output tokens generated"
      },
      "execution_time_ms": {
       "type": "number",
       "description": "Total execution time in milliseconds"
      }
     },
     "description": "Detailed usage metrics for the invocation"
    },
    "agent_id": {
     "type": "string",
     "description": "ID of the agent that processed the request"
    },
    "response": {
     "type": "string",
     "description": "Formatted markdown response with prediction market analysis, odds, trends, and insights"
    },
    "citations": {
     "type": "array",
     "items": {
      "type": "string"
     },
     "description": "List of source URLs referenced in the response"
    },
    "agent_name": {
     "type": "string",
     "description": "Human-readable name of the agent"
    },
    "invocation_id": {
     "type": "string",
     "description": "Unique identifier for this invocation"
    },
    "execution_mode": {
     "enum": [
      "serverless",
      "persistent"
     ],
     "type": "string",
     "description": "Execution mode (serverless or persistent)"
    }
   },
   "description": "Agent invocation response"
  },
  "success": {
   "type": "boolean",
   "description": "Whether the request was successful"
  },
  "timestamp": {
   "type": "string",
   "description": "ISO 8601 timestamp of the response"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agents-402box-io-5e9ae3a6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.402box.io](https://www.zero.xyz/host/agents.402box.io/llms.txt)
