# AgentToll Cross-Platform Prediction Market Scanner

> AgentToll Cross-Platform Prediction Market Scanner is a paid API for AI agents from agenttoll.dev, paid per call via x402, $0.1/call, status unknown (last checked 2026-09-15).

Scans Polymarket and Kalshi simultaneously for semantically similar prediction market questions on the same topic, surfacing arbitrage or pricing divergence opportunities.

## Facts

- Endpoint: POST https://agenttoll.dev/paid/markets/cross-platform-scan
- Price: $0.1/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agenttoll-cross-platform-prediction-market-scanner-39b92d81
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_e43kPSpFYkHy-EofGICSc

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 agenttoll-cross-platform-prediction-market-scanner-39b92d81 -d '<json body>'
```

Example prompt: Scan both Polymarket and Kalshi for prediction markets about 'Federal Reserve rate cut', find up to 20 matching pairs with at least 0.05 net edge and 0.6 minimum similarity, and show me any arbitrage opportunities.

## When to prefer this

Use this endpoint when you need to identify semantically equivalent prediction markets listed on both Polymarket and Kalshi simultaneously, especially to find arbitrage opportunities or pricing divergences. Prefer this over checking each platform individually when the goal is cross-platform comparison or finding net-edge trading opportunities. Most useful for agents automating prediction market strategies that require parity analysis across the two largest U.S.-accessible prediction market platforms.

## Known failure modes

- Empty opportunities array if no cross-platform matches meet the similarity or net edge thresholds
- Query too short (under 2 characters) returns validation error
- Rate limiting or API unavailability from Polymarket or Kalshi upstream sources may return partial results
- max_matches exceeding 50 or polymarket_limit below 100 returns schema validation error
- Payment failure via x402 protocol returns 402 status before any market data is returned

## How this service works

108+ receipt-backed x402 work products for AI agents. Clear prices, spend caps, buyer metadata, and structured results over Base USDC.

## Output

Returns a JSON object with the original query, data sources used (Polymarket Gamma API and Kalshi public Trade API), a list of arbitrage 'opportunities' (market pairs with significant net edge), and 'candidate_matches' (semantically similar market pairs with their respective prices and similarity scores).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "required": [
      "query"
     ],
     "properties": {
      "query": {
       "type": "string",
       "maxLength": 100,
       "minLength": 2
      },
      "max_matches": {
       "type": "integer",
       "maximum": 50,
       "minimum": 1
      },
      "min_net_edge": {
       "type": "number",
       "maximum": 0.5,
       "minimum": 0
      },
      "min_similarity": {
       "type": "number",
       "maximum": 1,
       "minimum": 0.4
      },
      "kalshi_max_pages": {
       "type": "integer",
       "maximum": 20,
       "minimum": 1
      },
      "polymarket_limit": {
       "type": "integer",
       "maximum": 1000,
       "minimum": 100
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "bitcoin",
  "source": [
   "Polymarket Gamma API",
   "Kalshi public Trade API"
  ],
  "opportunities": [],
  "candidate_matches": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agenttoll-cross-platform-prediction-market-scanner-39b92d81/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agenttoll.dev](https://www.zero.xyz/host/agenttoll.dev/llms.txt)
