Reddit extraction API
Reddit Scraper - Extract Posts & Communities
Turn public Reddit posts, communities, and profiles into clean Markdown or normalized feeds and post JSON.
Live playground
Try Reddit extraction.
Use an example or paste your own public URL. The playground calls the same cacheable GET API your agent will use.
Supported inputs
Built for normal public URLs.
- Public post URLs
- Public subreddit and community pages
- Public user profile pages
- Source-linked Markdown and JSON
Clear boundaries
Know exactly what to expect.
- No private or quarantined communities
- Post extraction does not include the complete comment tree
- Deleted and restricted content remains unavailable
One GET request
Add Reddit data to your agent.
No SDK and no account are required during the public preview. Choose JSON for typed entities or Markdown for direct model context.
Read the quickstartcurl --get 'https://extractor.sh/api/extract' \
--data-urlencode 'url=https://www.reddit.com/r/CloudFlare/' \
--data-urlencode 'format=json'const params = new URLSearchParams({
url: 'https://www.reddit.com/r/CloudFlare/',
format: 'json',
});
const response = await fetch(
`https://extractor.sh/api/extract?${params}`,
);
const data = await response.json();from json import load
from urllib.parse import urlencode
from urllib.request import urlopen
params = urlencode({
"url": "https://www.reddit.com/r/CloudFlare/",
"format": "json",
})
with urlopen(f"https://extractor.sh/api/extract?{params}") as response:
data = load(response)Common questions
Reddit scraper FAQ
What Reddit URLs can extractor.sh process?
Communities, Posts, Profiles. Use an ordinary public URL from the platform.
What does the Reddit extraction API return?
One post or an ordered feed for a community or profile. Choose raw Markdown or schema-versioned JSON for every request.
What are the limits of Reddit extraction?
No private or quarantined communities. Post extraction does not include the complete comment tree. Deleted and restricted content remains unavailable.
More sources