$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "country": "US",
< "enableListingSearch": true,
< "searchKeywords": [
< "vintage jeans",
< "nike dunk"
< ],
< "searchMaxResults": 20,
< "searchSort": "newest",
< "searchOnSale": false,
< "searchFetchFullDetails": false,
< "enableListingDetails": false,
< "listingSlugs": [],
< "listingUrls": [],
< "enableSellerListings": false,
< "sellerUsernames": [
< "depop"
< ],
< "sellerMaxListings": 30,
< "enableSellerProfile": false,
< "enableSoldHistory": false,
< "soldMaxItems": 30,
< "enableScrapeByUrl": false,
< "scrapeUrls": [
< "https://www.depop.com/search/?q=vintage+levis"
< ],
< "scrapeMaxPages": 3,
< "enableTrending": false,
< "trendingCategory": "streetwear",
< "trendingMaxItems": 30,
< "extractSellerContacts": true,
< "includeSoldHistory": true,
< "includeShippingDetails": true,
< "includeRaw": false,
< "webhookFormat": "json",
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/b2b_leads~depop-real-time-data/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'