1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "urls": ["https://urlaub.check24.de/suche/hotel?airport=BER,BRE,CGN,DRS,DTM,DUS,ERF,FDH,FKB,FMM,FMO,FRA,GWT,HAJ,HAM,HHN,KSF,LBC,LEJ,MUC,NRN,NUE,PAD,RLG,SCN,STR&areaId=869&areaSort=topregion&days=exact&departureDate=2025-08-16&dpCom=86381374309&hotelDestination=Ostsee+(Deutschland)&offerSort=default&referrerSourceHotelExecuted=1&returnDate=2025-08-17&roomAllocation=A-A&sorting=categoryDistribution"],
10 "max_items_per_url": 20,
11 "max_retries_per_url": 2,
12 "proxy": {
13 "useApifyProxy": True,
14 "apifyProxyGroups": ["RESIDENTIAL"],
15 "apifyProxyCountry": "SG",
16 },
17}
18
19
20run = client.actor("ecomscrape/urlaub-check24-hotel-search-scraper").call(run_input=run_input)
21
22
23print("💾 Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
24for item in client.dataset(run["defaultDatasetId"]).iterate_items():
25 print(item)
26
27