OpenAny
Get API keyAPI Key
APICommunityData

reddit logo
Reddit Thread Comments API

Get Reddit Thread Comments data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 3 implementations (ScrapeCreators and TikHub), pass parameters such as trim, url, and retrieve structured data including comment identifier, comment author, comment text, available nested reply records, and more-results indicator to build a thread reader, and continue a discussion collection.

Selected price
$0.00188 / callPublished pricing
Sellers / APIs
2 / 3
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Reddit Thread Comments API

Prepare your request, then continue with your agent.

Selected price

$0.00188 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Reddit Thread Comments API

Reddit Thread Comments API

The initial default is the POST implementation with JSON-body url and optional cursor or trim. A GET variant accepts query parameters, while the app implementation requires post_id and has its own continuation controls.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Default POST body: required url; optional cursor and trim. One returned cursor per continuation request.
Selected implementation scrapecreators · Reddit — Post Comments
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Build a thread reader: Render comments and available nested replies.
  • Continue a discussion collection: Return one cursor with the same source post and implementation.

Returned Data

Field Meaning
comments[].id Comment identifier
comments[].author Comment author
comments[].body Comment text
comments[].parent_id Parent post or comment fullname
comments[].replies.items[] Available nested reply records
more.has_more More-results indicator
more.cursor Continuation token supplied by the provider

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request POST \
  https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/post/comments \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  -H "Content-Type: application/json" \
  --data-raw '{"trim":false,"url":"https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/"}'

Request and Response Examples

The request is a calling template, while reference output illustrates the response structure and can refer to different records. Check returned identities against your query.

Published Reddit Thread Comments API implementation contract.

Pricing and Billing

The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.

Frequently Asked Questions

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Reddit post URL
One opaque cursor returned by the previous response to get more comments or replies. Do not combine multiple cursors.
Set to true for a trimmed down version of the response

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Current
Reddit — Post Comments · POST · View API reference
$0.00188 / call0
—successP50—
Reddit — Post Comments · GET · View API reference
$0.00188 / call—Select to load statistics
—successP50—
Fetch Reddit APP Post Comments · GET · View API reference
$0.001 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · scrapecreatorsUSD / call
Unit price
$0.00188

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0.188

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/post/comments
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
urlJSON request bodybodystringYes

Reddit post URL

cursorJSON request bodybodystringNo

One opaque cursor returned by the previous response to get more comments or replies. Do not combine multiple cursors.

trimJSON request bodybodybooleanNo

Set to true for a trimmed down version of the response

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • commentsobject[]
    • authorstring
    • author_fullnamestring
    • bodystring
    • created_at_isostring
    • created_utcinteger
    • downsinteger
    • idstring
    • namestring
    • parent_idstring
    • repliesobject
      • itemsobject[]
        • all_awardingsunknown[]
        • approved_at_utcnull
        • approved_bynull
        • archivedboolean
        • associated_awardnull
        • authorstring
        • author_fullnamestring
        • author_is_blockedboolean
        • author_patreon_flairboolean
        • author_premiumboolean
        • awardersunknown[]
        • banned_at_utcnull
        • banned_bynull
        • bodystring
        • body_htmlstring
        • can_gildboolean
        • can_mod_postboolean
        • collapsedboolean
        • collapsed_because_crowd_controlnull
        • collapsed_reasonnull
        • collapsed_reason_codenull
        • comment_typenull
        • controversialityinteger
        • createdinteger
        • created_at_isostring
        • created_utcinteger
        • depthinteger
        • distinguishednull
        • downsinteger
        • editedboolean
        • gildedinteger
        • gildingsobject
        • idstring
        • is_submitterboolean
        • likesnull
        • link_idstring
        • lockedboolean
        • mod_notenull
        • mod_reason_bynull
        • mod_reason_titlenull
        • mod_reportsunknown[]
        • namestring
        • no_followboolean
        • num_reportsnull
        • parent_idstring
        • permalinkstring
        • removal_reasonnull
        • repliesobject
          • itemsunknown[]
          • moreobject
            • has_moreboolean
            • next_cursornull
        • report_reasonsnull
        • savedboolean
        • scoreinteger
        • score_hiddenboolean
        • send_repliesboolean
        • stickiedboolean
        • subredditstring
        • subreddit_idstring
        • subreddit_name_prefixedstring
        • subreddit_typestring
        • top_awarded_typenull
        • total_awards_receivedinteger
        • treatment_tagsunknown[]
        • unrepliable_reasonnull
        • upsinteger
        • urlstring
        • user_reportsunknown[]
      • moreobject
        • cursorstring
        • has_moreboolean
    • scoreinteger
    • upsinteger
    • urlstring
  • credits_chargedinteger
  • credits_remaininginteger
  • moreobject
    • cursorstring
    • has_moreboolean
  • postobject
    • authorstring
    • author_fullnamestring
    • createdinteger
    • created_utcinteger
    • downsinteger
    • idstring
    • is_videoboolean
    • namestring
    • num_commentsinteger
    • scoreinteger
    • subredditstring
    • subreddit_subscribersinteger
    • titlestring
    • total_awards_receivedinteger
    • upsinteger
    • upvote_rationumber
    • urlstring
  • successboolean

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Official example

