Platforms/Reddit/Post

Reddit Post API

GET ยท 1 credit

Send a post's id or link, and get its title, text, images, author, score, upvote ratio and comment count.

GET /v1/reddit/posts

What people use it for

  • Thread tracking: read a post's score and comment count as a discussion grows.
  • Link enrichment: turn a pasted Reddit link into its title, text and images.
  • Dataset building: collect full posts found with Search.

How it works with other endpoints

Post ids come from Subreddit posts, Search and Subreddit post search. The same id goes to Post comments and, for a video post, to Post transcript.

Limits

  • One post a call.
  • A deleted post answers 404 NOT_FOUND.

Example request

const url = `${process.env.API_URL}/v1/reddit/posts?post_id=1wkziub`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
post_idNoA post's id: the part after /comments/ in its link, with or without t3_. Give post_id or url.
urlNoA post's link: reddit.com/r/<name>/comments/<id>/, with anything after it, or redd.it/<id>. Give post_id or url.

Example response

{
  "data": {
    "id": "t3_1wkziub",
    "url": "https://www.reddit.com/r/Python/comments/1wkziub/whats_a_python_feature_you_wish_you_learned/",
    "title": "What's a Python feature you wish you'd learned sooner?",
    "text": "Mine is enumerate(). I wrote index counters by hand for a year.",
    "author": "loop_and_learn",
    "subreddit": "Python",
    "score": 1840,
    "comment_count": 612,
    "upvote_ratio": 0.97,
    "post_type": "text",
    "images": [],
    "created_at": "2026-11-27T14:05:00Z"
  },
  "page": null,
  "meta": {
    "platform": "reddit",
    "endpoint": "post",
    "params": {
      "post_id": "1wkziub"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

Which links does it take?

reddit.com/r/<name>/comments/<id>/ links, with anything after them, and redd.it/<id> short links, or the id alone, with or without t3_.

Does it give a gallery's every image?

Yes. images holds each image of a gallery, full size.

How do I read its comments?

Send the same id to Post comments.

Works with

On other platforms

Reddit guides

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required