1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "chainName": "solana",
10 "time": "24h",
11 "rankBy": "trendingScoreH24",
12 "order": "desc",
13 "fromPage": 1,
14 "toPage": 1,
15 "limit": 10,
16 "limitPerPage": 10,
17 "filterArgs": [],
18 "addTokenDetails": False,
19 "addTopTraders": False,
20 "topTradersTimeframe": "7d",
21 "proxyConfiguration": { "useApifyProxy": False },
22}
23
24
25run = client.actor("parsebird/dexscreener-crypto-scraper").call(run_input=run_input)
26
27
28print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
29for item in client.dataset(run["defaultDatasetId"]).iterate_items():
30 print(item)
31
32