Chuyển đến nội dung
Tất cả trang web
Data API

Reddit Data API

Subreddit, bài đăng, bình luận và tìm kiếm trên toàn Reddit.

21 endpointCloudflare · Rate Limit được xử lý giúp bạn
reddit.comGET/reddit/domain…GET/reddit/search…GET/reddit/search…{ } JSON
Ví dụ (thu thập trực tiếp) Mở playground
reddit.com
Ví dụ
Phản hồi JSONnhấp vào trang để truy vết một trường
{
"post_id": "smv57",
"sort": "confidence",
"comments": [
{
"id": "c4fa53h",
"scraped_at": "2026-09-08T17:45:41.810623+00:00",
"author": "Pays4Porn",
"body": "So true.",
"body_html": "<div class="md"><p>So true.</p> </div>",
"score": 2,
"ups": 2,
"controversiality": 0,
"created_at": "2012-04-22T18:09:46+00:00",
"edited": null,
"permalink": "https://www.reddit.com/r/AdviceAnimals/comments/smv57/most_redditors_will_understand/c4fa53h/",
"parent_id": "t3_smv57",
"link_id": "t3_smv57",
"subreddit": "AdviceAnimals",
"is_submitter": false,
"author_flair": null,
"stickied": false,
"distinguished": null,
"gilded": 0,
"score_hidden": false,
"reply_count": 0,
"awards": 0,
"depth": 0
}
]
}
GET/v1/reddit/posts/{post_id}/comments1 tín dụng / lượt chạy Đã xác minh

Post Comments

Full comment thread, flattened depth-first with sort, limit and depth control.

Được xử lý giúp bạn:CloudflareRate Limit
Tham số
TênKiểuBắt buộcMô tả
post_idstringcóPost id.
Bộ lọc nâng cao
sortstringkhôngconfidence (best) | top | new | controversial | old | qa (mặc định: confidence)
limitintegerkhôngMax comments returned (1-500). (mặc định: 100)
depthintegerkhôngMax reply nesting depth to include.