1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "authorization": "I confirm I am authorized to process and deliver these Willhaben listing records",
10 "sourceContext": "advertiser_authorized_export",
11 "listings": [{
12 "listingId": "authorized-vienna-1001",
13 "listingUrl": "https://www.willhaben.at/iad/immobilien/d/mietwohnungen/wien/wien-1020-leopoldstadt/authorized-example-1001/",
14 "title": "Authorized Vienna apartment evidence",
15 "price": 1290,
16 "currency": "EUR",
17 "dealType": "rent",
18 "propertyType": "Wohnung",
19 "rooms": 2,
20 "areaSqm": 54.5,
21 "location": "Wien, 2. Bezirk, Leopoldstadt",
22 "latitude": 48.216,
23 "longitude": 16.392,
24 "postedAt": "2026-08-12T08:30:00Z",
25 "description": "Buyer-supplied minimal listing summary with unnecessary personal contact data removed.",
26 "images": [],
27 "sourceName": "Advertiser-authorized listing export",
28 "sourceLicense": "Buyer confirms authorization to process and deliver this listing record.",
29 "sourceRetrievedAt": "2026-08-13T00:00:00Z",
30 }],
31}
32
33
34run = client.actor("zinin/willhaben-vienna").call(run_input=run_input)
35
36
37print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
38for item in client.dataset(run.default_dataset_id).iterate_items():
39 print(item)
40
41