# Aizamon Mid-Loop Venue Match

> Aizamon Mid-Loop Venue Match is a paid API for AI agents from aizamon.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Given a market topic query, returns the best matching Polymarket or Kalshi venue and a bucketed price gap between the two platforms for that topic.

## Facts

- Endpoint: GET https://aizamon.com/x402/v1/match?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aizamon-mid-loop-venue-match-0a33d086
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YFlLerRIh1MbXw3fwx46b

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 aizamon-mid-loop-venue-match-0a33d086
```

Example prompt: Which prediction market platform — Polymarket or Kalshi — has the best venue for 'US recession 2025', and what's the price gap between them?

## When to prefer this

Choose this endpoint when you need a quick, mid-loop lookup to identify the optimal venue (Polymarket vs Kalshi) for a specific prediction market topic and want a bucketed gap summary — rather than a full arbitrage pack or raw spread. It is the right choice when cost efficiency matters ($0.05 vs $0.89 for the full pack) and you only need the top match for one query at a time, not the top-5 fee-adjusted spread cards.

## Known failure modes

- No matching market found on either platform for the given query — returns empty or null venue
- Query too vague or ambiguous to resolve to a specific market
- Payment of $0.05 USDC not settled — request rejected before processing
- Rate limit or spend cap exceeded under default $0.10 spend cap
- Stale or unavailable market data if either exchange API is temporarily down

## How this service works

Mid-loop venue match — $0.05. Pass ?q= market topic; get best Polymarket↔Kalshi venue + bucketed gap for that query. Under default $0.10 spend caps.

## Output

Returns the best-matching Polymarket or Kalshi market for the given topic query, along with a bucketed representation of the yes-price spread (gap) between the two venues at the time of the call.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Market topic keywords"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "sku": {
       "type": "string"
      },
      "result": {
       "type": "object"
      },
      "protocol": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "sku": "SKU_AG_MATCH_01",
  "result": {
   "match": {
    "query": "openai ipo",
    "topic": "Will Anthropic or OpenAI IPO first?",
    "buyVenue": "kalshi",
    "cheaperOn": "kalshi",
    "sellVenue": "polymarket",
    "gapBucketCents": 80
   },
   "product": "Venue Match — mid-loop"
  },
  "protocol": "x402"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aizamon-mid-loop-venue-match-0a33d086/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aizamon.com](https://www.zero.xyz/host/aizamon.com/llms.txt)
