{"uid":"cap_YFlLerRIh1MbXw3fwx46b","slug":"aizamon-mid-loop-venue-match-0a33d086","name":"Aizamon Mid-Loop Venue Match","description":"Picks a venue for a market topic. Required ?q= is the topic. Returns whether a Polymarket and a Kalshi hit were found, which one is cheaper, and a gap bucketed to 10 cents. Exact yes prices, tickers, and links are the spread read. $0.001 USDC. The hour pass covers it.","url":"https://aizamon.com/x402/v1/match?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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}}}}},"responseSchema":{"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"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_yqjtCU2JjHOxyNkLODJah","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"Which prediction market platform — Polymarket or Kalshi — has the best venue for 'US recession 2025', and what's the price gap between them?","exampleUseCases":[{"title":"Pre-trade platform selection for political markets","prompt":"I want to trade on whether the Fed raises rates this year — which venue, Polymarket or Kalshi, is the best match, and how big is the gap between them?"},{"title":"Arbitrage opportunity identification","prompt":"I'm building a bot that needs to know the best Polymarket or Kalshi venue for 'Trump impeachment 2025' and the bucketed spread — can you look that up?"},{"title":"Quick topic-to-venue routing for a trading dashboard","prompt":"For the topic 'Ukraine ceasefire deal', tell me which prediction market platform gives me the better position and what the current price gap bucket is."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T06:40:37.600Z","isFirstParty":false,"canonicalSlug":"aizamon-mid-loop-venue-match-0a33d086"}