{"slug":"agentshelf-syntexa-ch-v1-polymarket-markets-5caf12","title":"Call when an agent needs Polymarket markets from the public Gamma API, with outc","host":"agentshelf.syntexa.ch","method":"POST","resource":"https://agentshelf.syntexa.ch/v1/polymarket-markets","category":"code","description":"Call when an agent needs Polymarket markets from the public Gamma API, with outcomes, prices, decimal odds, volume, liquidity, and end date. Optional search, tag, limit, active, and closed. Send JSON {\"tag\":\"bitcoin\",\"limit\":1,\"active\":true,\"closed\":false}. Exact $0.005 USDC on Base. Try unpaid POST","price_listed":0.005,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"active":true,"closed":false,"limit":1,"tag":"bitcoin"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"examples":[{"active":true,"closed":false,"limit":1,"tag":"bitcoin"}],"properties":{"active":{"default":true,"description":"When true, keep markets Gamma marks active. Example: true. Omit it for the default, which is active markets only.","examples":[true],"type":"boolean"},"closed":{"default":false,"description":"When true, keep markets Gamma marks closed. Example: false. Omit it to leave closed markets out.","examples":[false],"type":"boolean"},"limit":{"default":10,"description":"How many markets to return. Example: 1. Default 10. At most 20. Ordered by volume when Gamma provides it.","examples":[1],"maximum":20,"minimum":1,"type":"integer"},"search":{"description":"Search text for the public Gamma API. Example: bitcoin. Omit it to list markets without a text query.","maxLength":80,"minLength":2,"pattern":"^[^#&?]{2,80}$","type":"string"},"tag":{"description":"Polymarket tag slug or numeric tag id. Example: bitcoin. Resolved through gamma-api.polymarket.com. Omit it for no tag filter.","examples":["bitcoin"],"pattern":"^[A-Za-z0-9-]{1,40}$","type":"string"}},"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"examples":[{"active":true,"billed":true,"closed":false,"limit":1,"markets":[{"active":true,"closed":false,"end_date":"2027-01-01T05:00:00Z","id":"701502","liquidity":"257144.96854","outcomes":[{"name":"Yes","odds":"24.0963","price":"0.0415"},{"name":"No","odds":"1.0432","price":"0.9585"}],"question":"Will Bitcoin dip to $45,000 by December 31, 2026?","slug":"will-bitcoin-dip-to-45000-by-december-31-2026-674-923-755-971-998-525-926-245-316-517-544-589-965-923-986-841-815-224-586-231-289-533-573","volume":"8743458.726812001"}],"ok":true,"receipt_id":"rcpt_01EXAMPLE000000000000000","search":null,"tag":"bitcoin","warnings":[]}],"properties":{"active":{"examples":[true],"type":"boolean"},"billed":{"examples":[true],"type":"boolean"},"closed":{"examples":[false],"type":"boolean"},"limit":{"examples":[1],"exclusiveMinimum":0,"maximum":20,"type":"integer"},"markets":{"examples":[[{"active":true,"closed":false,"end_date":"2027-01-01T05:00:00Z","id":"701502","liquidity":"257144.96854","outcomes":[{"name":"Yes","odds":"24.0963","price":"0.0415"},{"name":"No","odds":"1.0432","price":"0.9585"}],"question":"Will Bitcoin dip to $45,000 by December 31, 2026?","slug":"will-bitcoin-dip-to-45000-by-december-31-2026-674-923-755-971-998-525-926-245-316-517-544-589-965-923-986-841-815-224-586-231-289-533-573","volume":"8743458.726812001"}]],"items":{"additionalProperties":false,"properties":{"active":{"type":"boolean"},"closed":{"type":"boolean"},"end_date":{"type":["string","null"]},"id":{"type":"string"},"liquidity":{"type":"string"},"outcomes":{"items":{"additionalProperties":false,"properties":{"name":{"type":"string"},"odds":{"type":"string"},"price":{"type":"string"}},"required":["name","price","odds"],"type":"object"},"maxItems":16,"type":"array"},"question":{"type":"string"},"slug":{"type":"string"},"volume":{"type":"string"}},"required":["id","slug","question","end_date","active","closed","volume","liquidity","outcomes"],"type":"object"},"maxItems":20,"type":"array"},"ok":{"const":true,"examples":[true],"type":"boolean"},"receipt_id":{"examples":["rcpt_01EXAMPLE000000000000000"],"type":"string"},"search":{"examples":[null],"type":["string","null"]},"tag":{"examples":["bitcoin"],"type":["string","null"]},"warnings":{"default":[],"examples":[[]],"items":{"type":"string"},"type":"array"}},"required":["ok","receipt_id","billed","search","tag","limit","active","closed","markets"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Call when an agent needs Polymarket markets from the public Gamma API, with outcomes, prices, decimal odds, volume, liquidity, and end date. Optional search, tag, limit, active, and closed. Send JSON {\"tag\":\"bitcoin\",\"limit\":1,\"active\":true,\"closed\":false}. Exact $0.005 USDC on Base. Try unpaid POST /v1/sandbox/polymarket-markets first.","last_updated":"2026-10-22T07:20:54.281Z","schemes":["exact"]}