$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "subject": {
< "address": "15 Broad St, Boston, MA",
< "bedrooms": 2,
< "bathrooms": 1,
< "propertyType": "apartment"
< },
< "comparables": [
< {
< "id": "comp-1",
< "address": "19 Broad St, Boston, MA",
< "rentMonthly": 4200,
< "currency": "USD",
< "bedrooms": 2,
< "bathrooms": 1,
< "propertyType": "apartment",
< "observedAt": "2026-08-15T00:00:00.000Z",
< "sourceUrl": "https://example.com/listings/comp-1"
< },
< {
< "id": "comp-2",
< "address": "23 Broad St, Boston, MA",
< "rentMonthly": 4350,
< "currency": "USD",
< "bedrooms": 2,
< "bathrooms": 1,
< "propertyType": "apartment",
< "observedAt": "2026-08-20T00:00:00.000Z",
< "sourceUrl": "https://example.com/listings/comp-2"
< },
< {
< "id": "comp-3",
< "address": "31 Broad St, Boston, MA",
< "rentMonthly": 4100,
< "currency": "USD",
< "bedrooms": 2,
< "bathrooms": 1,
< "propertyType": "apartment",
< "observedAt": "2026-08-27T00:00:00.000Z",
< "sourceUrl": "https://example.com/listings/comp-3"
< }
< ],
< "currency": "USD",
< "analysisMethod": "weightedMedian",
< "maxComparableAgeDays": 365,
< "maxComparableDistanceMiles": 5,
< "minimumComparableScore": 0.5,
< "outlierStrategy": "iqr",
< "maxComparablesInReport": 25
<}
<EOF
$curl "https://api.apify.com/v2/actors/khadinakbar~rentometer-alternative/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'