RedCrawler API
Scrape V2

Post Comments V2

Fetch a Reddit post's full comment tree with automatic expansion. Supports sort, comment_mode (custom/top_level/all), and a `deep` toggle that runs a second dee

GET /api/v2/replies/by-post

Fetch a Reddit post's full comment tree with automatic expansion. Supports sort, comment_mode (custom/top_level/all), and a deep toggle that runs a second deeper-tree expansion pass on the 'all' mode for ~2% more coverage (slower).

Query parameters

NameTypeRequiredDescription
post_idstringYesPost URL, t3_ID, or raw ID.
limitstringNoMax comments to fetch (used by custom and top_level modes).
comment_modeenumNoComment mode: custom (limit N), top_level (no expansion), all (full tree).
sortenumNoSort order.
deepenumNoOnly used when comment_mode=all. true = run a deeper hidden-replies expansion pass (adds ~10s for ~2% more coverage). Default false.

Authentication

HeaderValue
X-RapidAPI-KeyYour RapidAPI key
X-RapidAPI-Hostred-crawler1.p.rapidapi.com

Example request

cURL

curl -X GET "https://red-crawler1.p.rapidapi.com/api/v2/replies/by-post?post_id=abc1234&limit=100&comment_mode=<comment_mode>&sort=hot&deep=<deep>" \
  -H "X-RapidAPI-Key: YOUR_RAPIDAPI_KEY" \
  -H "X-RapidAPI-Host: red-crawler1.p.rapidapi.com"

JavaScript

const res = await fetch("https://red-crawler1.p.rapidapi.com/api/v2/replies/by-post?post_id=abc1234&limit=100&comment_mode=<comment_mode>&sort=hot&deep=<deep>", {
  method: "GET",
  headers: {
      "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
    "X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
    }
});
const data = await res.json();
console.log(data);

Python

import requests

url = "https://red-crawler1.p.rapidapi.com/api/v2/replies/by-post?post_id=abc1234&limit=100&comment_mode=<comment_mode>&sort=hot&deep=<deep>"
headers = {
    "X-RapidAPI-Key": "YOUR_RAPIDAPI_KEY",
    "X-RapidAPI-Host": "red-crawler1.p.rapidapi.com"
}
resp = requests.get(url, headers=headers)
print(resp.json())

Example response

{
  "success": true,
  "data": {
    "...": "endpoint-specific payload"
  },
  "error": null,
  "meta": null,
  "timestamp": "2026-04-28T12:00:00Z"
}

On this page