Reddit scraper API: search results as JSON
Send any Reddit page URL with recipe=reddit and get title, posted, url as JSON. No selectors to write, no proxies to pick.
- 1 page type
- 3 fields
- 5 credits a page · $0.50 per 1,000
- Working · 87.5% in 7 days
5,000 free credits for 21 days, no card.
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.reddit.com/r/webdev/' \
--data-urlencode 'recipe=reddit'
{
"result": {
"results": [
{
"title": "If you stop writing code, you also get worse...",
"posted": "2026-11-20T12:26:23.614Z"
}
]
},
"success": true
}
What you get from Reddit
The fields of each page type and a real sample from our last validation, shortened.
Search and listing pages recipe=reddit 5 credits a page
| Field | Type | Example |
|---|---|---|
results | list of 3+ items | |
results[].url | URL | https://www.reddit.com/r/webdev/comments/1xtom77/update_its_genuine... |
results[].title | text | Update: It's genuinely (not?) depressing |
results[].posted | date | 2026-11-11T17:54:31.140Z |
Sample answer, validated 2026-11-28
{
"results": [
{
"url": "https://www.reddit.com/r/webdev/comments/1y126if/if_you_stop_writing_code_you_also_get_worse_at/",
"title": "If you stop writing code, you also get worse at reviewing it · cekrem.github.io",
"posted": "2026-11-20T12:26:23.614Z"
},
{
"url": "https://www.reddit.com/r/webdev/comments/1y109t9/im_being_pressured_to_ship_slop/",
"title": "I'm Being Pressured to Ship Slop!",
"posted": "2026-11-20T10:39:04.393Z"
}
]
}
One call
Send the page URL and the recipe name to the Scrape API. The recipe brings the extract rules and the settings that work on Reddit (JavaScript rendering).
curl -G 'https://api.ujeebu.com/scrape' \
-H "ApiKey: $UJEEBU_API_KEY" \
--data-urlencode 'url=https://www.reddit.com/r/webdev/' \
--data-urlencode 'recipe=reddit'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"url": "https://www.reddit.com/r/webdev/", "recipe": "reddit"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["results"][:3]:
print(item["title"], item["posted"])
# Example output:
# If you stop writing code, you also ge... 2026-11-20T12:26:23.614Z
# I'm Being Pressured to Ship Slop! 2026-11-20T10:39:04.393Z
const params = new URLSearchParams({
url: "https://www.reddit.com/r/webdev/",
recipe: "reddit",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.results.slice(0, 3)) {
console.log(item.title, item.posted);
}
// Example output:
// If you stop writing code, you also ge... 2026-11-20T12:26:23.614Z
// I'm Being Pressured to Ship Slop! 2026-11-20T10:39:04.393Z
The answer is {"result": {...}} with the headers Ujb-Recipe and Ujb-Credits. Your own parameters always win over the recipe.
Search Reddit with parameters
One call, no URL: send recipe=reddit/search with the parameters below. We build the Reddit search URL and answer the listing JSON, at the same credits as the page call.
| Parameter | Type | Values |
|---|---|---|
subreddit required | string | The name of a subreddit community to view posts and discussions from. |
One call (subreddit=technology)
curl -G 'https://api.ujeebu.com/scrape' \
-H 'ApiKey: YOUR_API_KEY' \
-d 'recipe=reddit/search' \
-d 'subreddit=technology'
import os, requests
r = requests.get(
"https://api.ujeebu.com/scrape",
params={"recipe": "reddit/search", "subreddit": "technology"},
headers={"ApiKey": os.environ["UJEEBU_API_KEY"]},
timeout=120,
)
for item in r.json()["result"]["results"][:3]:
print(item["title"], item["posted"])
# Example output:
# If you stop writing code, you also ge... 2026-11-20T12:26:23.614Z
# I'm Being Pressured to Ship Slop! 2026-11-20T10:39:04.393Z
const params = new URLSearchParams({
recipe: "reddit/search",
subreddit: "technology",
});
const res = await fetch(`https://api.ujeebu.com/scrape?${params}`, {
headers: { ApiKey: process.env.UJEEBU_API_KEY },
});
const { result } = await res.json();
for (const item of result.results.slice(0, 3)) {
console.log(item.title, item.posted);
}
// Example output:
// If you stop writing code, you also ge... 2026-11-20T12:26:23.614Z
// I'm Being Pressured to Ship Slop! 2026-11-20T10:39:04.393Z
The answer carries the built URL in the Ujb-Url header; a missing or invalid parameter answers 400 naming it (free). Have the URL already? Send it with recipe=reddit/listing. Search with parameters in the docs
What people build with Reddit data
Market research
Follow public company pages and job postings to see who grows and hires.
Learn more
Price
Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
| Page type | Credits a page | Per 1,000, Starter | Per 1,000, Pro |
|---|---|---|---|
| Search results | 5 | $0.82 | $0.50 |
FAQ
What does the Reddit recipe return?
JSON with 3 fields from search results (recipe=reddit), for example title, posted, url. The answer is {"result": {...}} with the fields shown on this page.
How much does it cost to scrape Reddit?
5 credits a page ($0.50 per 1,000 on Pro, $0.82 on Starter). Same price as the page call, no fee for the recipe. Only successful responses are billed; blocked, timed-out and failed requests are free.
Do I need proxies or a headless browser?
No. The recipe brings the settings that work on Reddit: JavaScript rendering. Send only the URL and recipe=reddit.
What happens when Reddit changes its pages?
We check Reddit every day and re-validate the recipe on real pages every week, then fix it when the site changes. Until a fix is live, the API answers 404 "the recipe has no working version" instead of empty data, and that call is free.
Can I search Reddit with parameters?
Yes, in one call: send recipe=reddit/search with subreddit and no URL. We build the Reddit search URL (returned in the Ujb-Url header), apply recipe=reddit/listing and answer its JSON, at the same credits as the page call. A missing or invalid parameter answers 400 naming it, and that call is free.
Related recipes
LinkedInSearch results, Detail page, Profile · 5 credits
X (Twitter)Profile · 5 credits
InstagramProfile · 5 credits
TikTokProfile · 5 credits
YouTubeSearch results, Detail page · 5 credits
BlueskyProfile · 5 credits
Logos and names belong to their owners. Ujeebu is not affiliated with Reddit.
Get Reddit data as JSON today.
5,000 free credits for 21 days. No card.