$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "analyze_supplied",
< "market": {
< "label": "Exampleville, ZZ (fictional)",
< "countryCode": "US"
< },
< "rightsBasis": "otherwise_authorized",
< "freshnessHorizonDays": 3650,
< "records": [
< {
< "name": "Fictional Brand Alpha",
< "address": "100 Fictional Foundry Way, Exampleville, ZZ 00000",
< "sourceLabel": "fictional_operator_export",
< "sourceRecordId": "alpha-001",
< "observedAt": "2026-08-01T12:00:00Z",
< "website": "https://alpha.example.invalid",
< "category": "delivery restaurant",
< "operatingObservation": "delivery_only"
< },
< {
< "name": "Fictional Brand Beta",
< "address": "100 Fictional Foundry Way, Exampleville, ZZ 00000",
< "sourceLabel": "fictional_licensed_directory",
< "sourceRecordId": "beta-001",
< "observedAt": "2026-08-02T12:00:00Z",
< "website": "https://beta.example.invalid",
< "category": "restaurant"
< },
< {
< "name": "Fictional Brand Alpha",
< "address": "100 Fictional Foundry Way, Exampleville, ZZ 00000",
< "sourceLabel": "fictional_operator_export",
< "sourceRecordId": "alpha-001",
< "observedAt": "2026-08-01T12:00:00Z",
< "website": "https://alpha.example.invalid",
< "category": "delivery restaurant",
< "operatingObservation": "delivery_only"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/critd~ghost-kitchen-detector/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'