$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "locations": [
< "Califon, NJ"
< ],
< "prices": [
< "500000"
< ],
< "down_payments": [
< "100000"
< ],
< "rents": [
< "2500"
< ],
< "annual_property_taxes": [
< "0.0125"
< ],
< "broker_fees": [
< "0"
< ],
< "buying_closing_costs": [
< "4"
< ],
< "selling_closing_costs": [
< "6"
< ],
< "rates": [
< "6.31"
< ],
< "inflation_rates": [
< "2"
< ],
< "income_tax_rates": [
< "28"
< ],
< "mortgage_terms": [
< "30"
< ],
< "avg_monthly_maintenances": [
< "4165"
< ],
< "monthly_hois": [
< "233"
< ],
< "additional_monthly_utilities": [
< "100"
< ],
< "monthly_renter_insurances": [
< "1.31"
< ],
< "hoas": [
< "0"
< ],
< "rent_appreciations": [
< "2"
< ],
< "home_appreciations": [
< "2"
< ],
< "investment_rors": [
< "4"
< ],
< "capital_gains_exclusions": [
< "500000"
< ],
< "is_veterans": [
< "false"
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/propertyapi~realtor-housing-decision-engine/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'