API Direct
Endpoints
Reddit Post Details

Reddit Post Details

GET /v1/reddit/post

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.

Cost
$0.003 per request
Free tier
50 requests/month

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)

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

Your Usage

Free tier this month
Loading...
Recent Activity