$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "queries": [
< "laptop"
< ],
< "searchUrls": [
< "https://www.walmart.com/search?q=laptop",
< "https://www.walmart.com/search?q=laptop&page=2",
< "https://www.walmart.com/search?q=laptop&sort=price_low&facet=brand%3AApple",
< "https://www.walmart.com/search?q=laptop&min_price=300&max_price=600",
< "https://www.walmart.com/browse/electronics/3944",
< "https://www.walmart.com/browse/electronics/3944?page=2",
< "https://www.walmart.com/cp/electronics/3944",
< "https://www.walmart.com/shop/deals",
< "https://www.walmart.com/c/kp/laptops",
< "https://www.walmart.com/seller/101216456",
< "https://www.walmart.com/global/seller/101216456"
< ],
< "productInputs": [
< "https://www.walmart.com/ip/Apple-MacBook-Air/19699754154",
< "https://www.walmart.com/ip/19699754154",
< "https://www.walmart.com/reviews/product/19699754154"
< ],
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~walmart-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'