Reddit
Get Reddit post
Returns a public Reddit post. The default mode is 1 credit. Set include_metrics=true to return public net score, upvote ratio, comment count, award count, and estimated upvote/downvote totals for 3 credits. Reddit fuzzes voting data, so estimates are approximate; share, repost/crosspost, and view counts are not exposed anonymously. If source.type is redlib, public fields and credit weights are preserved.
get/reddit/post/{id}
Request
- Base URL: https://api.crawlora.net/api/v1
- URL: https://api.crawlora.net/api/v1/reddit/post/{id}
- Auth: API key in header x-api-key
Path parameters
idstring required
Reddit post id or t3_ id
Query parameters
include_metricsboolean
Include public engagement metrics; costs 3 credits instead of 1
Headers
x-api-keystring required
API key required
Response
OK
Example response
{
"code": 200,
"data": {
"metrics_source": {
"type": "rss",
"url": "https://www.reddit.com/r/OpenAI/.rss"
},
"post": {
"author": {
"name": "reddit_user",
"profile_url": "https://www.reddit.com/user/reddit_user/"
},
"created": "2024-04-19T00:00:00Z",
"created_utc": 1713484800,
"domain": "self.OpenAI",
"flair": "Discussion",
"id": "1abcxyz",
"name": "t3_1abcxyz",
"permalink": "https://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/",
"selftext": "Discussion body",
"source_feed_url": "https://www.reddit.com/r/OpenAI/.rss",
"subreddit": "OpenAI",
"thumbnail": "https://b.thumbs.redditmedia.com/example.jpg",
"title": "OpenAI discussion thread",
"url": "https://www.reddit.com/r/OpenAI/comments/1abcxyz/openai_discussion_thread/"
},
"source": {
"type": "rss",
"url": "https://www.reddit.com/r/OpenAI/.rss"
}
},
"msg": "OK"
}Changes
No recorded changes to this operation across all 2 revisions of this API.