$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "locations": [
< "gb"
< ],
< "searchTerms": [
< "desk"
< ],
< "sortBy": "relevance",
< "urls": [
< "https://www.onbuy.com/gb/search/?query=desk",
< "https://www.onbuy.com/gb/desks~c2485/",
< "https://www.onbuy.com/gb/office-furniture-and-accessories/office-desks~g25678/",
< "https://www.onbuy.com/gb/brands/lego/",
< "https://www.onbuy.com/gb/p/computer-desk-home-office-desk-with-monitor-stand-and-storage-shelves~p104367747/?sr=desk",
< "https://www.onbuy.com/gb/shop/yukiyi/",
< "https://www.onbuy.com/de/search/?query=desk",
< "https://www.onbuy.com/gb/",
< "https://www.onbuy.com/"
< ],
< "fetchDetails": true,
< "maxItems": 20,
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": [],
< "maxNotifyListings": 50
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~onbuy-marketplace-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'