Skip to main content
GET
/
post
Get Post
curl --request GET \
  --url https://api.zilodata.com/api/v1/reddit/post \
  --header 'Authorization: Bearer <token>'
{
  "id": "abc123",
  "title": "Amazing discovery in science",
  "content": "Check out this incredible finding...",
  "author": "science_lover",
  "subreddit": "science",
  "upvotes": 1250,
  "downvotes": 50,
  "score": 1200,
  "commentCount": 89,
  "createdAt": "2025-01-15T10:30:00.000Z",
  "url": "https://www.reddit.com/r/science/comments/abc123"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

postId
string
required

Reddit post ID

includeComments
boolean
default:true

Include comments in response

Response

Successful response

id
string
Example:

"abc123"

title
string
Example:

"Amazing discovery in science"

content
string
Example:

"Check out this incredible finding..."

author
string
Example:

"science_lover"

subreddit
string
Example:

"science"

upvotes
integer
Example:

1250

downvotes
integer
Example:

50

score
integer
Example:

1200

commentCount
integer
Example:

89

createdAt
string<date-time>
Example:

"2025-01-15T10:30:00.000Z"

url
string<uri>
Example:

"https://www.reddit.com/r/science/comments/abc123"