$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< "https://www.trulia.com/p/ny/bronx/895-tiffany-st-bronx-ny-10459--2008893028",
< "https://www.trulia.com/home/364-Ovington-Ave-Brooklyn-NY-11209-112508280",
< "https://www.trulia.com/building/the-tides-at-arverne-by-the-sea-190-beach-69th-st-arverne-ny-11692-2355011519",
< "https://www.trulia.com/sold/New_York,NY/",
< "https://www.trulia.com/for_rent/New_York,NY/",
< "https://www.trulia.com/for_sale/New_York,NY/p_oh/",
< "https://www.trulia.com/for_sale/New_York,NY/2p_beds/50000p_price/APARTMENT,CONDO,COOP,SINGLE-FAMILY_HOME_type/fsbo_lt/"
< ],
< "maxItems": 20,
< "endPage": 1,
< "extendOutputFunction": "($) => { return {} }",
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~trulia-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'