$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "country": "US",
< "enableListingSearch": true,
< "searchKeywords": [
< "carhartt detroit jacket",
< "vintage 90s levis 501",
< "patagonia fleece"
< ],
< "searchMaxResults": 10,
< "searchFetchFullDetails": false,
< "searchSort": "relevance",
< "labelLuxuryBrands": false,
< "enableListingDetails": false,
< "listingIds": [],
< "listingUrls": [],
< "enableClosetListings": false,
< "sellerIds": [],
< "sellerMaxListings": 30,
< "enableSellerProfile": false,
< "enableSoldHistory": false,
< "soldMaxItems": 30,
< "enableScrapeByUrl": false,
< "scrapeUrls": [],
< "maxItems": 0,
< "webhookFormat": "json",
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/b2b_leads~thredup-real-time-data-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'