Scrapers.lat logo scrapers.lat
Redes sociais

Reddit Posts & Comments Scraper

Scrape Reddit posts and comments from any subreddit or search query. Extract title, author, score, number of comments, subreddit, body text, flair, permalink and timestamps. Export to JSON, CSV or Excel.

46 campos por registro JSON · CSV · Excel · API Pague pelo uso
reddit-scraper.json 200 OK
{
  "recordType": "post",
  "id": "1v5mels",
  "subreddit": "technology",
  "subredditId": "t5_2qh16",
  "subredditPrefixed": "r/technology",
  "subredditType": "public",
  "title": "US accuses American of allegedly wiping his ph…",
  "author": "MC68328",
  "authorId": "t2_2ozneeoe"
}
O que você recebe

Cada execução retorna registros limpos e tipados, prontos para o seu CRM, planilha ou banco de dados.

  • Um registro limpo por resultado, deduplicado e normalizado
  • Esquema estável em JSON, CSV ou Excel, ou leia pela API da Apify
  • Pague pelo uso na nuvem, sem instalar ou manter nada
Campos que retorna
Record TypeIdSubredditSubreddit IdSubreddit PrefixedSubreddit TypeTitleAuthorAuthor IdPost TypeUrlPermalinkDomainScore
Saída de exemplo

Um registro real de exemplo, exatamente no formato que você recebe.

Record TypeIdSubredditSubreddit Id
post1v5melstechnologyt5_2qh16
commentozjzl4atechnologyt5_2qh16
commentozk2x4htechnologyt5_2qh16
commentozk6n5btechnologyt5_2qh16
commentozk7ep4technologyt5_2qh16
GET /reddit-scraper
{
  "recordType": "post",
  "id": "1v5mels",
  "subreddit": "technology",
  "subredditId": "t5_2qh16",
  "subredditPrefixed": "r/technology",
  "subredditType": "public",
  "title": "US accuses American of allegedly wiping his ph…",
  "author": "MC68328",
  "authorId": "t2_2ozneeoe"
}

Perguntas frequentes

Can I scrape both posts and their comments?

Yes. Keep Include Comments enabled and each collected post is followed by one record per comment, with the postId field linking every comment back to its parent post. Every comment also carries its parentId and depth, so you can rebuild the full nested reply tree. You can cap how many comments to pull per post, choose how they are sorted, and limit them to a maximum reply depth.

Can I search across all of Reddit or just one subreddit?

Both. Set the mode to search and provide a search query to look across all of Reddit, or add a single subreddit to restrict the search to that community. The subreddit mode reads a community's hot, new, top or rising feed directly.

Can I filter which posts I collect?

Yes. You can require a minimum vote score, keep only text, link or media posts, exclude NSFW content, and limit results to a date window with Created After and Created Before. Filters run during collection, so you only pay for records that match.

How fresh is the data?

It is live. Every run reads Reddit's current public feeds at the moment it runs, so new posts appear as soon as Reddit lists them in the feed.

Does it capture vote scores and comment counts?

Yes. Every post record carries its net score, comment count, crosspost count and award count, plus classification and moderation flags such as pinned, locked, archived, edited, distinguished, spoiler and NSFW. Every comment carries its own score, award count, direct reply count, edit state and thread position. Fields that a given post genuinely does not have (a missing flair, no media) are returned empty rather than guessed. Reddit fuzzes the exact upvote and downvote breakdown on its public pages, so the net score is provided rather than a guessed upvote ratio.

Do I need a proxy to run this?

Yes, and it is already set up for you. The actor uses the Apify Residential proxy by default, with no configuration needed. Residential data transfer per run is small, around a hundredth of a gigabyte for a hundred records.

Pronto quando você estiver.

Rode o scraper na Apify agora mesmo, ou peça um feito sob medida para o que você precisa.