PandorLabs

Reddit Posts & Comments

Reddit data: public posts and threaded comments from chosen subreddits or keywords, for sentiment analysis, market research and brand monitoring.

reddit-postsredditsocial-mediapostscommentsmonitoringkeywords

0 rows in the dataset · last run Oct 27, 2026

Reddit Posts & Comments data from $0.40 per 1,000 rows, pay as you go

Download the dataset

Get the full dataset as one CSV or JSONL file. If the data is older than maxAgeHours, it is refreshed automatically first. The key needs the datasets:export scope.

DOWNLOAD_ID=$(curl -s -X POST "https://api.pandorlabs.com/v1/datasets/reddit-posts/downloads" \  -H "Authorization: Bearer $PANDORLABS_KEY" \  -H "Content-Type: application/json" \  -d '{"maxAgeHours":24,"format":"csv"}' | jq -r '.id')while true; do  STATUS=$(curl -s "https://api.pandorlabs.com/v1/downloads/$DOWNLOAD_ID" \    -H "Authorization: Bearer $PANDORLABS_KEY" | jq -r '.status')  case "$STATUS" in refreshing|preparing) ;; *) break ;; esac  sleep 5donecurl -sL "https://api.pandorlabs.com/v1/downloads/$DOWNLOAD_ID/file" \  -H "Authorization: Bearer $PANDORLABS_KEY" \  -o dataset.csv

This is a Standard dataset: 60 credits per 100 rows cached and 120 credits live, charged on the rows in the dataset when the download becomes ready. A failed refresh is not charged. The file stays downloadable for 24 hours. See pricing.

Start a run

To get exactly the targets you want, send the parameters below as input. The call returns 202 with the run; the key needs the scrapers:run scope and the account a positive credit balance.

curl -X POST "https://api.pandorlabs.com/v1/scrapers/reddit-posts/runs" \  -H "Authorization: Bearer $PANDORLABS_KEY" \  -H "Content-Type: application/json" \  -d '{    "input": {      "subreddits": [        "BuyItForLife",        "ProductReviews",        "GoodValue",        "SaaS",        "devops",        "webscraping",        "dataengineering",        "AskReddit",        "technology",        "gadgets"      ],      "keywords": [        "need a website",        "looking for a developer"      ],      "timeFilter": "week",      "maxAgeDays": 0    }  }'

A run is billed at the live rate once it finishes: 120 credits per 100 rows it collected ($1.2, down to $0.8 in volume per 1,000 rows). A run that collects nothing costs nothing.

Parameters

Every parameter is optional. Anything you leave out uses the default shown here; an unknown name or an invalid value is rejected with a 400 that lists each problem.

Targeting

  • subreddits

    string[]

    Subreddits

    Names only — r/ prefixes and pasted URLs are cleaned up. Use "all" to search the whole site instead.

    Default
    ["BuyItForLife","ProductReviews","GoodValue","SaaS","devops","webscraping","dataengineering","AskReddit","technology","gadgets"]
    Example
    forhire, webdev, smallbusiness
  • keywords

    string[]

    Keywords

    Any keyword switches the run to search. Single words match whole words; phrases match anywhere.

    Default
    none
    Example
    need a website, looking for a developer
  • timeFilter

    enum

    Time window

    How far back the search reaches.

    Default
    week
    Allowed values
    hour
    day
    week
    month
    year
    all
  • maxAgeDays

    number

    Max age (days)

    Drop posts older than this. 0 keeps everything.

    Default
    0
    Range
    0 to 3650

Matching

  • matchIn

    enum

    Match keywords in

    Default
    title_body
    Allowed values
    title_body
    title
    body
  • requireAll

    boolean

    Require every keyword

    Off: a post matching any keyword is kept.

    Default
    false
  • keywordFilterEnabled

    boolean

    Filter results by keyword

    Off: keep every search result without an extra keyword check.

    Default
    true
  • minScore

    number

    Minimum score

    Default
    0
    Range
    at least -1000
  • minComments

    number

    Minimum comments

    Default
    0
    Range
    at least 0

Collection

  • sorts

    enum[]

    Listing sorts

    Used when no keywords are set.

    Default
    ["new","hot"]
    Allowed values
    new
    hot
    top
    rising
    controversial
  • searchSort

    enum

    Search sort

    Used when keywords are set. "new" is the right choice for monitoring.

    Default
    new
    Allowed values
    new
    relevance
    top
    comments
  • maxPages

    number

    Pages per query

    100 posts per page.

    Default
    3
    Range
    1 to 10
  • includeComments

    boolean

    Collect comment threads

    Off makes a run much faster.

    Default
    true
  • maxCommentsPerPost

    number

    Max comments per post

    Default
    500
    Range
    0 to 5000
  • concurrency

    number

    Concurrent subreddits

    How many items are processed in parallel. The default is tuned for reliable, complete runs.

    Default
    4
    Range
    1 to 16
  • requestDelayMs

    number

    Delay between requests (ms)

    Default
    1000
    Range
    0 to 30000
  • transport

    enum

    Collection method

    Advanced setting. Keep the default unless our team advises otherwise.

    Default
    browser
    Allowed values
    browser
    http
Input as JSON Schema

The same schema the API validates against. Use it as a tool input schema or to generate a typed client.

