# Polymarket resolution-rules structurer for trading agents (pre-trade settle rules, cutoff TZ, oracle type) Pre-trade helper for agents trading Polymarket YES/NO: returns machine-readable settlement rules, not a raw Gamma dump and not live odds/books. Paid (x402 v2, scheme "exact", USDC on eip155:8453, payTo 0xA94AaF06ad79baD31E0DF25187d376780a8836c6): GET https://pm-rules-x402.linholiday.workers.dev/rules?slug= 0.01 USDC GET https://pm-rules-x402.linholiday.workers.dev/rules?id= 0.01 USDC GET https://pm-rules-x402.linholiday.workers.dev/rules?condition_id=0x… 0.01 USDC GET https://pm-rules-x402.linholiday.workers.dev/rules/batch?slugs=a,b,c 0.02 USDC (max 5 slugs) Response highlights: rules_text, key_clauses, cutoff_hints, end_at_utc, end_at_et (America/New_York), resolution_source, oracle (uma|chainlink_twap|unknown), uma_bond, outcomes, status, polymarket_url. Does NOT include CLOB order books, mid prices, volume, or liquidity (call Polymarket CLOB yourself if you need quotes). Without payment: HTTP 402 challenge (PAYMENT-REQUIRED header + JSON body). Invalid input → 400, not found → 404, Gamma down → 502; payment is NOT settled on those, so errors are free. Free: /health, /preview/rules (fixed sample), /, /llms.txt, /openapi.json, /.well-known/x402 Upstream: Polymarket Gamma https://gamma-api.polymarket.com (public). Short Worker memory cache ~120s. Disclaimer: title ≠ rules. Not affiliated with Polymarket. Retail AI-agent tooling only — not for Capital Markets Entity redistribution. Not financial advice. Contact: lin.chang2007@mailfence.com