$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "pages": [
< {
< "url": "https://acme-analytics.example.com/",
< "title": "Acme Analytics — demand forecasting for retailers",
< "text": "Acme Analytics helps mid-size retailers forecast demand. Connect Shopify, NetSuite or your POS, and get store-level forecasts every morning. Trusted by 300 retail brands in the US, UK and Canada. Start a 14-day free trial — plans from $49 per month."
< },
< {
< "url": "https://brightsmile-dental.example.org/",
< "title": "Bright Smile Dental — family dentist in Austin, TX",
< "text": "Bright Smile Dental is a family-owned dental practice in South Austin. Dr. Lee and our team offer cleanings, fillings, Invisalign and same-day crowns. New patients welcome — call or book online. We accept most PPO insurance plans."
< }
< ],
< "icp": "Independent dental practices (not chains)"
<}
<EOF
$curl "https://api.apify.com/v2/actors/leoworks~company-website-classifier/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'