Example from the provider's documentation. Field values in your results will differ.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 3

    Review these request fields before running. Keep the published provider and request method unchanged.

    url
    Reddit post URL
    cursor
    One opaque cursor returned by the previous response to get more comments or replies. Do not combine multiple cursors.
    trim
    Set to true for a trimmed down version of the response
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/post/comments' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '{
      "trim": false,
      "url": "https://www.reddit.com/r/AskReddit/comments/ablzuq/people_who_havent_pooped_in_2019_yet_why_are_you/"
    }'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "comments": [
        {
          "author": "Background-Emu-2890",
          "author_fullname": "t2_efdlposp6",
          "body": "Black cat i have one and i love her so much !",
          "created_at_iso": "2025-06-19T14:10:21.000Z",
          "created_utc": 1750342221,
          "downs": 0,
          "id": "mymupxb",
          "name": "t1_mymupxb",
          "parent_id": "t3_1lfbo7u",
          "replies": {
            "items": [
              {
                "all_awardings": [],
                "approved_at_utc": null,
                "approved_by": null,
                "archived": false,
                "associated_award": null,
                "author": "doublestitch",
                "author_fullname": "t2_10py0g",
                "author_is_blocked": false,
                "author_patreon_flair": false,
                "author_premium": false,
                "awarders": [],
                "banned_at_utc": null,
                "banned_by": null,
                "body": "House panthers for the win",
                "body_html": "<div class=\"md\"><p>House panthers for the win</p>\n</div>",
                "can_gild": false,
                "can_mod_post": false,
                "collapsed": false,
                "collapsed_because_crowd_control": null,
                "collapsed_reason": null,
                "collapsed_reason_code": null,
                "comment_type": null,
                "controversiality": 0,
                "created": 1750343166,
                "created_at_iso": "2025-06-19T14:26:06.000Z",
                "created_utc": 1750343166,
                "depth": 1,
                "distinguished": null,
                "downs": 0,
                "edited": false,
                "gilded": 0,
                "gildings": {},
                "id": "mymxwde",
                "is_submitter": false,
                "likes": null,
                "link_id": "t3_1lfbo7u",
                "locked": false,
                "mod_note": null,
                "mod_reason_by": null,
                "mod_reason_title": null,
                "mod_reports": [],
                "name": "t1_mymxwde",
                "no_follow": false,
                "num_reports": null,
                "parent_id": "t1_mymupxb",
                "permalink": "/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/",
                "removal_reason": null,
                "replies": {
                  "items": [],
                  "more": {
                    "has_more": false,
                    "next_cursor": null
                  }
                },
                "report_reasons": null,
                "saved": false,
                "score": 19,
                "score_hidden": false,
                "send_replies": true,
                "stickied": false,
                "subreddit": "AskReddit",
                "subreddit_id": "t5_2qh1i",
                "subreddit_name_prefixed": "r/AskReddit",
                "subreddit_type": "public",
                "top_awarded_type": null,
                "total_awards_received": 0,
                "treatment_tags": [],
                "unrepliable_reason": null,
                "ups": 19,
                "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymxwde/",
                "user_reports": []
              }
            ],
            "more": {
              "cursor": "myn970w",
              "has_more": true
            }
          },
          "score": 75,
          "ups": 75,
          "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/mymupxb/"
        }
      ],
      "credits_charged": 1,
      "credits_remaining": 1000000,
      "more": {
        "cursor": "myoaw2m,myob40l,myoeo9h",
        "has_more": true
      },
      "post": {
        "author": "Vetro_Nodulare2",
        "author_fullname": "t2_16syu27ar1",
        "created": 1750341959,
        "created_utc": 1750341959,
        "downs": 0,
        "id": "1lfbo7u",
        "is_video": false,
        "name": "t3_1lfbo7u",
        "num_comments": 353,
        "score": 47,
        "subreddit": "AskReddit",
        "subreddit_subscribers": 56146601,
        "title": "What is a thing you love that lots of people hate?",
        "total_awards_received": 0,
        "ups": 47,
        "upvote_ratio": 0.91,
        "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/"
      },
      "success": true
    }

Common questions

Which method is selected initially?

The published offering order selects the POST implementation first. Send its parameters as a JSON body.

When should I choose POST rather than GET?

The body-based variant supports long cursors without placing them in the URL. It is a distinct implementation choice.

Can I combine several cursors?

No. Send one returned opaque cursor unchanged. Do not split a comma-containing cursor or concatenate tokens.

Are nested replies always complete?

No full-thread guarantee applies. Keep nested structure and inspect continuation data.

Does the app alternative accept a post URL?

It requires post_id instead and has a separate sort_type and after contract.

Does this return author flair?

Do not rely on author flair for this ScrapeCreators operation; its official reference states that it is unavailable.

Use Reddit Thread Comments API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.