Reddit Detailed Posts
GET /api/uploadposts/reddit/detailed-posts/
Retrieves detailed posts from a Reddit account connected to a profile, including complete media information (images, galleries, and videos).
Method: GET
Endpoint URL: https://api.upload-post.com/api/uploadposts/reddit/detailed-posts/
Authentication:
A valid JSON Web Token (JWT) is required for authentication. The token must be included in the Authorization header as a Bearer token.
Authorization: Bearer <YOUR_JWT_TOKEN>
Query Parameters:
| Parameter | Type | Required | Description |
|---|---|---|---|
profile_username | string | Yes | Username of the profile that has the Reddit account connected. |
Example Request:
curl 'https://api.upload-post.com/api/uploadposts/reddit/detailed-posts/?profile_username=mi_perfil' \
--header 'Authorization: Bearer <YOUR_JWT_TOKEN>'
Example Successful Response (200 OK):
{
"posts": [
{
"id": "1abc123",
"title": "Título del post",
"subreddit": "programming",
"body": "Contenido del post o URL si es un link post",
"likes": 150,
"comments": 42,
"impressions": 1500,
"has_image": true,
"has_video": false,
"media": [
{
"type": "image",
"url": "https://i.redd.it/example.jpg",
"width": 1920,
"height": 1080
}
],
"url": "https://www.reddit.com/r/programming/comments/1abc123/titulo_del_post/",
"created_at": "2026-01-15T10:30:00+00:00",
"thumbnail": "https://b.thumbs.redditmedia.com/example.jpg"
}
]
}
Response Fields:
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier of the Reddit post. |
title | string | Title of the post. |
subreddit | string | Name of the subreddit where the post was published. |
body | string | Content of the post or URL if it's a link post. |
likes | integer | Number of upvotes on the post. |
comments | integer | Number of comments on the post. |
impressions | integer | Number of views (uses view_count if available, otherwise score). |
has_image | boolean | Indicates if the post contains images. |
has_video | boolean | Indicates if the post contains video. |
media | array | Array of media objects attached to the post. |
url | string | Direct URL to the post on Reddit. |
created_at | string | ISO 8601 timestamp of when the post was created. |
thumbnail | string | URL of the post's thumbnail image. |
Media Types:
| Type | Description | Additional Fields |
|---|---|---|
image | Individual or gallery image | width, height |
video | Video hosted on Reddit | width, height, duration |
external_video | External video (YouTube, etc.) | thumbnail, provider |
Error Responses:
| Code | Message | Description |
|---|---|---|
| 400 | Query parameter "profile_username" is required. | The required parameter is missing. |
| 400 | Profile 'X' has no Reddit account connected. | The profile does not have a linked Reddit account. |
| 400 | Reddit account 'X' not found. | The Reddit account does not exist for the user. |
| 500 | An internal server error occurred. | Internal server error. |
Notes:
- Supports automatic pagination, fetching up to 2000 posts (20 pages × 100 posts).
- Gallery posts include all images in the
mediaarray. - Image URLs are already unescaped (no
&). impressionsusesview_countif available, otherwise usesscoreas a fallback.