Tüm siteler
Data API
Reddit Data API
Reddit genelinden subreddit'ler, gönderiler, yorumlar ve arama.
21 uç noktaCloudflare · Hız Limiti sizin için halledilir
Örnek (canlı yakalandı) Test alanını aç
reddit.com
ÖrnekJSON yanıtıbir alanın kaynağını izlemek için sayfaya tıklayın
{
"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 kredi / çalıştırma DoğrulandıPost Comments
Full comment thread, flattened depth-first with sort, limit and depth control.
Sizin için halledilenler:CloudflareHız Limiti
Parametreler
| Ad | Tür | Zor. | Açıklama |
|---|---|---|---|
| post_id | string | evet | Post id. |
| Gelişmiş filtreler | |||
| sort | string | hayır | confidence (best) | top | new | controversial | old | qa (varsayılan: confidence) |
| limit | integer | hayır | Max comments returned (1-500). (varsayılan: 100) |
| depth | integer | hayır | Max reply nesting depth to include. |