1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "requestReference": "SAMPLE-LISTINGS-20260809",
10 "requestText": "Collect and normalize authorized current tax-sale listings for the counties selected in Step 1.",
11 "years": [2026],
12 "businessPurpose": "Internal due-diligence research for a possible direct purchase.",
13 "customerType": "direct_customer",
14 "expectedVolume": "up_to_1000",
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": "SYNTHETIC-CANARY-001",
31 "stateCode": "AL",
32 "county": "Baldwin County",
33 "recordYear": 2026,
34 "listingStatus": "UPCOMING",
35 "dataAsOf": "2026-08-29",
36 "saleDate": "2026-09-15",
37 "parcelId": "SYNTHETIC-PARCEL-001",
38 "propertyType": "land",
39 "saleMethod": "non auction tax sale",
40 "minimumBidUsd": 900,
41 "assessedValueUsd": 12000,
42 "marketValueUsd": 12000,
43 }],
44 "jurisdictions": [{
45 "stateCode": "AL",
46 "name": "Baldwin County",
47 "jurisdictionId": "US-AL-01003",
48 }],
49}
50
51
52run = client.actor("ascensionworks/ascension-works-current-listing-research-request").call(run_input=run_input)
53
54
55print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
56for item in client.dataset(run.default_dataset_id).iterate_items():
57 print(item)
58
59