{"uid":"cap_Sxt-xegWPIOONr4bl3SbG","slug":"hostdefi-prediction-market-feed-df96172e","name":"HostDeFi Prediction Market Feed","description":"HostDeFi is a non-custodial Solana DEX. Best-route swaps through Jupiter, EVM trading across 7 chains, native bridging, and live token risk grades. No KYC, no accounts, no custody.","url":"https://hostdefi.com/api/v1/x402/predict/markets","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":{"limit":{"type":"integer","maximum":500,"minimum":1,"description":"Max markets returned (default 100)"}}}}},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ok":true,"count":1,"source":"polymarket","markets":[{"slug":"will-it-settle","noUsd":0.39,"title":"Will it settle?","lastTs":0,"points":120,"vol24h":120000,"yesUsd":0.62,"endDate":"2026-12-31","firstTs":0,"marketId":"0x…conditionId"}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t3Mh_ElonMGgkZob5cZIR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a ranked list of live prediction market listings with YES/NO prices, 24h volume, and end dates sourced from Polymarket.","exampleAgentPrompt":"Pull the top 50 most active prediction markets right now — I want to see the YES and NO prices, 24-hour volume, and when each market closes.","exampleUseCases":[{"title":"Monitor high-volume political markets","prompt":"Show me the 100 most-traded prediction markets right now with their current YES/NO prices and closing dates so I can track which political events are getting the most action."},{"title":"Scan for expiring markets to trade","prompt":"Get me up to 200 active prediction markets — I want to find ones ending soon so I can look for mispriced odds before settlement."},{"title":"Build a live odds dashboard","prompt":"Fetch the latest 50 prediction market listings including their slugs, YES/NO prices, and 24h volume so I can display a live odds board for my trading group."}],"resultDescription":"A JSON object with a boolean ok flag, a count of returned markets, the source name (e.g. 'polymarket'), and an array of market objects each containing: slug, title, yesUsd price, noUsd price, vol24h (24-hour dollar volume), endDate, firstTs, lastTs, points score, and marketId (condition ID).","failureModes":["Invalid limit parameter (outside 1–500 range) returns a validation error","Payment not included or insufficient USDC results in HTTP 402 Payment Required","Upstream Polymarket data unavailable causes empty or error response","Rate limiting if too many requests are made in quick succession"],"whenToPreferThis":"Choose this endpoint when you need a live, paginated feed of prediction market listings with current YES/NO prices and volume data sourced from Polymarket, especially via an x402 micropayment-compatible API. Prefer this over scraping Polymarket directly when you need a clean JSON API with risk scoring context from HostDeFi's broader DeFi platform.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:36:51.245Z","isFirstParty":false}