$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "listings": [
< {
< "listingId": "demo-1",
< "source": "demo-market",
< "title": "2024 KTM 300 XC-W",
< "make": "KTM",
< "model": "300 XC-W",
< "year": 2024,
< "price": 8799,
< "hours": 42,
< "sellerType": "dealer",
< "sellerName": "Example Motorsports",
< "location": "Tacoma, WA"
< },
< {
< "listingId": "demo-2",
< "source": "demo-market",
< "title": "2023 KTM 300 XCW",
< "make": "ktm",
< "model": "300XCW",
< "year": 2023,
< "price": 9250,
< "hours": 60,
< "sellerType": "private",
< "location": "Seattle, WA"
< },
< {
< "listingId": "demo-3",
< "source": "demo-market",
< "title": "2024 Husqvarna TE 300",
< "make": "Husqvarna",
< "model": "TE 300",
< "year": 2024,
< "price": 9600,
< "hours": 20,
< "sellerType": "dealer",
< "sellerName": "Demo Powersports",
< "location": "Portland, OR"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/repairiq~used-powersports-market-monitor/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'