100 free credits. No credit card required. Get a key

groundsocial

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 failure
import 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 credit

No bundled sample for this call. The response is a JSON object; its fields are listed below.

Parameters

NameTypeDescription
idpath · requiredstringA post id (1y1u285), fullname (t3_1y1u285) or post URL. Example: 1y1u285.

Status codes

StatusMeaning
200The expanded comments, flat, each with its parent_id.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The subreddit, post or user does not exist.
429Too many requests. Wait for Retry-After seconds.
503Reddit 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.