$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "requestReference": "SAMPLE-SCREENING-20260809",
< "requestText": "Rank my authorized Baldwin County record by county and listing.",
< "years": [
< 2026
< ],
< "businessPurpose": "Internal due-diligence research for a possible direct purchase.",
< "customerType": "direct_customer",
< "expectedVolume": "under_500",
< "deliveryMode": "portal_api",
< "lawfulPurposeAccepted": true,
< "restrictedUseAccepted": true,
< "licenseAccepted": true,
< "maxResults": 100,
< "maxSourceAgeDays": 3650,
< "maxTargetCost": 5000,
< "minAssessedValue": 0,
< "minMarketValue": 0,
< "minValueToCostRatio": 0,
< "preferredPropertyTypes": [
< "land"
< ],
< "preferredSaleMethods": [],
< "sortPreference": "best_value",
< "customerDataRightsAccepted": true,
< "customerRecords": [
< {
< "recordReference": "CUSTOMER-SAMPLE-001",
< "stateCode": "AL",
< "county": "Baldwin County",
< "recordYear": 2026,
< "listingStatus": "ACTIVE",
< "dataAsOf": "2026-08-10",
< "parcelId": "SAMPLE-PARCEL-001",
< "propertyType": "land",
< "saleMethod": "non auction tax sale",
< "minimumBidUsd": 900,
< "assessedValueUsd": 12000,
< "marketValueUsd": 15000
< }
< ],
< "rankingMode": "counties_and_listings",
< "minQualifyingListingsPerCounty": 0,
< "minCountyMatchRatePercent": 0,
< "countyWeightListingCount": 30,
< "countyWeightMatchRate": 25,
< "countyWeightValueContext": 20,
< "countyWeightSaleTiming": 15,
< "countyWeightCompleteness": 10,
< "jurisdictions": [
< {
< "stateCode": "AL",
< "name": "Baldwin County",
< "jurisdictionId": "US-AL-01003"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/ascensionworks~ascension-works-opportunity-screening-request/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'