1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "requestReference": "SAMPLE-LISTINGS-20260809",
10 "requestText": "Normalize and screen my authorized Baldwin County listing record.",
11 "years": [2026],
12 "businessPurpose": "Internal due-diligence research for a possible direct purchase.",
13 "customerType": "direct_customer",
14 "expectedVolume": "under_500",
15 "deliveryMode": "portal_api",
16 "lawfulPurposeAccepted": True,
17 "restrictedUseAccepted": True,
18 "licenseAccepted": True,
19 "maxResults": 100,
20 "maxSourceAgeDays": 3650,
21 "maxTargetCost": 5000,
22 "minAssessedValue": 0,
23 "minMarketValue": 0,
24 "minValueToCostRatio": 0,
25 "preferredPropertyTypes": ["land"],
26 "preferredSaleMethods": [],
27 "sortPreference": "lowest_cost",
28 "customerDataRightsAccepted": True,
29 "customerRecords": [{
30 "recordReference": "CUSTOMER-SAMPLE-001",
31 "stateCode": "AL",
32 "county": "Baldwin County",
33 "recordYear": 2026,
34 "listingStatus": "ACTIVE",
35 "dataAsOf": "2026-08-10",
36 "parcelId": "SAMPLE-PARCEL-001",
37 "propertyType": "land",
38 "saleMethod": "non auction tax sale",
39 "minimumBidUsd": 900,
40 "assessedValueUsd": 12000,
41 "marketValueUsd": 15000,
42 }],
43 "jurisdictions": [{
44 "stateCode": "AL",
45 "name": "Baldwin County",
46 "jurisdictionId": "US-AL-01003",
47 }],
48}
49
50
51run = client.actor("ascensionworks/ascension-works-current-listing-research-request").call(run_input=run_input)
52
53
54print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
55for item in client.dataset(run.default_dataset_id).iterate_items():
56 print(item)
57
58