1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "listingUrls": [
10 "https://www.airbnb.com/rooms/2072026",
11 "https://www.airbnb.com/rooms/39811858",
12 ],
13 "locations": ["Asheville, North Carolina"],
14 "checkIn": "2026-10-15",
15 "checkOut": "2026-10-18",
16 "adults": 2,
17 "samples": 3,
18 "maxPages": 5,
19 "currency": "USD",
20 "maxItems": 100,
21 "proxyConfiguration": {
22 "useApifyProxy": True,
23 "apifyProxyCountry": "US",
24 },
25}
26
27
28run = client.actor("cirkit/airbnb-rank-tracker").call(run_input=run_input)
29
30
31print(f"πΎ Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
32for item in client.dataset(run.default_dataset_id).iterate_items():
33 print(item)
34
35