$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "catalogue": [
< {
< "sku": "ACME-500",
< "title": "Acme Hydro Flask 500ml",
< "brand": "Acme",
< "model": "HF-500",
< "size": "500ml",
< "packCount": 1,
< "map": 24.99,
< "currency": "USD"
< },
< {
< "sku": "ACME-750",
< "title": "Acme Insulated Bottle 750ml",
< "brand": "Acme",
< "model": "IB-750",
< "size": "750ml",
< "packCount": 1,
< "map": 29.99,
< "currency": "USD"
< },
< {
< "sku": "ACME-500-4PK",
< "title": "Acme Hydro Flask 500ml 4 Pack",
< "brand": "Acme",
< "model": "HF-500",
< "size": "500ml",
< "packCount": 4,
< "map": 89.99,
< "currency": "USD"
< }
< ],
< "listings": [
< {
< "retailer": "discount-outlet.example",
< "title": "Acme Hydro Flask 500ml Bottle",
< "price": 17.99,
< "url": "https://discount-outlet.example/p/123",
< "currency": "USD",
< "timestamp": "2026-11-20T09:00:00Z"
< },
< {
< "retailer": "main-street-store.example",
< "title": "Acme Hydro Flask 500ml",
< "price": 24.99,
< "url": "https://main-street-store.example/items/hf500",
< "currency": "USD"
< },
< {
< "retailer": "discount-outlet.example",
< "title": "Acme Insulated Bottle 750ml Silver",
< "price": 27.49,
< "url": "https://discount-outlet.example/p/456",
< "currency": "USD"
< },
< {
< "retailer": "main-street-store.example",
< "title": "Acme Hydro Flask 500ml 2 Pack",
< "price": 45,
< "url": "https://main-street-store.example/items/hf500-2pk",
< "currency": "USD"
< },
< {
< "retailer": "kitchen-hub.example",
< "title": "Ceramic Coffee Mug 350ml White",
< "price": 5.5,
< "url": "https://kitchen-hub.example/p/789",
< "currency": "USD"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/that_red_bird~map-violation-detector/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'