$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "searchTerms": [
< "nintendo switch"
< ],
< "auctionStatus": "open",
< "sortBy": "relevance",
< "listingFormat": "any",
< "freeShippingOnly": false,
< "newArrivalsOnly": false,
< "urls": [
< "https://auctions.yahoo.co.jp/search/search?p=nintendo+switch&n=50",
< "https://auctions.yahoo.co.jp/search/search/nintendo%20switch/0?fixed=0&b=1&n=50",
< "https://auctions.yahoo.co.jp/search/search/nintendo%20switch/0?fixed=0&b=51&n=50",
< "https://auctions.yahoo.co.jp/search/search?p=switch&auccat=2084315794&aucminprice=10000&aucmaxprice=30000&s1=cbids&o1=a",
< "https://auctions.yahoo.co.jp/closedsearch/closedsearch?p=nintendo+switch",
< "https://auctions.yahoo.co.jp/closedsearch/closedsearch?p=nintendo+switch&va=nintendo+switch&b=1&n=50&s1=end&o1=d",
< "https://auctions.yahoo.co.jp/category/list/2084315794/",
< "https://auctions.yahoo.co.jp/brand/2358",
< "https://auctions.yahoo.co.jp/jp/auction/d1253564488",
< "https://page.auctions.yahoo.co.jp/jp/auction/d1253564488",
< "https://auctions.yahoo.co.jp/seller/2SsnHuTpbDQ5BkAqnxRq8QweAmUnk"
< ],
< "fetchDetails": true,
< "maxItems": 20,
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "compactUpdates": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": [
< "watchCount",
< "answeredQAndANum",
< "highestBidders",
< "sellerGoodRating",
< "sellerRatingTotal",
< "sellerGoodPoints",
< "sellerBadPoints"
< ],
< "notifyOnlyChanges": false
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~yahoo-co-jp-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'