$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "enableListingSearch": true,
< "searchKeywords": [
< "carhartt detroit jacket",
< "levis 501 jeans",
< "patagonia fleece"
< ],
< "searchMaxResults": 10,
< "searchSort": "newest",
< "searchBuyNowOnly": false,
< "searchFetchFullDetails": false,
< "enableListingDetails": false,
< "listingIds": [],
< "enableClosetListings": false,
< "sellerIds": [],
< "closetMaxListings": 50,
< "closetCategories": [],
< "enableSellerProfile": false,
< "enableSoldComps": false,
< "soldKeywords": [],
< "soldDaysBack": 7,
< "soldMaxItems": 50,
< "enableScrapeByUrl": false,
< "scrapeUrls": [
< "https://shopgoodwill.com/search?q=vintage+levis"
< ],
< "scrapeMaxPages": 3,
< "webhookFormat": "json",
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/b2b_leads~shopgoodwill-real-time-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'