$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "search": "rock",
< "startUrls": [
< "https://www.trueachievements.com/news?search=game",
< "https://www.trueachievements.com/n52218/way-to-the-woods-game-pass",
< "https://www.trueachievements.com/game/Monster-Energy-Supercross-4",
< "https://www.trueachievements.com/xbox-series",
< "https://www.trueachievements.com/series/Call-of-Duty?distinct=true&dlcsetting=AllDLC",
< "https://www.trueachievements.com/publisher/Electronic-Arts/games",
< "https://www.trueachievements.com/xbox-game-pass/games",
< "https://www.trueachievements.com/games.aspx",
< "https://www.trueachievements.com/genre/Simulation-Racing",
< "https://www.trueachievements.com/searchresults.aspx?search=game"
< ],
< "maxItems": 20,
< "endPage": 1,
< "extendOutputFunction": "($) => { return {} }",
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~trueachievements-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'