Reddit API

Reddit Post comments API

Top-level comments on a Reddit post by URL: author, body, score and timestamp. Paginate with the cursor field.

POST/v1/run/reddit.post_comments
Uptime
99.97%
30d · 3,868 calls
Requests
3,889
30d · weekly, last 12 wks
Response
2.0s
median · 30d

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "found": true,
  "data": {
    "comments": [
      {
        "id": "t1_klm123",
        "author": "switchdoctor",
        "body": "Look at the Keychron V-series, great value out of the box.",
        "url": "https://www.reddit.com/r/MechanicalKeyboards/comments/1abc234/comment/klm123/",
        "createdUtc": 1718201500
      }
    ]
  }
}
Response interface
interface RedditPostCommentsResponse {
  data: {
    comments: {
      author: string;
      body: string;
      createdUtc: number;
      id: string;
      score?: number;
      url: string;
    }[];
    media?: {
      height?: number;
      type: string;
      url: string;
      videoUrl?: string;
      width?: number;
    }[];
    nextCursor: string | null;
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-16 · uptime and latency measured over 30d
POST /v1/run/reddit.post_comments
curl -X POST https://api.getanyapi.com/v1/run/reddit.post_comments \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.reddit.com/r/MechanicalKeyboards/comments/1abc234/"}'
FieldTypeExample value
Request body
urlstring"https://www.reddit.com/r/MechanicalKeyboards/comments/1abc234/"Full Reddit post URL.
cursorstringCursor from a previous response for more comments.
Response
foundbooleantrue
dataobject
data.commentsarray
data.comments[].idstring"t1_klm123"
data.comments[].authorstring"switchdoctor"
data.comments[].bodystring"Look at the Keychron V-series, great value out of the box."
data.comments[].urlstring"https://www.reddit.com/r/MechanicalKeyboards/comments/1abc234/comment/klm123/"
data.comments[].createdUtcnumber1718201500
Price
Price per requestUSD$0.0006
Price /1k reqUSD$0.60

FAQ

About the Reddit Post comments API

The AnyAPI Reddit Post comments API returns Reddit post comments data as normalized JSON from one POST call to /v1/run/reddit.post_comments. Top-level comments on a Reddit post by URL: author, body, score and timestamp. Paginate with the cursor field. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $0.60 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Reddit post comments calls through AnyAPI succeeded, with a median response time of 2.0 seconds across 3,868 measured calls.

It costs from $0.60 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Top-level comments on a Reddit post by URL: author, body, score and timestamp. Paginate with the cursor field. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of Reddit post comments calls through AnyAPI succeeded, with a median response time of 2.0 seconds across 3,868 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.