Reddit User Comments

https://api.sandbase.ai/v1/api/reddit/app/user-comments

Returns a list of comments submitted by a specified Reddit user. Supports multiple sorting options, customizable page sizes, and pagination tokens.

Price
$0.0015USD / callFirst 100 calls per day free (shared per organization)
Method
POST
Response
JSON
Parameters
1 required · 4 optional
Production route

Try the model

Playground

Open playground
Input
Pagination parameter for fetching next page
Whether to clean and format the data
Number of comments per page, default 25
Sort method, options: NEW (newest), TOP (top rated), HOT (hot), CONTROVERSIAL (controversial)
Reddit username
OutputExample
Responseoutputs · 296 B · 17 lines
[
  {
    "data": {
      "redditorInfoByName": {
        "__typename": "Redditor",
        "comments": {
          "edges": [],
          "pageInfo": {
            "__typename": "PageInfo",
            "endCursor": null,
            "hasNextPage": false
          }
        }
      }
    }
  }
]

Examples

Select an example to load its inputs and result into the playground.

Model card

Specifications

Pricing

Base price
$0.0015 / run
Daily free calls
First 100 calls per day free (shared per organization)

Request & response

Method
POST
Request body
application/json
Response
application/json
Execution
sync

Parameters

username
string · required
after
string · optional
need_format
boolean · optional
page_size
integer · optional
sort
string · optional

Access

Provider
Reddit
API
Platform API
Base URL
https://api.sandbase.ai
Endpoint
/v1/api/reddit/app/user-comments
Authentication
Bearer API key

API README

Reddit User Comments API

Retrieve comments from a Reddit account using the username parameter. Results can be sorted by criteria such as newest, top rated, or hot.

Use cases

  • Review comment history for a specific Reddit user account.
  • Analyze user participation and feedback trends across communities.
  • Monitor top-rated and controversial contributions from targeted profiles.

Request

curl -X POST "https://api.sandbase.ai/v1/api/reddit/app/user-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"username": "<username>"}'

Parameters

NameTypeRequiredDescription
usernamestringYesReddit username
sortstringNoSort method, options: NEW (newest), TOP (top rated), HOT (hot), CONTROVERSIAL (controversial)
afterstringNoPagination parameter for fetching next page
page_sizeintegerNoNumber of comments per page, default 25
need_formatbooleanNoWhether to clean and format the data

Notes

  • Supported sort options include NEW, TOP, HOT, and CONTROVERSIAL.
  • page_size sets the comment count per request and defaults to 25.
  • Use after to retrieve the next page of results.

Related APIs

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/reddit/app/user-comments
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
  -X POST "https://api.sandbase.ai/v1/api/reddit/app/user-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  --data-binary @- <<'SANDBASE_JSON'
{
  "username": "example"
}
SANDBASE_JSON
)
printf '%s\n' "$result"

Explore more

Related APIs

All APIs
APIPriceResponseReleased
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026
Reddit$0.0015 per callJSONJul 31, 2026

Questions

FAQ

How do I use the Reddit User Comments API?

Send a POST request to https://api.sandbase.ai/v1/api/reddit/app/user-comments with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

How much does the Reddit User Comments API cost?

$0.0015 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

What parameters does the Reddit User Comments API accept?

Required: username (string). Optional: after (string), need_format (boolean), page_size (integer) and sort (string). The Parameters table and the Playground on this page list every field.

What does the Reddit User Comments API return?

A JSON response returned in the same HTTP request (synchronous).

Do I need a Reddit developer account or API key?

No. Reddit User Comments runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Reddit API access separately.