All endpoints
Reddit Post Details

Reddit Post Details API

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.

Price: $0.003 per request
Free tier: 50 requests/month
Endpoint
GET /v1/reddit/post

Parameters

url
Reddit post URL, e.g. https://www.reddit.com/r/Python/comments/1wwv97o/my_python_magic_is_gone/ or https://redd.it/1wwv97o (max 500 characters). Provide exactly one of url or post_id.
post_id
Reddit post ID, e.g. 1wwv97o (a t3_ prefix is accepted). Provide exactly one of url or post_id.
get_sentiment
Set to true to add AI emotion analysis (+$0.001/request)

Response fields

post
The post
post_id
Post ID (the base-36 ID in the post URL)
title
Post title
url
Direct link to the post
date
Publication date and time (UTC)
author
Author's Reddit username ([deleted] for a deleted account)
author_url
Link to the author's profile (empty for a deleted account)
source
"Reddit"
domain
"reddit.com"
snippet
Post text (the title for link, image and video posts)
subreddit
Subreddit name
upvotes
Net upvotes (upvotes minus downvotes)
upvote_ratio
Fraction of votes that are upvotes, between 0 and 1
comments
Number of comments
crossposts
Number of times the post has been crossposted
flair
Post flair text, or empty string
link_url
The URL a link, image or video post shares (empty for text posts)
thumbnail
Thumbnail image URL, or empty string
is_video
Whether the post is a Reddit-hosted video
nsfw
Whether the post is marked NSFW
spoiler
Whether the post is marked as a spoiler
locked
Whether the post is locked to new comments
stickied
Whether the post is pinned in its subreddit
video_url
MP4 file of a Reddit-hosted video, or empty string. It can be silent (Reddit stores most video sound separately), so use video_hls_url for video with sound. Reddit can expire video links, so use them soon after fetching
video_hls_url
HLS stream (with sound) of a Reddit-hosted video, or empty string. Reddit can expire this link too
images
Image URLs: every image of a gallery post, in order, or the image of an image post (empty otherwise)
sentiment
Emotion analysis: emotions, dominant_emotion, emotional_intensity, polarity (when get_sentiment=true)

Example Request

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"

Example Response

{
  "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"
    }
  }
}

Frequently asked questions

Which URL formats are accepted?

Any reddit.com post URL (www, old or new Reddit, with or without the title slug) and redd.it short links. Share links (/s/...) aren't supported: open them in a browser first to get the post URL.

What is link_url?

For a link, image or video post it is the URL the post shares (an article, i.redd.it image or v.redd.it video). For a text post it is empty.

How do I get a post's video or images?

video_url is the MP4 file of a Reddit-hosted video and video_hls_url its HLS stream; the MP4 is often silent, as Reddit stores the sound separately, so use the HLS stream for video with sound. images lists every image of a gallery post in order, or the image of an image post.

Does it work for NSFW posts?

Yes. NSFW posts are returned with nsfw set to true.

How does pricing work?

You only pay for successful requests. The Reddit Post Details API costs $0.003 per request. There are no monthly fees or commitments. You get 50 free requests per endpoint every month.

Do I need a credit card to start?

No. You can sign up and use the free tier (50 requests/endpoint/month) without adding a payment method. You only need to add a card when you want to exceed the free tier.

Are there rate limits?

Yes, there's a concurrency limit of 10 simultaneous requests per endpoint per user. If you need more, just get in touch.

Start using the Reddit Post Details API

Get your API key and start making requests in minutes. 50 requests/month free every month.

Get API Key