$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "usernames": [
< "spez"
< ],
< "includeProfileInfo": true,
< "includeTrophies": false,
< "includeModeratedSubreddits": false,
< "sections": [
< "posts"
< ],
< "maxPosts": 100,
< "maxComments": 100,
< "sort": "new",
< "timeFilter": "all",
< "includeNSFW": false,
< "onlyWithFlair": false,
< "onlyOriginalContent": false,
< "excludeArchived": false,
< "excludeStickied": false,
< "excludeRemoved": false,
< "excludeCrossposts": false,
< "excludeSpoilers": false,
< "excludeLocked": false,
< "excludeDeletedAuthor": false
<}
<EOF
$curl "https://api.apify.com/v2/actors/crawlerbros~reddit-profile-crawler/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'