$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "category",
< "categoryUrls": [
< "https://shop.tiktok.com/us/c/cases-screen-protectors-stickers/601925",
< "https://shop.tiktok.com/us/c/audio-video/909320",
< "https://shop.tiktok.com/us/c/cases-screen-protectors-stickers/601925?page=2",
< "https://shop.tiktok.com/us/s?q=phone+case",
< "https://shop.tiktok.com/us/pdp/cosrx/1731369897578565803"
< ],
< "queries": [
< "phone case"
< ],
< "productUrls": [
< "https://shop.tiktok.com/us/pdp/cosrx/1731369897578565803",
< "https://shop.tiktok.com/us/pdp/1732417051041435718",
< "https://shop.tiktok.com/us/pdp/1731845743813890854?utm_source=x&sku_id=1",
< "https://www.tiktok.com/view/product/1729407118584156350",
< "https://www.tiktok.com/shop/pdp/cosrx/1731369897578565803",
< "https://shop.tiktok.com/view/product/1732406648548856677?region=US&locale=en"
< ],
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< },
< "maxNotifyListings": 50
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~tiktok-shop-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'