Introducing the Instagram APIRead more →

Reddit Post API. Send a post link or ID.

Upvotes, comment count, media and flair. We handle the proxies, blocks and platform changes.

Reddit Post API at a glance

Returns a public Reddit post from its link, share link or ID: title, text, author, subreddit, score (upvotes), upvote ratio and comment count. It also has every image of a gallery or the video with its length, the linked page of a link post, the award count, the flair, and whether the post is NSFW, a spoiler, locked, archived or a crosspost. Comment permalinks, redd.it and v.redd.it links work too.

GET /v1/reddit/post

Read the API reference
  • 1 credit per request, $0.75–$1.97 per 1,000 requests
  • 22 typed fields null when unknown
  • url is all it needs, e.g. https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/
  • 100 credits free when you sign up, no card, so you can build before you spend

Send one request. Get 22 fields back.

Copy the request in your language, or hand it to your agent. Sign up for an API key and your first 100 credits are free.

$ npm install socialtap
url = https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/
GET /v1/reddit/postTry in
const params = new URLSearchParams({
  url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/",
});
const res = await fetch(`https://socialtap.dev/v1/reddit/post?${params}`, {
  headers: { "x-api-key": process.env.SOCIALTAP_API_KEY ?? "" },
});
const body = await res.json();
if (!res.ok) throw new Error(`${body.error.code}: ${body.error.message}`);
const { data, meta } = body;
console.log(data, meta.credits_charged);
200 OK · GET https://socialtap.dev/v1/reddit/postLong arrays and strings are shortened here. Real responses are complete.Docs

One schema on 21 platforms.

The response reference lists every field, its type and when it is null. See the full schema.

  • Null means unknown

    A field Reddit doesn't show is null, never zero or an empty string, so a real zero always means zero.

  • What it accepts

    Reddit post URL: a post's page on any reddit.com host (www, old, new, np, m, sh), with or without its subreddit or slug, a comment's permalink (its post is returned), a /gallery/ link, a redd.it short link, an app share link (/r/<subreddit>/s/<code>), a v.redd.it video link, or the post's ID (t3_ prefix optional).

  • Write one parser

    Reddit, TikTok, Instagram and 18 more platforms answer in these fields, so the code that reads one reads them all.

platformstring
Platform ID (tiktok, youtube, …).
idstring
Platform-native post ID (string; Instagram shortcode, Reddit with its t3_ prefix).
urlstring
Canonical post URL.
typestring
Normalized content shape. New values may be added; treat unknown values as other.
platform_typestring
The platform's own product label, lowercase (reel, short, story, live, tweet, …).
titlestring
Headline (YouTube title, Reddit title); null on caption-only platforms.
textstring
Caption, description or body as plain text.
languagestring
BCP-47 language of text, when the platform states it.

What teams build with the Reddit Post API.

  • Track a post's upvotes over time

  • Enrich Reddit links with title and author

  • Download a gallery's images or a post's video

  • Check whether a post is locked or archived

Good to know before you build.

  • metrics.like_count is the post's score (upvotes minus downvotes), as is platform_specific.reddit.score. Reddit shows a downvoted post's score as 0, so a 0 with an upvote ratio below 0.5 makes both null: the true score is negative and unknown.
  • Reddit shows no view, share or save counts logged out, so those metrics are null.
  • Video links are signed and expire at media[].expires_at.
  • A deleted account's post has author {display_name: "[deleted]"} and every other author field null: Reddit no longer says who it was.
  • Images, GIFs and videos inside a text post's body are its media[], in order, and the post stays type text.

1 credit per request. Failed requests are free.

Buy credits once and spend them on any endpoint, on any platform.

SourcePrice per successful requestPer 1,000 requests
Public page page1 credit$0.75–$1.97
  • Cache hits are free.
  • Credits from packs and top-ups never expire.
  • A monthly plan's credits are spent first, and what is left of them ends at each renewal.
  • Prices exclude tax: sales tax is added at checkout where it applies.
  • Outside the US, plans and packs are sold to businesses: checkout asks for your VAT, GST or other business tax ID.

Questions about the Reddit Post API.

More in the API reference.

Does it return the upvote count?
Yes, as the score: upvotes minus downvotes, the number Reddit shows beside the arrows, with the upvote ratio beside it. Reddit doesn't show upvotes and downvotes apart.
How much does the Reddit Post API cost?
A request costs 1 credit. SocialTap credits cost $0.75–$1.97 per 1,000, depending on the plan or pack.

Try it on a link you already have.

Paste it in the playground, or copy the request into your code.

100free credits
  • No credit card
  • Failed requests are free
  • Works on all 218 endpoints
Start for free Read the docs