$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "locations": [
< "Bangkok"
< ],
< "urls": [
< "https://www.hipflat.co.th/ขายคอนโด/กรุงเทพฯ",
< "https://www.hipflat.co.th/คอนโดให้เช่า/กรุงเทพฯ",
< "https://www.hipflat.co.th/ขายคอนโด/กรุงเทพฯ?page=2",
< "https://www.hipflat.co.th/ขายคอนโด/กรุงเทพฯ/2ห้องนอน?sort=price_asc",
< "https://www.hipflat.co.th/ขายคอนโด/กรุงเทพฯ?sort=price_asc&page=2",
< "https://www.hipflat.co.th/ขายคอนโด/กรุงเทพฯ?price_min=3000000&price_max=5000000",
< "https://www.hipflat.co.th/ขายคอนโด/กรุงเทพฯ/สาทร",
< "https://www.hipflat.co.th/ขายคอนโด",
< "https://www.hipflat.co.th/en/condo-for-sale/bangkok",
< "https://www.hipflat.co.th/en/condo-for-rent/bangkok",
< "https://www.hipflat.co.th/ads/cu3u02c083eu7th0e1a89n433u0he740",
< "https://www.hipflat.co.th/en/ads/cu3u02c083eu7th0e1a89n433u0he740",
< "https://www.hipflat.co.th/thailand-projects/condo/bangkok-bm",
< "https://www.hipflat.co.th/thailand-projects/condo/bangkok-bm?page=2",
< "https://www.hipflat.co.th/projects/31-residence-krkcne"
< ],
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~hipflat-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'