1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "mode": "watchlist",
10 "symbols": [
11 "BTC",
12 "ETH",
13 "SOL",
14 "XRP",
15 "DOGE",
16 ],
17 "topN": 100,
18 "vsCurrency": "usd",
19 "useBinanceFallback": True,
20 "dexQueries": [
21 "So11111111111111111111111111111111111111112",
22 "PEPE",
23 ],
24 "dexChain": "solana",
25 "dexMaxPairsPerToken": 3,
26 "walletAddresses": ["0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"],
27 "walletChain": "eth",
28 "walletPeriod": "7d",
29 "responseFormat": "detailed",
30}
31
32
33run = client.actor("khadinakbar/crypto-price-tracker").call(run_input=run_input)
34
35
36print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
37for item in client.dataset(run["defaultDatasetId"]).iterate_items():
38 print(item)
39
40