# Changelog of Polymarket Scraper — Prediction Markets, Odds & Events (`foxlabs/polymarket-prediction-markets`) Actor

- **URL**: https://apify.com/foxlabs/polymarket-prediction-markets/changelog.md
- **Full Actor documentation**: https://apify.com/foxlabs/polymarket-prediction-markets.md

## Changelog

### 0.1 — 2026-11-02

- Initial release.
- Modes: `markets` (one prediction market per row), `events` (grouped events with nested child markets), `search` (free-text query over events).
- Fields: outcomes with price + implied probability, best bid/ask, last trade price, spread, volume (total/24h/1wk/1mo), liquidity, open interest (events), tags, start/end dates, active/closed, public URL.
- Filters: `status` (active/closed/all), `order` (volume/volume24hr/liquidity/openInterest/newest), `tag` (slug → resolved to gamma tag_id), `maxResults`.
- Source: Polymarket public gamma API via Apify datacenter proxy (undici; got-scraping hangs behind the proxy inside an Actor). No API key, no login, no wallet.
- Pay-per-event billing: `market` $0.002, `event` $0.004. No charge for errors or empty runs.
- Standby API implemented (same `collect()`); published as batch for now.
- Hardened the fetcher with a hard overall per-request deadline (AbortController): a large `/events` response (~1.9 MB — each event nests all child markets) trickled slowly by a proxy exit never trips undici's idle `bodyTimeout`, so without an overall cap a single bad exit hangs the run; the deadline now forces a retry onto a fresh exit.
