$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "searchKeywords": [],
< "startUrls": [
< {
< "url": "https://www.facebook.com/marketplace/1312315172298841/search?minPrice=10000&maxMileage=60000&minYear=1980&sortBy=creation_time_descend&query=Vehicles&category_id=546583916084032&exact=false&referral_ui_component=category_menu_item"
< }
< ],
< "locationSlug": "dallas",
< "maxItems": 5,
< "maxPagesPerSearch": 1,
< "scrapeItemDetails": false,
< "duplicateCheckApiUrl": "https://ccscraperapi.up.railway.app/api/listings/exists",
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/fmchisti~facebook-marketplace-vehicles-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'