1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "outputMode": "address_evidence",
10 "addresses": ["1100 Briercliff Drive, Orlando, FL"],
11 "marketSources": [{
12 "source_id": "customer-pms-export",
13 "publisher": "Customer-authorized property management system",
14 "source_url": "https://example.com/customer-export",
15 "access_method": "customer_authorized",
16 "observed_at": "2026-08-25T12:00:00.000Z",
17 "rights": {
18 "commercial_use": "allowed",
19 "redistribution": "allowed",
20 "basis": "Customer authorized CivicDataForge to process and return this portfolio data.",
21 "evidence_url": "https://example.com/authorization",
22 "reviewed_at": "2026-08-25T12:00:00.000Z",
23 "asserted_by": "customer",
24 },
25 "observations": [{
26 "reference_id": "property-1",
27 "platform": "customer-pms",
28 "listing_id": "listing-1",
29 "claimed_permit_id": "STR-EXAMPLE",
30 "address": "1100 Briercliff Drive, Orlando, FL",
31 "address_precision": "exact",
32 "observed_at": "2026-08-25T12:00:00.000Z",
33 }],
34 }],
35 "cities": ["orlando"],
36 "status": "all",
37 "maxRecordsPerCity": 25,
38}
39
40
41run = client.actor("civicdataforge/str-permit-registry").call(run_input=run_input)
42
43
44print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
45for item in client.dataset(run.default_dataset_id).iterate_items():
46 print(item)
47
48