Get one Reddit post by URL or post ID. Returns the title, text, author, subreddit, publication date, score, upvote ratio, comment and crosspost counts, flair, the link a link post shares, thumbnail, video links, every gallery image, and NSFW, spoiler, locked and pinned flags.
curl "https://apidirect.io/v1/reddit/post?url=https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/" \
-H "X-API-Key: YOUR_API_KEY"
{
"post": {
"post_id": "1wwv97o",
"title": "My Python magic is gone",
"url": "https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/",
"date": "2026-10-03 19:08:43",
"author": "RedYad2",
"author_url": "https://www.reddit.com/user/RedYad2",
"source": "Reddit",
"domain": "reddit.com",
"snippet": "I've been coding for a long time, and I've been developing with Python for years.\n\nI loved coding, always loved it. I started many years ago because I wanted...",
"subreddit": "Python",
"upvotes": 876,
"upvote_ratio": 0.89,
"comments": 309,
"crossposts": 0,
"flair": "Discussion",
"link_url": "",
"thumbnail": "",
"is_video": false,
"nsfw": false,
"spoiler": false,
"locked": false,
"stickied": false,
"video_url": "",
"video_hls_url": "",
"images": [],
"sentiment": {
"emotions": {
"joy": 40,
"trust": 55,
"fear": 0,
"surprise": 10,
"sadness": 0,
"disgust": 0,
"anger": 0,
"anticipation": 30
},
"dominant_emotion": "trust",
"emotional_intensity": 5,
"polarity": "positive"
}
}
}