{"uid":"cap_VhuFk9JpE1LWFFfELYbJz","slug":"avasis-polymarket-markets-search-f9165c30","name":"Avasis Polymarket Markets Search","description":"Find live Polymarket prediction markets in one call: search by text or rank by 24h volume, liquidity, ending soon or newest, with filters for min liquidity and resolving within N hours. Each market: question, event, URL, outcomes with implied probabilities and CLOB token ids, best bid/ask, spread, last trade, 1h/24h price change, 24h/1wk/total volume, liquidity, end date. Read-only, 20 s cache. Upstream error -> 502/504, never charged. USDC on Base, no API key.","url":"https://agents.avasis.ai/v1/pm/markets?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"],"type":"string"},"queryParams":{"type":"object","properties":{"q":{"type":"string","description":"Optional search text (2-100 chars), e.g. bitcoin, election, fed rate"},"limit":{"type":"string","description":"Markets returned, 1-50 (default 10)"},"order":{"type":"string","description":"Sort: volume_24h | liquidity | ending_soon | newest (default volume_24h)"},"min_liquidity":{"type":"string","description":"Only markets with at least this much liquidity (USD)"},"ending_within_hours":{"type":"string","description":"Only markets resolving within N hours"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["count","markets"],"properties":{"count":{"type":"integer"},"query":{"type":"object"},"markets":{"type":"array"},"matched":{"type":"integer"},"fetched_at":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"count":1,"query":{"q":"bitcoin","limit":1,"order":"volume_24h","min_liquidity":null,"ending_within_hours":null},"cached":false,"source":"polymarket gamma api (public)","markets":[{"id":"562803","url":"https://polymarket.com/event/what-price-will-bitcoin-hit-in-2026","slug":"will-bitcoin-hit-150k-in-2026","event":{"id":"1112205","slug":"what-price-will-bitcoin-hit-in-2026","title":"What price will Bitcoin hit in 2026?"},"spread":0.01,"best_ask":0.07,"best_bid":0.06,"end_date":"2026-12-31T23:59:00Z","neg_risk":true,"outcomes":[{"name":"Yes","price":0.065,"token_id":"6513…"},{"name":"No","price":0.935,"token_id":"1737…"}],"question":"Will Bitcoin hit $150k in 2026?","change_1h":0,"change_24h":-0.01,"group_item":"$150k","last_trade":0.065,"start_date":"2025-07-11T19:50:45Z","condition_id":"0x4e4f…","liquidity_usd":533497.4,"volume_1wk_usd":553773.6,"volume_24h_usd":271053.8,"accepting_orders":true,"volume_total_usd":14088469.1}],"matched":37,"fetched_at":"2026-10-30T12:00:00.000Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_IFgSEdqW-ds6Be5p6FIXP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Search and rank live Polymarket prediction markets by text query or volume/liquidity/time metrics, returning full pricing and probability data per market","exampleAgentPrompt":"Search Polymarket for prediction markets about the Fed rate decision, sorted by 24h volume, show me the top 5 with at least $5000 liquidity, and include the current implied probabilities and best bid/ask spreads.","exampleUseCases":[{"title":"Track crypto prediction market odds","prompt":"Find me the top 10 Polymarket markets about Bitcoin or Ethereum right now, sorted by 24-hour volume, and tell me the implied probabilities and how prices have moved in the last 24 hours."},{"title":"Monitor markets resolving imminently","prompt":"Which Polymarket prediction markets are resolving within the next 72 hours and have at least $20,000 in liquidity? Sort them by ending soon so I can see what's about to settle."},{"title":"Discover new election prediction markets","prompt":"Search Polymarket for any new prediction markets about the 2026 US elections — I want the newest ones, up to 20 results, with their current odds and trading volume."}],"resultDescription":"Returns a JSON object with a count of matched markets, the echo of query parameters used, a timestamp, and an array of market objects. Each market includes: question text, event title and slug, Polymarket URL, outcome names with implied prices and CLOB token IDs, best bid, best ask, spread, last trade price, 1h and 24h price change, 24h/1-week/total volume in USD, liquidity in USD, start and end dates, accepting-orders status, and neg-risk flag.","failureModes":["502 Bad Gateway — Polymarket upstream API is unavailable or returned an error","504 Gateway Timeout — Polymarket upstream did not respond in time","400 Bad Request — query parameter out of range (e.g. q shorter than 2 chars, limit outside 1-50)","Empty markets array — valid response but no markets match the filters (e.g. min_liquidity too high)","Stale data — response may be up to 20 seconds cached, so live prices may lag slightly"],"whenToPreferThis":"Use this endpoint when you need live Polymarket market data in a single read-only call without managing Polymarket API keys or authentication. It is ideal for agents that want to discover, rank, or filter prediction markets by topic or trading activity, retrieve CLOB token IDs for downstream trading, or monitor which markets are ending soon. Prefer it over direct Polymarket API access when you want a simple x402-metered interface with no key management, or when you need implied probabilities and spread data pre-computed in one response.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:39:50.940Z","isFirstParty":false,"canonicalSlug":"avasis-polymarket-markets-search-f9165c30"}