$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "feeds": [
< {
< "id": "bank-overdraft",
< "name": "Bank overdraft complaints",
< "products": "Checking or savings account",
< "issues": "Problem with overdraft",
< "keywords": "overdraft,fee"
< },
< {
< "id": "credit-reporting-disputes",
< "name": "Credit reporting disputes",
< "products": "Credit reporting or other personal consumer reports",
< "keywords": "dispute,incorrect information"
< },
< {
< "id": "fintech-company-watch",
< "name": "Company complaint watch",
< "companies": "Example Financial Inc.",
< "keywords": "account closed,transfer"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/taroyamada~cfpb-consumer-complaint-trend-watch-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'