{"uid":"cap_wIcsdLkszBhT-EX66DEve","slug":"layer-settlements-api-ec36eff3","name":"Layer Settlements API","description":"One API for prediction markets. Find markets, stream normalized data, place orders, and track positions across Kalshi and Polymarket.","url":"https://uselayer.sh/v0/settlements?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":{"limit":{"type":"string"},"since":{"type":"string","description":"YYYY-MM-DD"},"venue":{"type":"string"},"outcome":{"type":"string"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"settlements":[]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_9WRJAZRBMNp4kHnDHb4g3","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Retrieves normalized settlement history across Kalshi and Polymarket prediction markets","exampleAgentPrompt":"Pull the last 50 settlements from Kalshi since January 1st 2025 and show me which ones resolved YES.","exampleUseCases":[{"title":"Post-election market resolution audit","prompt":"Get all prediction market settlements from both Kalshi and Polymarket since November 1st 2024 that resolved YES — I want to see which election markets paid out."},{"title":"Daily P&L settlement reconciliation","prompt":"Fetch today's settlements across all venues and filter for the ones that resolved NO so I can reconcile my losing positions."},{"title":"Historical settlement research","prompt":"Pull the last 100 settled markets from Polymarket since March 1st 2025 — I'm researching how often crypto price markets resolve YES."}],"resultDescription":"Returns a JSON object with a 'settlements' array containing normalized settlement records across Kalshi and Polymarket, including market identifiers, resolved outcomes, settlement dates, and venue information.","failureModes":["Empty settlements array if no markets settled in the specified date range","Invalid 'since' date format (must be YYYY-MM-DD) causes rejection","Unknown venue value returns empty or error response","Exceeding rate limits may cause 402 or 429 responses requiring payment","Very large limit values may time out or return partial results"],"whenToPreferThis":"Use this endpoint when you need normalized, cross-venue settlement data without integrating separately with Kalshi and Polymarket APIs. Prefer this over venue-specific APIs when you want unified settlement history with consistent schema, or when you need to filter by outcome or date range across both venues simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T12:33:50.305Z","isFirstParty":false,"canonicalSlug":"layer-settlements-api-ec36eff3"}