$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
<  "startUrls": [
<    "https://www.etsy.com/listing/743657804/sheepskin-slippers-wool-slippers-fur?ga_order=most_relevant&ga_search_type=all&ga_view_type=gallery&ga_search_query=&ref=sc_gallery-5-1&plkey=89e47f49c28602795b44fc71559e2839056339d8%3A743657804&frs=1",
<    "https://www.etsy.com/c/clothing-and-shoes?ref=catnav-10923",
<    "https://www.etsy.com/search?q=apple%20watch",
<    "https://www.etsy.com/shop/PetiteFraise?ref=simple-shop-header-name&listing_id=490831663&page=2#items"
<  ],
<  "maxItems": 10,
<  "endPage": 1,
<  "extendOutputFunction": "($) => {\n    const result = {};\n    // Uncomment to add a title to the output\n    // result.title = $('title').text().trim();\n\n    return result;\n}",
<  "customMapFunction": "(object) => { return {...object} }",
<  "proxy": {
<    "useApifyProxy": true,
<    "apifyProxyGroups": [
<      "RESIDENTIAL"
<    ]
<  }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~etsy-scraper/runs?token=$API_TOKEN" \
<  -X POST \
<  -d @input.json \
<  -H 'Content-Type: application/json'