Scrape V1
Subreddit Posts by Name V1
Scrape posts from a subreddit. Supports sorting, time filtering, pagination. Up to 1000 posts per call. SFW only — use V2 for NSFW.
GET /api/v1/feed/entries
Scrape posts from a subreddit. Supports sorting, time filtering, pagination. Up to 1000 posts per call. SFW only — use V2 for NSFW.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
subreddit | string | Yes | Subreddit name (e.g. SpaceX, AskReddit). Use all for r/all, popular for r/popular. |
time_filter | string | No | Time filter for top/controversial: hour, day, week, month, year, all |
sort | string | No | Sort order: best, hot, new, top, rising, controversial (default: hot) |
limit | number | No | Max posts to return (1-1000, default: 25) |
Authentication
| Header | Value |
|---|---|
X-RapidAPI-Key | Your RapidAPI key |
X-RapidAPI-Host | red-crawler1.p.rapidapi.com |
Example request
cURL
curl -X GET "https://red-crawler1.p.rapidapi.com/api/v1/feed/entries?subreddit=test&time_filter=<time_filter>&sort=hot&limit=25" \
-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/v1/feed/entries?subreddit=test&time_filter=<time_filter>&sort=hot&limit=25", {
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/v1/feed/entries?subreddit=test&time_filter=<time_filter>&sort=hot&limit=25"
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"
}