OpenGraph.io

Reddit Link Previews — Extract Post Metadata Instantly

Get post title, subreddit, score, comment count, author, and thumbnail from any public Reddit URL — no OAuth required.

No credit card required.

API Response Preview
173K
r/AskRedditr/AskReddit·u/bored_redditor

What's a fact that sounds fake but is actually true?

Reddit post thumbnail
24.6K comments2 days agotext
Reddit·website
reddit.com/r/AskReddit/comments/...

Why Use Our Reddit Link Preview API?

Skip the Reddit developer portal. Get structured post metadata with a single GET request.

No OAuth or App Registration

No Reddit developer account, no OAuth tokens, no client secrets. Just your OpenGraph.io app_id and a Reddit URL.

Zero setup friction

Fast & Reliable Extraction

Extract metadata from any public Reddit post in seconds. Cached responses return in milliseconds.

Built for speed

No Rate Limit Headaches

Reddit's API now charges for access and enforces strict rate limits. Our API keeps things simple and predictable.

Avoid API fees

Works With Any URL

Not just Reddit — the same API works with YouTube, Twitter/X, Instagram, and any other URL. One integration, every platform.

Universal coverage

What You Can Extract

A single API call returns rich, structured metadata for any public Reddit post.

FieldDescription
Post TitleFull title of the Reddit post
SubredditThe community the post belongs to
AuthorUsername of the poster
ScoreNet upvotes (upvotes minus downvotes)
Comment CountTotal number of comments
ThumbnailPost thumbnail or preview image
Post TypeLink, image, video, or text
Created DateWhen the post was published
Post URLCanonical link to the Reddit post

Built for Real-World Use Cases

Whether you're building a Slack bot, a content dashboard, or a social analytics tool — our Reddit link preview API fits right in.

  • Link unfurling: Show rich Reddit previews in chat apps, Slack bots, Discord bots, and messaging platforms.
  • Trend monitoring: Track post scores, comment counts, and subreddit activity for content dashboards.
  • Content aggregation: Build curated feeds by pulling metadata from multiple Reddit posts and communities.
  • Social analytics: Analyze post performance and engagement patterns across subreddits.
  • Community tools: Power moderation dashboards and community management tools with post metadata.

Link Unfurling Bot

Trend Dashboard

How It Works

Pass any public Reddit URL to our endpoint. We return structured metadata — no tokens, no scraping logic to maintain.

  • 1Send your request: Pass any Reddit post URL to our site API endpoint with your app_id.
  • 2We extract the data: Our infrastructure fetches and parses the Reddit page, extracting title, subreddit, score, comments, and more.
  • 3Get structured JSON: Receive a clean JSON response with all the metadata — ready for your app.
Simple API Request
https://opengraph.io/api/1.1/site/
:redditUrl?app_id=xxxxxx
// Returns title, subreddit, score, comments...
// Works with posts, comments, and subreddits

Why Not Use Reddit's Official API?

The official API adds cost and complexity you don't need for metadata extraction.

Reddit API

  • Requires OAuth and app registration
  • Strict rate limits — 100 requests/minute for OAuth clients
  • Recent pricing changes make it expensive at scale
  • Complex authentication flow for simple metadata needs
  • User-agent requirements and compliance overhead
  • Must manage token refresh and error handling
  • Only works with Reddit — need separate APIs for other platforms

OpenGraph.io

  • Just an app_id — no developer portal or app registration
  • No OAuth, no tokens, no client secrets
  • Simple, predictable request-based pricing
  • Start free — upgrade only when you need to
  • Title, subreddit, score, comments — all in one response
  • No rate limit headaches or API fee surprises
  • Not just Reddit — works with any URL across any platform
Developer Friendly

Integrate in Minutes

Use the language you love

import fetch from 'node:fetch';

// Site Unfurling API
const unfurlLink = async () => {
// Replace xxxxxx with your app_id or access_key
const url = "https://opengraph.io/api/1.1/site/https://example.com?app_id=xxxxxx";

try {
  const response = await fetch(url);
  const data = await response.json();
  console.log('Link preview:', data);
} catch (error) {
  console.error('Error unfurling link:', error);
}
};

unfurlLink();
Our Clients

Trusted by Thousands

Over 1B Site Previews!

Try it for free today

Get started with 100 free API requests per month. No credit card required. Experience the power of our API with zero commitment.

FAQ

A Reddit Link Preview API lets you programmatically extract metadata from any public Reddit post — including the title, subreddit, score, comment count, author, and thumbnail — without using Reddit's official API or dealing with OAuth.
No. OpenGraph.io extracts metadata directly from the page, so you only need an OpenGraph.io app_id. There's no Reddit app registration, OAuth flow, or client secret required.
You can extract the post title, subreddit name, author username, score (upvotes), comment count, thumbnail/preview image, post type (link, image, video, text), creation date, and canonical URL.
Reddit's official API now charges for access at scale, making it expensive for many use cases. OpenGraph.io offers simple, predictable pricing based on your request volume — no surprise fees.
Yes. Our API can extract metadata from Reddit post URLs, individual comment permalinks, and subreddit pages — any publicly accessible Reddit URL.
Cached responses return in milliseconds. Fresh requests typically complete in 1–3 seconds. We use global edge caching to ensure fast response times worldwide.
Absolutely. This is one of the most common use cases. Send us a Reddit URL and we return the title, thumbnail, subreddit, and score — exactly what you need for a rich link preview.

Still have Questions? 🤔

Can't find the answer you're looking for? Please chat to our friendly team. We usually respond within 24 hours.