inputSchema
{  "type": "object",  "additionalProperties": false,  "properties": {    "subreddits": {      "type": "array",      "items": {        "type": "string"      },      "maxItems": 1000,      "title": "Subreddits",      "description": "Names only — r/ prefixes and pasted URLs are cleaned up. Use \"all\" to search the whole site instead.",      "default": [        "BuyItForLife",        "ProductReviews",        "GoodValue",        "SaaS",        "devops",        "webscraping",        "dataengineering",        "AskReddit",        "technology",        "gadgets"      ],      "examples": [        "forhire, webdev, smallbusiness"      ]    },    "keywords": {      "type": "array",      "items": {        "type": "string"      },      "maxItems": 1000,      "title": "Keywords",      "description": "Any keyword switches the run to search. Single words match whole words; phrases match anywhere.",      "default": [],      "examples": [        "need a website, looking for a developer"      ]    },    "timeFilter": {      "type": "string",      "enum": [        "hour",        "day",        "week",        "month",        "year",        "all"      ],      "title": "Time window",      "description": "How far back the search reaches.",      "default": "week"    },    "maxAgeDays": {      "type": "number",      "minimum": 0,      "maximum": 3650,      "title": "Max age (days)",      "description": "Drop posts older than this. 0 keeps everything.",      "default": 0    },    "matchIn": {      "type": "string",      "enum": [        "title_body",        "title",        "body"      ],      "title": "Match keywords in",      "default": "title_body"    },    "requireAll": {      "type": "boolean",      "title": "Require every keyword",      "description": "Off: a post matching any keyword is kept.",      "default": false    },    "keywordFilterEnabled": {      "type": "boolean",      "title": "Filter results by keyword",      "description": "Off: keep every search result without an extra keyword check.",      "default": true    },    "minScore": {      "type": "number",      "minimum": -1000,      "title": "Minimum score",      "default": 0    },    "minComments": {      "type": "number",      "minimum": 0,      "title": "Minimum comments",      "default": 0    },    "sorts": {      "type": "array",      "items": {        "type": "string",        "enum": [          "new",          "hot",          "top",          "rising",          "controversial"        ]      },      "uniqueItems": true,      "title": "Listing sorts",      "description": "Used when no keywords are set.",      "default": [        "new",        "hot"      ]    },    "searchSort": {      "type": "string",      "enum": [        "new",        "relevance",        "top",        "comments"      ],      "title": "Search sort",      "description": "Used when keywords are set. \"new\" is the right choice for monitoring.",      "default": "new"    },    "maxPages": {      "type": "number",      "minimum": 1,      "maximum": 10,      "title": "Pages per query",      "description": "100 posts per page.",      "default": 3    },    "includeComments": {      "type": "boolean",      "title": "Collect comment threads",      "description": "Off makes a run much faster.",      "default": true    },    "maxCommentsPerPost": {      "type": "number",      "minimum": 0,      "maximum": 5000,      "title": "Max comments per post",      "default": 500    },    "concurrency": {      "type": "number",      "minimum": 1,      "maximum": 16,      "title": "Concurrent subreddits",      "description": "How many items are processed in parallel. The default is tuned for reliable, complete runs.",      "default": 4    },    "requestDelayMs": {      "type": "number",      "minimum": 0,      "maximum": 30000,      "title": "Delay between requests (ms)",      "default": 1000    },    "transport": {      "type": "string",      "enum": [        "browser",        "http"      ],      "title": "Collection method",      "description": "Advanced setting. Keep the default unless our team advises otherwise.",      "default": "browser"    }  }}

Run, poll, read rows

The run is asynchronous. Poll it until it reaches a terminal status and its billing is paid, then page through its rows. Until then the rows endpoint answers 409 (still queued or running) or 402 (payment required).

RUN_ID=$(curl -s -X POST "https://api.pandorlabs.com/v1/scrapers/reddit-posts/runs" \  -H "Authorization: Bearer $PANDORLABS_KEY" \  -H "Content-Type: application/json" \  -d '{    "input": {      "subreddits": [        "BuyItForLife",        "ProductReviews",        "GoodValue",        "SaaS",        "devops",        "webscraping",        "dataengineering",        "AskReddit",        "technology",        "gadgets"      ],      "keywords": [        "need a website",        "looking for a developer"      ],      "timeFilter": "week",      "maxAgeDays": 0    }  }' | jq -r '.id')while true; do  RUN=$(curl -s "https://api.pandorlabs.com/v1/runs/$RUN_ID" \    -H "Authorization: Bearer $PANDORLABS_KEY")  STATUS=$(echo "$RUN" | jq -r '.status')  BILLING=$(echo "$RUN" | jq -r '.billing.status')  case "$STATUS" in queued|running) ;; *) [ "$BILLING" != "pending" ] && break ;; esac  sleep 5doneecho "$RUN" | jq '{status, rowCount, billing}'curl -s "https://api.pandorlabs.com/v1/runs/$RUN_ID/rows?page=1&limit=100" \  -H "Authorization: Bearer $PANDORLABS_KEY"

See the API reference for pagination, cancelling and listing runs.

Output fields

The fields this scraper delivers. Coverage is the share of rows that include each field.

The output fields appear here after the first run. Start a run to see them.

Get Reddit Posts & Comments data through the API

Create an account, top up credits, and run this scraper on your own targets with one API key. You are billed only for the rows you receive.

  1. 1Buy credits

    Any amount from $10, with bonus credits on larger top-ups. No subscription.

  2. 2Create an API key

    Pick the scopes you need in the dashboard. Each script gets its own key.

  3. 3Make your first call

    Copy a sample from these docs. Failed runs and refreshes cost nothing.