$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "resultType": "shows",
< "queries": [
< "charizard"
< ],
< "urls": [
< "https://www.whatnot.com/tag/pokemon_cards",
< "https://www.whatnot.com/user/spacenarwhalz",
< "https://www.whatnot.com/search?query=charizard",
< "https://www.whatnot.com/live/29169035-c0ed-494e-a5b6-bcb133286d4c",
< "https://www.whatnot.com/listing/TGlzdGluZ05vZGU6MjQwNzY2NTg3NA==",
< "https://www.whatnot.com/user/spacenarwhalz/shop",
< "https://www.whatnot.com/user/spacenarwhalz/reviews",
< "https://www.whatnot.com/en-GB/tag/pokemon_cards",
< "https://www.whatnot.com/category/pokemon_cards",
< "https://whatnot.com/tag/pokemon_cards"
< ],
< "sellers": [],
< "categoryView": "list",
< "leaderboardInterval": "CURRENT_WEEK",
< "categories": [
< "pokemon_cards"
< ],
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~whatnot-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'