Polymarket Scraper avatar
Polymarket Scraper

Pricing

$25.00/month + usage

Go to Store
Polymarket Scraper

Polymarket Scraper

Developed by

SASWAVE

SASWAVE

Maintained by Community

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

0.0 (0)

Pricing

$25.00/month + usage

0

Total users

5

Monthly users

3

Runs succeeded

62%

Last modified

3 days ago

You can access the Polymarket Scraper programmatically from your own applications by using the Apify API. You can also choose the language preference from below. To use the Apify API, you’ll need an Apify account and your API token, found in Integrations settings in Apify Console.

1import { ApifyClient } from 'apify-client';
2
3// Initialize the ApifyClient with your Apify API token
4// Replace the '<YOUR_API_TOKEN>' with your token
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9// Prepare Actor input
10const input = {
11 "max_results": 0,
12 "activity_filteramount": "1",
13 "proxyConfiguration": {
14 "useApifyProxy": true,
15 "apifyProxyGroups": [
16 "RESIDENTIAL"
17 ]
18 },
19 "select_feature": "leaderboard",
20 "url_markets": "https://polymarket.com/markets/politics",
21 "profile_id": "0x9f47f1fcb1701bf9eaf31236ad39875e5d60af93",
22 "profile_category": "positions",
23 "activity_page": true,
24 "activity_only_recent": false,
25 "activity_refresh_rate": 5,
26 "leaderboard_page": true,
27 "leaderboard_rangedate": "30d",
28 "leaderboard_section": "volume&profit",
29 "event_page": "",
30 "event_feature_type": "price",
31 "holders_only": false,
32 "sorted_by": "createdAt"
33};
34
35// Run the Actor and wait for it to finish
36const run = await client.actor("saswave/polymarket-scraper").call(input);
37
38// Fetch and print Actor results from the run's dataset (if any)
39console.log('Results from dataset');
40console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
41const { items } = await client.dataset(run.defaultDatasetId).listItems();
42items.forEach((item) => {
43 console.dir(item);
44});
45
46// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

Polymarket Scraper API in JavaScript

The Apify API client for JavaScript is the official library that allows you to use Polymarket Scraper API in JavaScript or TypeScript, providing convenience functions and automatic retries on errors.

Install the apify-client

$npm install apify-client

Other API clients include: