1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "sourceId": "fictional-us-demo",
10 "monitorId": "apify-qa-demo",
11 "authorizationConfirmed": True,
12 "listings": [
13 {
14 "id": "DEMO-US-001",
15 "title": "Fictional Austin townhome — demo only",
16 "description": "Price reduced. This fictional listing exists only to demonstrate literal text matching.",
17 "price": 300000,
18 "currency": "USD",
19 "country": "US",
20 "location": "Austin, TX",
21 "region": "Texas",
22 "area": 1500,
23 "areaUnit": "sqft",
24 "rooms": 3,
25 "listedAt": "2026-10-01",
26 "sourceUrl": "https://example.com/property/demo-us-001",
27 },
28 {
29 "id": "DEMO-US-002",
30 "title": "Fictional Denver apartment — demo only",
31 "description": "Urgent viewing request. Fictional sample; no actual property is offered.",
32 "price": 240000,
33 "currency": "USD",
34 "country": "US",
35 "location": "Denver, CO",
36 "region": "Colorado",
37 "listedAt": "2026-10-02",
38 "sourceUrl": "https://example.com/property/demo-us-002",
39 },
40 {
41 "id": "DEMO-US-003",
42 "title": "Fictional Portland cottage — demo only",
43 "description": "Fictional sample with no configured keyword.",
44 "price": 350000,
45 "currency": "USD",
46 "country": "US",
47 "location": "Portland, OR",
48 "region": "Oregon",
49 "area": 92,
50 "areaUnit": "sqm",
51 "rooms": 2,
52 "sourceUrl": "https://example.com/property/demo-us-003",
53 },
54 ],
55}
56
57
58run = client.actor("afkdigital/property-listing-signal-monitor").call(run_input=run_input)
59
60
61print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
62for item in client.dataset(run.default_dataset_id).iterate_items():
63 print(item)
64
65