Reddit “load more comments” API
Expands the more items in a comment tree: send up to 100 comment ids from a more item’s children and get those comments back.
POST /v1/reddit/posts/{id}/more1 credit per callRefunded on failureimport os, requests
res = requests.post(
"https://api.groundsocial.dev/v1/reddit/posts/1y3q8ne/more",
headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
json={"children":["m5f9z9z"]},
)
res.raise_for_status()
data = res.json()Response
200 · 1 creditNo bundled sample for this call. The response is a JSON object; its fields are listed below.
Parameters
| Name | Type | Description |
|---|---|---|
idpath · required | string | A post id (1y1u285), fullname (t3_1y1u285) or post URL. Example: 1y1u285. |
Status codes
| Status | Meaning |
|---|---|
200 | The expanded comments, flat, each with its parent_id. |
400 | Invalid input. Nothing was charged. |
401 | Missing or invalid API key. |
402 | Not enough credits, a spend cap was reached, or payment is required. |
403 | The target is private, or the account is suspended. |
404 | The subreddit, post or user does not exist. |
429 | Too many requests. Wait for Retry-After seconds. |
503 | Reddit is temporarily unavailable. Retryable; nothing was charged. |
Every error has code, message, hint and retryable. All error codes
Questions
About this endpoint. Reddit is a trademark of Reddit, Inc. We are not affiliated with or endorsed by Reddit.
Is this PRAW’s `replace_more`?
Yes. Through the compatible host PRAW calls /api/morechildren, which is this endpoint.