Reddit Works API
Collect works published by a Reddit account or channel.
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
Request Headers
| Parameters | Parameter value | Type | Description |
|---|---|---|---|
| Content-Type | application/json | string | Data format |
| Authorization | Bearer xxx | string | Authorization Token |
Collection takes up to approximately 75 seconds. Set your client timeout to 90 seconds.
Request Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| target | Yes | string | Target URL, supported ID or search keyword for this operation. |
| options | No | object | Optional collection settings, described below. |
options Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
| tab | No | string | Profile or channel tab to collect. Values: [“submitted”, “comments”, “overview”] |
| limit | No | integer | Number of items per page. Default: 100 Minimum: 1 Maximum: 100 |
| after | No | string | null | Pass 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
| Field | Type | Description |
|---|---|---|
| code | integer | Status code; 0 indicates success. |
| message | string | Response message; ok on success. |
| pointCost | number | Points charged for this request. |
| data | object | Collected data, with fields described below. |
| meta | object | Request identifier and duration in milliseconds. |
| billing | object | Charged units, unit price and billing rule version. |
data Fields
| Field | Type | Description |
|---|---|---|
| type | string | Result type. |
| works | object[] | Collected works. |
| pagination | object | Continuation cursor and whether more results are available. |
data.works[] Fields
| Field | Type | Description |
|---|---|---|
| workId | string | null | Work id |
| workType | string | Work type Values: [“post”, “comment”] |
| type | string | Result type. |
| id36 | string | Id36 |
| authorId | string | null | Author id |
| url | string | null | Content URL. |
| content | string | null | Content text; may be null for records without text. |
| score | number | null | Comment or post score. |
| likes | number | null | Like count. |
| createdUtc | number | null | Created utc |
| createdISO | string | null | Created iso |
| subreddit | string | null | Subreddit name without r/. |
| subredditPrefixed | string | null | Subreddit prefixed |
| stickied | boolean | Stickied |
| title | string | null | Title |
| selftext | string | null | Selftext |
| comments | number | null | Root comments in comment mode. |
| domain | string | null | Domain |
| thumbnail | string | null | Thumbnail |
| isSelf | boolean | Is self |
| isVideo | boolean | Is video |
| over18 | boolean | Over18 |
| spoiler | boolean | Spoiler |
| flair | string | null | Flair |
| upvoteRatio | number | null | Upvote ratio |
| body | string | null | Body |
| linkId | string | null | Link id |
| linkTitle | string | null | Link title |
| linkPermalink | string | null | Link permalink |
| isSubmitter | boolean | Is submitter |
| distinguished | string | null | Distinguished |
| controversiality | number | null | Controversiality |
data.pagination Fields
| Field | Type | Description |
|---|---|---|
| after | string | null | Pass pagination.after from the previous response unchanged. |
| hasMore | boolean | Whether more results are available. |
Request Example
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.
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.

