Skip to content

v2.17.4

Choose a tag to compare

@github-actions github-actions released this 24 Feb 13:57
· 1182 commits to main since this release

Fixed

  • Polymarket Cloudflare WAF Bypass: The User-Agent header added in v2.17.2 was insufficient to bypass Polymarket's Cloudflare bot detection. Enhanced the Polymarket client with browser-mimicking headers (Accept, Accept-Language, Origin: https://polymarket.com, Referer, and sec-fetch-* directives). These headers make requests appear as same-site CORS calls from the Polymarket frontend, allowing the API to pass Cloudflare's bot scoring model. fetchEvents() now works reliably on all platforms.

Installation

npm:

npm install pmxtjs@2.17.4

PyPI:

pip install pmxt==2.17.4

Links

Full Changelog: v2.17.3f...v2.17.4f