API Description

Reddit Works API — Collect works published by a Reddit account or channel.

Authenticate with your Pangolinfo API Key to receive structured JSON data.

Request URL

POST https://scrapeapi.pangolinfo.com/api/v1/social/reddit-works

Request Headers

ParametersParameter valueTypeDescription
Content-Typeapplication/jsonstringData format
AuthorizationBearer xxxstringAuthorization Token

Collection takes up to approximately 75 seconds. Set your client timeout to 90 seconds.

Request Parameters

ParameterRequiredTypeDescription
targetYesstringTarget URL, supported ID or search keyword for this operation.
optionsNoobjectOptional collection settings, described below.

options Parameters

ParameterRequiredTypeDescription
tabNostringProfile or channel tab to collect.
Values: [“submitted”, “comments”, “overview”]
limitNointegerNumber of items per page.
Default: 100
Minimum: 1
Maximum: 100
afterNostring | nullPass pagination.after from the previous response unchanged.

Only the request parameters listed on this page are used; other fields are ignored. Pass pagination cursors back unchanged, without encoding, decoding or conversion.

Each request collects one page. Continue with the returned cursor.

Response Fields

FieldTypeDescription
codeintegerStatus code; 0 indicates success.
messagestringResponse message; ok on success.
pointCostnumberPoints charged for this request.
dataobjectCollected data, with fields described below.
metaobjectRequest identifier and duration in milliseconds.
billingobjectCharged units, unit price and billing rule version.

data Fields

FieldTypeDescription
typestringResult type.
worksobject[]Collected works.
paginationobjectContinuation cursor and whether more results are available.

data.works[] Fields

FieldTypeDescription
workIdstring | nullWork id
workTypestringWork type
Values: [“post”, “comment”]
typestringResult type.
id36stringId36
authorIdstring | nullAuthor id
urlstring | nullContent URL.
contentstring | nullContent text; may be null for records without text.
scorenumber | nullComment or post score.
likesnumber | nullLike count.
createdUtcnumber | nullCreated utc
createdISOstring | nullCreated iso
subredditstring | nullSubreddit name without r/.
subredditPrefixedstring | nullSubreddit prefixed
stickiedbooleanStickied
titlestring | nullTitle
selftextstring | nullSelftext
commentsnumber | nullRoot comments in comment mode.
domainstring | nullDomain
thumbnailstring | nullThumbnail
isSelfbooleanIs self
isVideobooleanIs video
over18booleanOver18
spoilerbooleanSpoiler
flairstring | nullFlair
upvoteRationumber | nullUpvote ratio
bodystring | nullBody
linkIdstring | nullLink id
linkTitlestring | nullLink title
linkPermalinkstring | nullLink permalink
isSubmitterbooleanIs submitter
distinguishedstring | nullDistinguished
controversialitynumber | nullControversiality

data.pagination Fields

FieldTypeDescription
afterstring | nullPass pagination.after from the previous response unchanged.
hasMorebooleanWhether more results are available.

Request Example

curl --request POST \
  --url https://scrapeapi.pangolinfo.com/api/v1/social/reddit-works \
  --header 'Authorization: Bearer YOUR_PANGOLINFO_API_KEY' \
  --header 'Content-Type: application/json' \
  --data '{
  "target": "https://www.reddit.com/user/spez/"
}'

Response Example

This excerpt shows the first item of each list. Long text and URLs are shortened; pointCost is the charge for the complete response. The playground contains the full schema.

{
  "code": 0,
  "message": "ok",
  "pointCost": 4.0,
  "data": {
    "type": "works",
    "works": [
      {
        "workId": "t1_19ruo33ofgh8i",
        "workType": "comment",
        "type": "comment",
        "id36": "19ruo33ofgh8i",
        "authorId": "t2_1w72",
        "url": "https://www.reddit.com/r/RDDT/comments/1xiupuc/reddit_announces_q326_earnings_plus_ama/19ruo33ofgh8i/",
        "content": "Pretty simple. For people who are already coming to Reddit every week, we have to give them a reason to come back everyday. If you come for sports and entert...",
        "body": "Pretty simple. For people who are already coming to Reddit every week, we have to give them a reason to come back everyday. If you come for sports and entert...",
        "score": -7,
        "likes": -7,
        "createdUtc": 1793313726,
        "createdISO": "2026-10-29T22:42:06.000Z",
        "subreddit": "RDDT",
        "subredditPrefixed": "r/RDDT",
        "linkId": "t3_1xiupuc",
        "linkTitle": "Reddit Announces Q3’26 Earnings (plus AMA!)",
        "linkPermalink": "https://www.reddit.com/r/RDDT/comments/1xiupuc/reddit_announces_q326_earnings_plus_ama/",
        "isSubmitter": false,
        "stickied": false,
        "distinguished": "admin",
        "controversiality": 1
      }
    ],
    "pagination": {
      "after": null,
      "hasMore": true
    }
  },
  "meta": {
    "requestId": "pg-audit-r1-reddit-works-1793954325633734900",
    "durationMs": 12498
  },
  "billing": {
    "unitPrice": 0.8,
    "ruleVersion": "social-primary-v2",
    "billedCount": 5,
    "pointCost": 4.0
  }
}

Points Usage

0.8 points per primary result.

Empty results and failed requests are not charged. Duplicate IDs are counted once within a response. Separate calls and pages are billed separately. See Social Media Reviews API billing.

Try it