Skip to main content
GET
Get the comments of a Reddit post

Request contract

  • Method and path: GET /apis/v1/social/reddit/comments/{postId}
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/social/reddit/comments/{postId}
  • postId: path; required
  • accountId: query; required
  • sort: query; optional
  • limit: query; optional
  • commentId: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

postId
string
required

Reddit post id, with or without the t3_ prefix (as id or fullname on RedditPost).

Query Parameters

accountId
string
required

One of your social accounts (acc_...).

Pattern: ^acc_[0-9A-Za-z]{22}$
sort
enum<string>
default:new
Available options:
new,
top,
best,
controversial,
old,
qa
limit
integer
default:25

Maximum number of top-level comments.

Required range: x <= 100
commentId
string

Return only this comment and its replies, with or without the t1_ prefix; pass an id from more to expand it.

Response

The post and its comments

items
object[]
more
string[]

Ids of comments Reddit left out of this page, at any depth.

post
object | null

The post header; null when Reddit omits it (deleted post).