# Polymarket Scraper (`saswave/polymarket-scraper`) Actor

Extract data from website polymarket.com
Collect informations of search markets, profiles,  leaderboard, global activity transactions, portfolio positions, profile activity, historical prices

- **URL**: https://apify.com/saswave/polymarket-scraper.md
- **Developed by:** [SASWAVE](https://apify.com/saswave) (community)
- **Categories:** Automation, Social media, News
- **Stats:** 40 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

$12.00/month + usage

To use this Actor, you pay a monthly rental fee to the developer. The rent is subtracted from your prepaid usage every month after the free trial period. You also pay for the Apify platform usage, which gets cheaper the higher Apify subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#rental-actors

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

### Polymarket scraper

Extract data from polymarket.com website.

Collect informations about overall trade activity, event comments, profile positions and activity.

Check below "Output example" section for more informations

### Ouput examples

Activity

```json
{
  "proxyWallet": "0x0054c4a7d35537869f23042ae7cb540c5c7a7f85",
  "side": "BUY",
  "asset": "109584486722995799397176173453045931899993721579111823338224067736349200244141",
  "conditionId": "0xe57962b24f52ca4772fb3adc07f930d0f95b606726da9a5af3e6a57ef5885727",
  "size": 17,
  "price": 0.999,
  "timestamp": 1741189092,
  "title": "Will Elon tweet 850-899 times Feb 28 - March 7?",
  "slug": "will-elon-tweet-850-899-times-feb-28-march-7",
  "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/elon-musk-of-tweets-nov-22-29-apMPG21-pzx_.jpg",
  "eventSlug": "elon-musk-of-tweets-feb-28-mar-7",
  "outcome": "No",
  "outcomeIndex": 1,
  "name": "eieio",
  "pseudonym": "Candid-String",
  "bio": "",
  "profileImage": "https://polymarket-upload.s3.us-east-2.amazonaws.com/gift_9b98ed94-3897-45a0-866e-97eb996c0ed4_1737956377620.jpg",
  "profileImageOptimized": "",
  "transactionHash": "0x6f96c18298218ced952d360210cd9f06adbe2f05770a63fb12509f874ca437a5"
}
```

Profile positions

```json
{
  "proxyWallet": "0x9f47f1fcb1701bf9eaf31236ad39875e5d60af93",
  "asset": "47553162493414811486870038530350680568802679366470542950419301690651662494680",
  "conditionId": "0x99a76eb4959604e2a1b7c6dedf1f75fb19491df21deb746388a2b65c0c1713c7",
  "size": 524000.72475,
  "avgPrice": 0.33,
  "initialValue": 172920.2391675,
  "currentValue": 238420.32976125,
  "cashPnl": 65500.09059375,
  "percentPnl": 37.878787878787875,
  "totalBought": 558190.43,
  "realizedPnl": 2393.279365,
  "percentRealizedPnl": 29.433579686008827,
  "curPrice": 0.455,
  "redeemable": false,
  "mergeable": true,
  "title": "Will Barcelona win La Liga?",
  "slug": "will-barcelona-win-la-liga",
  "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-barcelona-win-la-liga-vCC-C0S5sp4O.png",
  "eventSlug": "la-liga-winner",
  "outcome": "No",
  "outcomeIndex": 1,
  "oppositeOutcome": "Yes",
  "oppositeAsset": "55454353719937318627429740756252070452437249649822315291059265167265908099894",
  "endDate": "2025-05-25",
  "negativeRisk": true
}
```

Profile activity

```json
{
  "proxyWallet": "0x9f47f1fcb1701bf9eaf31236ad39875e5d60af93",
  "timestamp": 1736280344,
  "conditionId": "0xcbbff50d5b91df1c098990afb653c799660e7bb2a818501b00f03bdfadb351c0",
  "type": "REDEEM",
  "size": 0,
  "usdcSize": 0,
  "transactionHash": "0xa8ffada70ad820e2a3ac2cb35451fffc030b123265e09766bb1f57b196238900",
  "price": 0,
  "asset": "",
  "side": "",
  "outcomeIndex": 999,
  "title": "Will the Colts win Super Bowl 2025?",
  "slug": "will-the-colts-win-super-bowl-2025",
  "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-the-colts-win-super-bowl-2025-kkKbXPI5COzq.png",
  "eventSlug": "superbowl-champion-2025",
  "outcome": "",
  "name": "TheGuru",
  "pseudonym": "Tall-Manicure",
  "bio": "",
  "profileImage": "https://polymarket-upload.s3.us-east-2.amazonaws.com/view_ancient_greek_bust_figure_23_2151616992_e46bd428-7fec-4b3b-95b1-210f906105d8_1725465460772.jpg",
  "profileImageOptimized": ""
}
```

Markets

```json
{
  "id": "14228",
  "ticker": "romania-presidential-election",
  "slug": "romania-presidential-election",
  "title": "(Old) Romania Election",
  "description": "This is a market on the outcome of the upcoming Romania Presidential Election.",
  "resolutionSource": "",
  "startDate": "2024-11-08T00:21:10.582932Z",
  "creationDate": "2024-11-08T00:21:10.582929Z",
  "endDate": "2024-12-08T12:00:00Z",
  "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/romania-legislative-election-aCNxFO0eCIS9.jpg",
  "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/romania-legislative-election-aCNxFO0eCIS9.jpg",
  "active": true,
  "closed": false,
  "archived": false,
  "new": false,
  "featured": false,
  "restricted": true,
  "liquidity": 904221.0705,
  "volume": 55725823.18902799,
  "openInterest": 0,
  "sortBy": "price",
  "createdAt": "2024-11-07T23:25:12.831849Z",
  "updatedAt": "2025-03-05T15:29:18.900016Z",
  "competitive": 0.815910249872514,
  "volume24hr": 9168419.933193,
  "enableOrderBook": true,
  "liquidityClob": 904221.0705,
  "negRisk": true,
  "negRiskMarketID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890500",
  "commentCount": 14403,
  "markets": [
    {
      "id": "512337",
      "question": "Will Mircea Geoană win the 2024 Romanian Presidential election?",
      "conditionId": "0x6a697a68bc06abf48bdd3116d8b6263d59afa2952ed6900824f42b109a4adcde",
      "slug": "will-mircea-geoana-win-the-2024-romanian-presidential-election",
      "resolutionSource": "",
      "endDate": "2024-12-08T12:00:00Z",
      "liquidity": "73121.33993",
      "startDate": "2024-11-08T00:11:21.908707Z",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-mircea-geoan-win-the-2024-romanian-presidential-election-d7MzxDaK4pmI.jpg",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-mircea-geoan-win-the-2024-romanian-presidential-election-d7MzxDaK4pmI.jpg",
      "description": "Presidential elections will be held in Romania on 24 November 2024. A second round will be held on 8 December 2024 if no candidate receives an absolute majority of the vote.\n\nThis market will resolve to \"Yes\" if Mircea Geoană wins this election. Otherwise, this market will resolve to \"No\".\n\nThis market includes any potential second round. If the result of this election isn't known by April 30, 2025, 11:59 PM ET, the market will resolve to \"No\".\n\nThis market will resolve solely based off the first official announcement of the election results from the Romanian Government, specifically the Permanent Electoral Authority (https://www.roaep.ro/prezentare/).\n",
      "outcomes": "[\"Yes\", \"No\"]",
      "outcomePrices": "[\"0.001\", \"0.999\"]",
      "volume": "5683746.055352",
      "active": true,
      "closed": false,
      "marketMakerAddress": "",
      "createdAt": "2024-11-07T23:29:18.28633Z",
      "updatedAt": "2025-03-05T15:30:17.150477Z",
      "new": false,
      "featured": false,
      "submitted_by": "0x91430CaD2d3975766499717fA0D66A78D814E5c5",
      "archived": false,
      "resolvedBy": "0x2F5e3684cb1F318ec51b00Edba38d79Ac2c0aA9d",
      "restricted": true,
      "groupItemTitle": "Mircea Geoană",
      "groupItemThreshold": "0",
      "questionID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890500",
      "enableOrderBook": true,
      "orderPriceMinTickSize": 0.001,
      "orderMinSize": 5,
      "volumeNum": 5683746.055352,
      "liquidityNum": 73121.33993,
      "endDateIso": "2024-12-08",
      "startDateIso": "2024-11-08",
      "hasReviewedDates": true,
      "volume24hr": 10401.82,
      "clobTokenIds": "[\"88761004125801121170646830098793737944899672743449695591428365330803191629513\", \"31841501356406363357248311485973323507088331580851078508835563887196938396484\"]",
      "umaBond": "500",
      "umaReward": "5",
      "volume24hrClob": 10401.82,
      "volumeClob": 5683746.055352,
      "liquidityClob": 73121.33993,
      "acceptingOrders": true,
      "negRisk": true,
      "negRiskMarketID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890500",
      "negRiskRequestID": "0x318461b77b9124b27692e145ae7783ed1269578ab01abddcbc653f02d193c56a",
      "ready": false,
      "funded": false,
      "acceptingOrdersTimestamp": "2024-11-08T00:10:14Z",
      "cyom": false,
      "competitive": 0.8006398713852111,
      "pagerDutyNotificationEnabled": false,
      "approved": true,
      "rewardsMinSize": 50,
      "rewardsMaxSpread": 3.5,
      "spread": 0.002,
      "oneDayPriceChange": 0.0005,
      "lastTradePrice": 0.002,
      "bestAsk": 0.002,
      "automaticallyActive": true,
      "clearBookOnStart": true,
      "seriesColor": "",
      "showGmpSeries": false,
      "showGmpOutcome": false,
      "manualActivation": false,
      "negRiskOther": false
    },
    {
      "id": "512338",
      "question": "Will Marcel Ciolacu win the 2024 Romanian Presidential election?",
      "conditionId": "0xa2f0eb0b70c25a2f4c5c0493b593a36c35d3fe964e51f306ec0ad1f76be2da85",
      "slug": "will-marcel-ciolacu-win-the-2024-romanian-presidential-election",
      "resolutionSource": "",
      "endDate": "2024-12-08T12:00:00Z",
      "liquidity": "116581.30463",
      "startDate": "2024-11-08T00:12:45.177Z",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-marcel-ciolacu-win-the-2024-romanian-presidential-election-dVXY2pm7Glc2.jpg",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-marcel-ciolacu-win-the-2024-romanian-presidential-election-dVXY2pm7Glc2.jpg",
      "description": "Presidential elections will be held in Romania on 24 November 2024. A second round will be held on 8 December 2024 if no candidate receives an absolute majority of the vote.\n\nThis market will resolve to \"Yes\" if Marcel Ciolacu wins this election. Otherwise, this market will resolve to \"No\".\n\nThis market includes any potential second round. If the result of this election isn't known by April 30, 2025, 11:59 PM ET, the market will resolve to \"No\".\n\nThis market will resolve solely based off the first official announcement of the election results from the Romanian Government, specifically the Permanent Electoral Authority (https://www.roaep.ro/prezentare/).\n",
      "outcomes": "[\"Yes\", \"No\"]",
      "outcomePrices": "[\"0.0015\", \"0.9985\"]",
      "volume": "9495379.4691",
      "active": true,
      "closed": false,
      "marketMakerAddress": "",
      "createdAt": "2024-11-07T23:43:41.30827Z",
      "updatedAt": "2025-03-05T15:32:28.140694Z",
      "new": false,
      "featured": false,
      "submitted_by": "0x91430CaD2d3975766499717fA0D66A78D814E5c5",
      "archived": false,
      "resolvedBy": "0x2F5e3684cb1F318ec51b00Edba38d79Ac2c0aA9d",
      "restricted": true,
      "groupItemTitle": "Marcel Ciolacu",
      "groupItemThreshold": "1",
      "questionID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890501",
      "enableOrderBook": true,
      "orderPriceMinTickSize": 0.001,
      "orderMinSize": 5,
      "volumeNum": 9495379.4691,
      "liquidityNum": 116581.30463,
      "endDateIso": "2024-12-08",
      "startDateIso": "2024-11-08",
      "hasReviewedDates": true,
      "volume24hr": 597.826,
      "clobTokenIds": "[\"101243577543146361469715980639478898839570365093058773290885218727522893652216\", \"4678999283928149996457868949943201647591094778808332620831957083270291221105\"]",
      "umaBond": "500",
      "umaReward": "5",
      "volume24hrClob": 597.826,
      "volumeClob": 9495379.4691,
      "liquidityClob": 116581.30463,
      "acceptingOrders": true,
      "negRisk": true,
      "negRiskMarketID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890500",
      "negRiskRequestID": "0xfbe1c2155ac2edf6bdaa000d3a2cb5daa0d8f8256017f623deb14ae5e7938783",
      "ready": false,
      "funded": false,
      "acceptingOrdersTimestamp": "2024-11-08T00:11:36Z",
      "cyom": false,
      "competitive": 0.8009597099244316,
      "pagerDutyNotificationEnabled": false,
      "approved": true,
      "rewardsMinSize": 50,
      "rewardsMaxSpread": 3.5,
      "spread": 0.001,
      "oneDayPriceChange": 0.0005,
      "lastTradePrice": 0.001,
      "bestBid": 0.001,
      "bestAsk": 0.002,
      "automaticallyActive": true,
      "clearBookOnStart": true,
      "seriesColor": "red",
      "showGmpSeries": true,
      "showGmpOutcome": false,
      "manualActivation": false,
      "negRiskOther": false
    },
    {
      "id": "512339",
      "question": "Will George Simion win the 2024 Romanian Presidential election?",
      "conditionId": "0x062b8e11f9c1d54268dc61a754e130d04d596076f2dfc288cc102e8c38d06020",
      "slug": "will-george-simion-win-the-2024-romanian-presidential-election",
      "resolutionSource": "",
      "endDate": "2024-12-08T12:00:00Z",
      "liquidity": "398475.19917",
      "startDate": "2024-11-08T00:19:22.98Z",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-george-simion-win-the-2024-romanian-presidential-election-_dcnVscilnC7.jpg",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-george-simion-win-the-2024-romanian-presidential-election-_dcnVscilnC7.jpg",
      "description": "Presidential elections will be held in Romania on 24 November 2024. A second round will be held on 8 December 2024 if no candidate receives an absolute majority of the vote.\n\nThis market will resolve to \"Yes\" if George Simion wins this election. Otherwise, this market will resolve to \"No\".\n\nThis market includes any potential second round. If the result of this election isn't known by April 30, 2025, 11:59 PM ET, the market will resolve to \"No\".\n\nThis market will resolve solely based off the first official announcement of the election results from the Romanian Government, specifically the Permanent Electoral Authority (https://www.roaep.ro/prezentare/).\n",
      "outcomes": "[\"Yes\", \"No\"]",
      "outcomePrices": "[\"0.001\", \"0.999\"]",
      "volume": "7243884.04969298",
      "active": true,
      "closed": false,
      "marketMakerAddress": "",
      "createdAt": "2024-11-07T23:51:36.29876Z",
      "updatedAt": "2025-03-05T15:32:23.303912Z",
      "new": false,
      "featured": false,
      "submitted_by": "0x91430CaD2d3975766499717fA0D66A78D814E5c5",
      "archived": false,
      "resolvedBy": "0x2F5e3684cb1F318ec51b00Edba38d79Ac2c0aA9d",
      "restricted": true,
      "groupItemTitle": "George Simion",
      "groupItemThreshold": "2",
      "questionID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890502",
      "enableOrderBook": true,
      "orderPriceMinTickSize": 0.001,
      "orderMinSize": 5,
      "volumeNum": 7243884.04969298,
      "liquidityNum": 398475.19917,
      "endDateIso": "2024-12-08",
      "startDateIso": "2024-11-08",
      "hasReviewedDates": true,
      "volume24hr": 5039.867,
      "clobTokenIds": "[\"60444392092655129237263026428228168821961471997366291838560699758906532749170\", \"23054659640583661565877928622526567892564216265669487719856303400798354917292\"]",
      "umaBond": "500",
      "umaReward": "5",
      "volume24hrClob": 5039.867,
      "volumeClob": 7243884.04969298,
      "liquidityClob": 398475.19917,
      "acceptingOrders": true,
      "negRisk": true,
      "negRiskMarketID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890500",
      "negRiskRequestID": "0x1191aef851fa009a7084630271e4f8645a453d5a0c95ccddfb634669c57132ee",
      "ready": false,
      "funded": false,
      "acceptingOrdersTimestamp": "2024-11-08T00:18:11Z",
      "cyom": false,
      "competitive": 0.8006398713852111,
      "pagerDutyNotificationEnabled": false,
      "approved": true,
      "rewardsMinSize": 50,
      "rewardsMaxSpread": 3.5,
      "spread": 0.002,
      "oneDayPriceChange": -0.0005,
      "lastTradePrice": 0.002,
      "bestAsk": 0.002,
      "automaticallyActive": true,
      "clearBookOnStart": true,
      "seriesColor": "orange",
      "showGmpSeries": true,
      "showGmpOutcome": false,
      "manualActivation": false,
      "negRiskOther": false
    },
    {
      "id": "512340",
      "question": "Will Nicolae Ciucă win the 2024 Romanian Presidential election?",
      "conditionId": "0x9872fe47fbf6284e5399c0f41d6d2c8fb310d2f4d2d50635ab3b36f6a0a7f5b0",
      "slug": "will-nicolae-ciuca-win-the-2024-romanian-presidential-election",
      "resolutionSource": "",
      "endDate": "2024-12-08T12:00:00Z",
      "liquidity": "84148.94421",
      "startDate": "2024-11-08T00:19:54.627273Z",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-nicolae-ciuc-win-the-2024-romanian-presidential-election-yv6n_3sVTnYI.jpg",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-nicolae-ciuc-win-the-2024-romanian-presidential-election-yv6n_3sVTnYI.jpg",
      "description": "Presidential elections will be held in Romania on 24 November 2024. A second round will be held on 8 December 2024 if no candidate receives an absolute majority of the vote.\n\nThis market will resolve to \"Yes\" if Nicolae Ciucă wins this election. Otherwise, this market will resolve to \"No\".\n\nThis market includes any potential second round. If the result of this election isn't known by April 30, 2025, 11:59 PM ET, the market will resolve to \"No\".\n\nThis market will resolve solely based off the first official announcement of the election results from the Romanian Government, specifically the Permanent Electoral Authority (https://www.roaep.ro/prezentare/).\n",
      "outcomes": "[\"Yes\", \"No\"]",
      "outcomePrices": "[\"0.0015\", \"0.9985\"]",
      "volume": "13676987.97999",
      "active": true,
      "closed": false,
      "marketMakerAddress": "",
      "createdAt": "2024-11-07T23:53:29.207545Z",
      "updatedAt": "2025-03-05T15:31:27.893149Z",
      "new": false,
      "featured": false,
      "submitted_by": "0x91430CaD2d3975766499717fA0D66A78D814E5c5",
      "archived": false,
      "resolvedBy": "0x2F5e3684cb1F318ec51b00Edba38d79Ac2c0aA9d",
      "restricted": true,
      "groupItemTitle": "Nicolae Ciucă",
      "groupItemThreshold": "3",
      "questionID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890503",
      "enableOrderBook": true,
      "orderPriceMinTickSize": 0.001,
      "orderMinSize": 5,
      "volumeNum": 13676987.97999,
      "liquidityNum": 84148.94421,
      "endDateIso": "2024-12-08",
      "startDateIso": "2024-11-08",
      "hasReviewedDates": true,
      "volume24hr": 9124627.196,
      "clobTokenIds": "[\"53033438245279373213426094525005043480366615306824323472317521871682514379120\", \"59618000103872045883924272587382664437569966578424869104128564655378953160740\"]",
      "umaBond": "500",
      "umaReward": "5",
      "volume24hrClob": 9124627.196,
      "volumeClob": 13676987.97999,
      "liquidityClob": 84148.94421,
      "acceptingOrders": true,
      "negRisk": true,
      "negRiskMarketID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890500",
      "negRiskRequestID": "0xdd78bec60036a43e74ccbd2165b5d160a6ea42c8c43956203461a017b05325b6",
      "ready": false,
      "funded": false,
      "acceptingOrdersTimestamp": "2024-11-08T00:18:41Z",
      "cyom": false,
      "competitive": 0.8009597099244316,
      "pagerDutyNotificationEnabled": false,
      "approved": true,
      "rewardsMinSize": 50,
      "rewardsMaxSpread": 3.5,
      "spread": 0.001,
      "oneDayPriceChange": 0.0005,
      "lastTradePrice": 0.002,
      "bestBid": 0.001,
      "bestAsk": 0.002,
      "automaticallyActive": true,
      "clearBookOnStart": true,
      "seriesColor": "",
      "showGmpSeries": false,
      "showGmpOutcome": false,
      "manualActivation": false,
      "negRiskOther": false
    },
    {
      "id": "512341",
      "question": "Will Elena Lasconi win the 2024 Romanian Presidential election?",
      "conditionId": "0x84c0ffe3f56cb357ff5ff8bc5d2182ae90be4dd6718e8403a6af472b452dbfa8",
      "slug": "will-elena-lasconi-win-the-2024-romanian-presidential-election",
      "resolutionSource": "",
      "endDate": "2024-12-08T12:00:00Z",
      "liquidity": "158320.54814",
      "startDate": "2024-11-08T00:20:26.766Z",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-elena-lasconi-win-the-2024-romanian-presidential-election-8J88OW_n_Rjn.png",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-elena-lasconi-win-the-2024-romanian-presidential-election-8J88OW_n_Rjn.png",
      "description": "Presidential elections will be held in Romania on 24 November 2024. A second round will be held on 8 December 2024 if no candidate receives an absolute majority of the vote.\n\nThis market will resolve to \"Yes\" if Elena Lasconi wins this election. Otherwise, this market will resolve to \"No\".\n\nThis market includes any potential second round. If the result of this election isn't known by April 30, 2025, 11:59 PM ET, the market will resolve to \"No\".\n\nThis market will resolve solely based off the first official announcement of the election results from the Romanian Government, specifically the Permanent Electoral Authority (https://www.roaep.ro/prezentare/).\n",
      "outcomes": "[\"Yes\", \"No\"]",
      "outcomePrices": "[\"0.003\", \"0.997\"]",
      "volume": "8457868.73466001",
      "active": true,
      "closed": false,
      "marketMakerAddress": "",
      "createdAt": "2024-11-07T23:54:05.925441Z",
      "updatedAt": "2025-03-05T15:32:18.387138Z",
      "new": false,
      "featured": false,
      "submitted_by": "0x91430CaD2d3975766499717fA0D66A78D814E5c5",
      "archived": false,
      "resolvedBy": "0x2F5e3684cb1F318ec51b00Edba38d79Ac2c0aA9d",
      "restricted": true,
      "groupItemTitle": "Elena Lasconi",
      "groupItemThreshold": "4",
      "questionID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890504",
      "enableOrderBook": true,
      "orderPriceMinTickSize": 0.001,
      "orderMinSize": 5,
      "volumeNum": 8457868.73466001,
      "liquidityNum": 158320.54814,
      "endDateIso": "2024-12-08",
      "startDateIso": "2024-11-08",
      "hasReviewedDates": true,
      "volume24hr": 21324.674,
      "clobTokenIds": "[\"72936048731589292555781174533757608024096898681344338816447372274344589246891\", \"90448145503744292923322937490860582627027606079305280921446237717141752599444\"]",
      "umaBond": "500",
      "umaReward": "5",
      "volume24hrClob": 21324.674,
      "volumeClob": 8457868.73466001,
      "liquidityClob": 158320.54814,
      "acceptingOrders": true,
      "negRisk": true,
      "negRiskMarketID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890500",
      "negRiskRequestID": "0x8cd6e76b84edb6384c856da6ffae4a842fb20e8afe43f47983cba4f77d599fba",
      "ready": false,
      "funded": false,
      "acceptingOrdersTimestamp": "2024-11-08T00:19:11Z",
      "cyom": false,
      "competitive": 0.8019188313797254,
      "pagerDutyNotificationEnabled": false,
      "approved": true,
      "rewardsMinSize": 50,
      "rewardsMaxSpread": 3.5,
      "spread": 0.002,
      "oneDayPriceChange": 0.0005,
      "lastTradePrice": 0.004,
      "bestBid": 0.002,
      "bestAsk": 0.004,
      "automaticallyActive": true,
      "clearBookOnStart": true,
      "seriesColor": "blue",
      "showGmpSeries": true,
      "showGmpOutcome": false,
      "manualActivation": false,
      "negRiskOther": false
    },
    {
      "id": "512342",
      "question": "Will another candidate win the 2024 Romanian Presidential election?",
      "conditionId": "0x00595863287c7c30148d0714255073d0ae0cf338f5287195b720b4ad1c5cbab7",
      "slug": "will-another-candidate-win-the-2024-romanian-presidential-election",
      "resolutionSource": "",
      "endDate": "2024-12-08T12:00:00Z",
      "liquidity": "43163.36704",
      "startDate": "2024-11-08T00:21:03.51Z",
      "image": "https://polymarket-upload.s3.us-east-2.amazonaws.com/romania-legislative-election-aCNxFO0eCIS9.jpg",
      "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/romania-legislative-election-aCNxFO0eCIS9.jpg",
      "description": "Note: This market will resolve to \"Yes\" if Calin Georgescu win the 2024 Romanian Presidential election.\n\nPresidential elections will be held in Romania on 24 November 2024. A second round will be held on 8 December 2024 if no candidate receives an absolute majority of the vote.\n\nThis market will resolve to \"Yes\" if a candidate other than Mircea Geoană, Marcel Ciolacu, George Simion, Nicolae Ciucă, or Elena Lasconi wins this election. Otherwise, this market will resolve to \"No\".\n\nThis market includes any potential second round. If the result of this election isn't known by April 30, 2025, 11:59 PM ET, the market will resolve to \"Yes\".\n\nThis market will resolve solely based off the first official announcement of the election results from the Romanian Government, specifically the Permanent Electoral Authority (https://www.roaep.ro/prezentare/).\n",
      "outcomes": "[\"Yes\", \"No\"]",
      "outcomePrices": "[\"0.975\", \"0.025\"]",
      "volume": "11231308.210233",
      "active": true,
      "closed": false,
      "marketMakerAddress": "",
      "createdAt": "2024-11-07T23:56:13.108055Z",
      "updatedAt": "2025-03-05T15:32:11.992034Z",
      "new": false,
      "featured": false,
      "submitted_by": "0x91430CaD2d3975766499717fA0D66A78D814E5c5",
      "archived": false,
      "resolvedBy": "0x2F5e3684cb1F318ec51b00Edba38d79Ac2c0aA9d",
      "restricted": true,
      "groupItemTitle": "Other (incl. Georgescu)",
      "groupItemThreshold": "5",
      "questionID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890505",
      "enableOrderBook": true,
      "orderPriceMinTickSize": 0.001,
      "orderMinSize": 5,
      "volumeNum": 11231308.210233,
      "liquidityNum": 43163.36704,
      "endDateIso": "2024-12-08",
      "startDateIso": "2024-11-08",
      "hasReviewedDates": true,
      "volume24hr": 14074.860193,
      "clobTokenIds": "[\"77954885101917694680997876546123468446797411305104780556694518332567138933230\", \"88627813557332605845257549903596285926978404287527273059355798909309731923250\"]",
      "umaBond": "500",
      "umaReward": "5",
      "volume24hrClob": 14074.860193,
      "volumeClob": 11231308.210233,
      "liquidityClob": 43163.36704,
      "acceptingOrders": true,
      "negRisk": true,
      "negRiskMarketID": "0xddf50ca1c4e44048b231fbcaba42b1d5d39b155be73bcb67849a4bf2ea890500",
      "negRiskRequestID": "0xeb2b4a223c67e8ecd0f50840cc131978fbd0126c2c371ff96fd86ab22a74ec3f",
      "ready": false,
      "funded": false,
      "acceptingOrdersTimestamp": "2024-11-08T00:19:37Z",
      "cyom": false,
      "competitive": 0.815910249872514,
      "pagerDutyNotificationEnabled": false,
      "approved": true,
      "rewardsMinSize": 50,
      "rewardsMaxSpread": 3.5,
      "spread": 0.004,
      "oneDayPriceChange": -0.0035,
      "lastTradePrice": 0.977,
      "bestBid": 0.973,
      "bestAsk": 0.977,
      "automaticallyActive": true,
      "clearBookOnStart": true,
      "seriesColor": "pink",
      "showGmpSeries": true,
      "showGmpOutcome": false,
      "manualActivation": false,
      "negRiskOther": false
    }
  ],
  "tags": [
    {
      "id": "101438",
      "label": "Romania",
      "slug": "romania",
      "createdAt": "2024-12-06T18:57:57.591711Z"
    },
    {
      "id": "1597",
      "label": "Global Elections",
      "slug": "global-elections",
      "forceShow": true,
      "publishedAt": "2024-03-07 20:44:01.258+00",
      "createdBy": 15,
      "updatedBy": 15,
      "createdAt": "2024-03-07T20:41:56.773Z",
      "updatedAt": "2024-03-11T22:44:54.535Z"
    },
    {
      "id": "2",
      "label": "Politics",
      "slug": "politics",
      "forceShow": false,
      "publishedAt": "2023-10-25 18:55:50.674+00",
      "updatedBy": 13,
      "createdAt": "2023-10-25T18:55:50.681Z",
      "updatedAt": "2024-07-05T21:07:05.081707Z",
      "forceHide": true
    },
    {
      "id": "1476",
      "label": "eu",
      "slug": "eu",
      "publishedAt": "2024-02-27 19:09:27.069+00",
      "createdAt": "2024-02-27T19:09:27.118Z",
      "updatedAt": "2024-02-27T19:09:27.118Z"
    },
    {
      "id": "100410",
      "label": "Europe",
      "slug": "europe",
      "createdAt": "2024-09-03T23:38:52.652644Z"
    }
  ],
  "cyom": false,
  "showAllOutcomes": true,
  "showMarketImages": true,
  "enableNegRisk": true,
  "automaticallyActive": true,
  "gmpChartMode": "manual",
  "negRiskAugmented": false,
  "countryName": "Romania",
  "electionType": "Presidential",
  "color": "#DEE9FF,#3064CA"
}
```

Event Price history

```json
{
  "price": 0.51,
  "date": "2025-03-04 22:30:05"
}
```

Event Comments

```json
{
  "id": "1104347",
  "body": "Who in the fuck went and proposed a yes resolution? Are you literally retarded?",
  "parentEntityType": "Event",
  "parentEntityID": 20335,
  "userAddress": "0x4cd8c6b34a138b2b4b3789c2d3554c7414098514",
  "createdAt": "2025-03-06T05:15:27.809641Z",
  "updatedAt": "2025-03-06T05:15:28.750726Z",
  "profile": {
    "name": "Jinmao",
    "pseudonym": "Ajar-Comic",
    "displayUsernamePublic": true,
    "proxyWallet": "0x7e51bf5b6ee3b352790914c6fff5cf8e39902e97",
    "baseAddress": "0x4cd8c6b34a138b2b4b3789c2d3554c7414098514",
    "positions": [
      {
        "tokenId": "6365307450597307214488921583680050155933153401310880962065542966514553920633",
        "positionSize": "54411763"
      }
    ]
  },
  "reactions": [
    {
      "id": "1115538",
      "commentID": 1104347,
      "reactionType": "HEART",
      "userAddress": "0x7c6b25a5fbaad49da3403699db886becd15154fd",
      "profile": {
        "proxyWallet": "0x7be6b073394f2ac9cc32bbcf7927bfb3cc51a8bc"
      }
    },
    {
      "id": "1115534",
      "commentID": 1104347,
      "reactionType": "HEART",
      "userAddress": "0x88be136c40ee4151efc26d08cab7add22687af57",
      "profile": {
        "proxyWallet": "0xfcb034faade540c47ad37e582f6e0c762feac865"
      }
    },
    {
      "id": "1115543",
      "commentID": 1104347,
      "reactionType": "HEART",
      "userAddress": "0x147d15ab6ad449428edb1cc99a1156897621dd02",
      "profile": {
        "proxyWallet": "0x44c1dfe43260c94ed4f1d00de2e1f80fb113ebc1"
      }
    },
    {
      "id": "1115539",
      "commentID": 1104347,
      "reactionType": "HEART",
      "userAddress": "0x0db5aea9f41ce8398104e9d4694cfb18f146c493",
      "profile": {
        "proxyWallet": "0x6ffb4354cbe6e0f9989e3b55564ec5fb8646a834"
      }
    },
    {
      "id": "1115536",
      "commentID": 1104347,
      "reactionType": "HEART",
      "userAddress": "0x2e0894aefd291eefe8d9fe8828ba250995755347",
      "profile": {
        "proxyWallet": "0x323382d92056a9402973c940a893e11d126c030b"
      }
    },
    {
      "id": "1115620",
      "commentID": 1104347,
      "reactionType": "HEART",
      "userAddress": "0xecdf92f8e669f91a96375e9157b497a40b12a0de",
      "profile": {
        "proxyWallet": "0x246f3fd27591cdb75091c3810bd0ccbe459c773c"
      }
    },
    {
      "id": "1115650",
      "commentID": 1104347,
      "reactionType": "HEART",
      "userAddress": "0x68abe5777f03b77e037e649c43da7ffbfef59e5c",
      "profile": {
        "proxyWallet": "0x7b7050382fa6f35d7461b2190c4c897a1b7ced51"
      }
    },
    {
      "id": "1115694",
      "commentID": 1104347,
      "reactionType": "HEART",
      "userAddress": "0x46f4bffe4f82d72a10a02d5e3722b6cff21fbff0",
      "profile": {
        "proxyWallet": "0xd2d9f2e9336fb5fba4223d825bcbfd68cbfbe579"
      }
    }
  ],
  "reportCount": 0,
  "reactionCount": 8
}
```

Event Top Holders

```json
{
  "proxyWallet": "0x2cea147625e653974b96182a5cbcc1c4911b4ecc",
  "bio": "",
  "asset": "6365307450597307214488921583680050155933153401310880962065542966514553920633",
  "pseudonym": "Difficult-Baseline",
  "amount": 10013.494972,
  "displayUsernamePublic": true,
  "outcomeIndex": 0,
  "name": "WhaleSharkdodododododo",
  "profileImage": "https://polymarket-upload.s3.us-east-2.amazonaws.com/IMG_6862_374e7fd1-d48d-48c0-82a0-e4637700e974_1737191134123.webp",
  "profileImageOptimized": "",
  "asset_outcome": "YES"
}
```

Event Activity

```json
{
  "proxyWallet": "0xdf933b45bf02e6f10002da22ea32a7cff08fbdc8",
  "side": "BUY",
  "asset": "94763346456211862756663407807766320943280471880343438890553878846732642478666",
  "conditionId": "0x26fd85f0907ff72bba2adefa47c9ab827ec51d7336f10021a46094c5413b6394",
  "size": 100,
  "price": 0.83,
  "timestamp": 1741257015,
  "title": "Will Trump reduce tariffs on Mexico or Canada today?",
  "slug": "will-trump-reduce-tariffs-on-mexico-or-canada-by-wedneday",
  "icon": "https://polymarket-upload.s3.us-east-2.amazonaws.com/will-trump-reduce-tariffs-on-mexico-or-canada-by-wedneday-tQtnU59h8aIt.jpg",
  "eventSlug": "will-trump-reduce-tariffs-on-mexico-or-canada-by-wedneday",
  "outcome": "No",
  "outcomeIndex": 1,
  "name": "CitizenScientist",
  "pseudonym": "Wide-Creativity",
  "bio": "PhD in molecular genetics",
  "profileImage": "https://polymarket-upload.s3.us-east-2.amazonaws.com/arno_smit_sKJ7zSylUao_unsplash_8dd1cb33-d87f-418b-8a4d-b2121ad456a1_1734900621679.jpg",
  "profileImageOptimized": "",
  "transactionHash": "0xb136642fd755eebcd6808a37cb937002fade3d9c183a8e0519d0c6d87fdf3bbe"
}
```

# Actor input Schema

## `max_results` (type: `integer`):

Maximum number of data rows extracted (0 = no limit)

## `activity_filteramount` (type: `string`):

Select profile section you want data from

## `proxyConfiguration` (type: `object`):

Datacenter recommended, not mandatory

## `select_feature` (type: `string`):

Select profile section you want data from

## `url_markets` (type: `string`):

Search market url, should contains /markets/ For example: https://polymarket.com/markets/politics

## `profile_id` (type: `string`):

example: ID of https://polymarket.com/profile/0x9f47f1fcb1701bf9eaf31236ad39875e5d60af93 is 0x9f47f1fcb1701bf9eaf31236ad39875e5d60af93

## `profile_category` (type: `string`):

Select profile section you want data from

## `activity_only_recent` (type: `boolean`):

Helps monitoring realtime trade activity on the platform, without going down the history path of old trades (Set to true if you want real time trades, False if you want to get all trades from now to yesterday for example)

## `activity_refresh_rate` (type: `integer`):

Used with activity\_only\_recent set to True, it helps control refreshing rate of the page

## `event_page` (type: `string`):

Provide a specific event url to extract information from

## `event_feature_type` (type: `string`):

Select sort type

## `holders_only` (type: `boolean`):

Extract comments only from holders of the asset

## `sorted_by` (type: `string`):

Select sort type

## Actor input object example

```json
{
  "max_results": 5,
  "activity_filteramount": "1",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "select_feature": "activity",
  "url_markets": "https://polymarket.com/markets/politics",
  "profile_id": "0x9f47f1fcb1701bf9eaf31236ad39875e5d60af93",
  "profile_category": "positions",
  "activity_only_recent": true,
  "activity_refresh_rate": 5,
  "event_feature_type": "price",
  "sorted_by": "createdAt"
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "max_results": 5,
    "activity_filteramount": "1",
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    },
    "select_feature": "activity",
    "url_markets": "https://polymarket.com/markets/politics",
    "profile_id": "0x9f47f1fcb1701bf9eaf31236ad39875e5d60af93",
    "profile_category": "positions",
    "activity_only_recent": true,
    "activity_refresh_rate": 5,
    "event_page": "",
    "event_feature_type": "price",
    "holders_only": false,
    "sorted_by": "createdAt"
};

// Run the Actor and wait for it to finish
const run = await client.actor("saswave/polymarket-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "max_results": 5,
    "activity_filteramount": "1",
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
    "select_feature": "activity",
    "url_markets": "https://polymarket.com/markets/politics",
    "profile_id": "0x9f47f1fcb1701bf9eaf31236ad39875e5d60af93",
    "profile_category": "positions",
    "activity_only_recent": True,
    "activity_refresh_rate": 5,
    "event_page": "",
    "event_feature_type": "price",
    "holders_only": False,
    "sorted_by": "createdAt",
}

# Run the Actor and wait for it to finish
run = client.actor("saswave/polymarket-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "max_results": 5,
  "activity_filteramount": "1",
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  },
  "select_feature": "activity",
  "url_markets": "https://polymarket.com/markets/politics",
  "profile_id": "0x9f47f1fcb1701bf9eaf31236ad39875e5d60af93",
  "profile_category": "positions",
  "activity_only_recent": true,
  "activity_refresh_rate": 5,
  "event_page": "",
  "event_feature_type": "price",
  "holders_only": false,
  "sorted_by": "createdAt"
}' |
apify call saswave/polymarket-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,saswave/polymarket-scraper"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/zk7YUgJcCRGlTJNEw/builds/OqGZeVTCzA75Pzlqo/openapi.json
