APIs / Social media / Reddit
1 credit per call14 endpoints28 datapointsChecked working 25 Nov 2026
Reddit API
Reddit API for post search, subreddit feeds and rules, user profiles and history, front-page feeds and posts by domain as JSON. 1 credit per call.
{
"success": true,
"data": {
"query": "openai",
"sort": "top",
"time": "week",
"posts": [
{
"id": "1xtu7qr",
"fullname": "t3_1xtu7qr",
"title": "What a poor soul..",
"author": "Careless_Scallion_82",
"author_fullname": "t2_dl4ogz77",
"subreddit": "memes",
"subreddit_id": "t5_2qjpg",
"subreddit_subscribers": 36169974,
"permalink": "https://www.reddit.com/r/memes/comments/1xtu7qr/what_a_poor_soul/",
"url": "https://i.redd.it/y1amb0q0x11i1.jpeg",
"domain": "i.redd.it",
"post_type": "image",
"score": 31390,
"upvote_ratio": 0.97,
"num_comments": 107,
"num_crossposts": 3,
"total_awards_received": 0,
"author_flair": ":Doot: Doot :Doot:",
"created_at": "2026-11-11T21:27:52+00:00",
"created_utc": 1794432472,
"over_18": false,
"spoiler": false,
"stickied": false,
"locked": false,
"archived": false,
"is_original_content": false,
"thumbnail_url": "https://preview.redd.it/y1amb0q0x11i1.jpeg?width=140&height=129&auto=webp&s=4ac7bb67c19333cb6450b01ffd69bfddfc8b4cc6",
"preview_url": "https://preview.redd.it/y1amb0q0x11i1.jpeg?auto=webp&s=bcfc8a98daafea3122f2da8fbf43f11deda4629e"
},
{
"id": "1xsql0c",
"fullname": "t3_1xsql0c",
"title": "Sad, hopeless eyesπ",
"author": "SaiMan2303",
"author_fullname": "t2_1ukm55dgp0",
"subreddit": "SipsTea",
"subreddit_id": "t5_5tdqj0",
"subreddit_subscribers": 4117827,
"permalink": "https://www.reddit.com/r/SipsTea/comments/1xsql0c/sad_hopeless_eyes/",
"url": "https://i.redd.it/yletoele5t0i1.jpeg",
"domain": "i.redd.it",
"post_type": "image",
"score": 7542,
"upvote_ratio": 0.98,
"num_comments": 51,
"num_crossposts": 1,
"total_awards_received": 0,
"flair": {
"text": "Wait a damn minute!:Wayment:",
"text_color": "dark",
"background_color": "#edeff1"
},
"author_flair": ":vip-green-v::vip-green-i::vip-green-p::KermitSlowerSip_APNG:",
"created_at": "2026-11-10T15:58:48+00:00",
"created_utc": 1794326328,
"over_18": false,
"spoiler": false,
"stickied": false,
"locked": false,
"archived": false,
"is_original_content": false,
"thumbnail_url": "https://preview.redd.it/yletoele5t0i1.jpeg?width=140&height=133&auto=webp&s=b0079f5e92df9912cecb959180633dc372ba6d9b",
"preview_url": "https://preview.redd.it/yletoele5t0i1.jpeg?auto=webp&s=00fa4e75ed355703a1cce28403bbd6b248f71b16"
},
{
"id": "1xrz1mp",
"fullname": "t3_1xrz1mp",
"title": "NVIDIA's relationship with AI models got a plot twist ππ",
"author": "RyzovaTech",
"author_fullname": "t2_2qc1d44w1m",
"subreddit": "ChatGPT",
"subreddit_id": "t5_7hqomg",
"subreddit_subscribers": 11744230,
"permalink": "https://www.reddit.com/r/ChatGPT/comments/1xrz1mp/nvidias_relationship_with_ai_models_got_a_plot/",
"url": "https://i.redd.it/eche52g3om0i1.jpeg",
"domain": "i.redd.it",
"post_type": "image",
"score": 6354,
"upvote_ratio": 0.98,
"num_comments": 78,
"num_crossposts": 2,
"total_awards_received": 0,
"flair": {
"text": "Funny ",
"text_color": "light",
"background_color": "#0dd3bb"
},
"created_at": "2026-11-09T18:11:08+00:00",
"created_utc": 1794247868,
"over_18": false,
"spoiler": false,
"stickied": false,
"locked": false,
"archived": false,
"is_original_content": false,
"thumbnail_url": "https://preview.redd.it/eche52g3om0i1.jpeg?width=140&height=140&auto=webp&s=7014cde100f784828db6b64af04ccd363cfa8579",
"preview_url": "https://preview.redd.it/eche52g3om0i1.jpeg?auto=webp&s=0ae602147d9cef6a90728f0418193e1e37b3f487"
}
],
"pagination": {
"limit": 10,
"next_after": "t3_1xtzobg",
"has_more": true
}
},
"meta": {
"endpoint_family": "search_posts",
"request_id": "req_e27fa7f55b7642978b8113afb3570e99",
"credits_charged": 1,
"credits_remaining": 1786
}
}Sample data
What one call returns
A recorded run of search-posts: the fields and shapes you will get, shortened to 3 items.
| # | idstring | fullnamestring | titlestring | authorstring | author_fullnamestring | subredditstring | subreddit_idstring | subreddit_subscribersinteger | permalinkurl | urlurl | domainstring | post_typestring | scoreinteger | upvote_rationumber | num_commentsinteger | num_crosspostsinteger | total_awards_receivedinteger | author_flairstring | created_atstring | created_utcinteger | over_18boolean | spoilerboolean | stickiedboolean | lockedboolean | archivedboolean | is_original_contentboolean | thumbnail_urlurl | preview_urlurl |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 1xtu7qr | t3_1xtu7qr | What a poor soul.. | Careless_Scallion_82 | t2_dl4ogz77 | memes | t5_2qjpg | 36169974 | https://www.reddit.com/r/memes/comments/1xtu7qr/what_a_poor_soul/ | https://i.redd.it/y1amb0q0x11i1.jpeg | i.redd.it | image | 31390 | 0.97 | 107 | 3 | 0 | :Doot: Doot :Doot: | 2026-11-11T21:27:52+00:00 | 1794432472 | false | false | false | false | false | false | https://preview.redd.it/y1amb0q0x11i1.jpeg?width=140&height=129&auto=webp&s=4ac7bb67c19333cb6450b01ffd69bfddfc8b4cc6 | https://preview.redd.it/y1amb0q0x11i1.jpeg?auto=webp&s=bcfc8a98daafea3122f2da8fbf43f11deda4629e |
| 2 | 1xsql0c | t3_1xsql0c | Sad, hopeless eyesπ | SaiMan2303 | t2_1ukm55dgp0 | SipsTea | t5_5tdqj0 | 4117827 | https://www.reddit.com/r/SipsTea/comments/1xsql0c/sad_hopeless_eyes/ | https://i.redd.it/yletoele5t0i1.jpeg | i.redd.it | image | 7542 | 0.98 | 51 | 1 | 0 | :vip-green-v::vip-green-i::vip-green-p::KermitSlowerSip_APNG: | 2026-11-10T15:58:48+00:00 | 1794326328 | false | false | false | false | false | false | https://preview.redd.it/yletoele5t0i1.jpeg?width=140&height=133&auto=webp&s=b0079f5e92df9912cecb959180633dc372ba6d9b | https://preview.redd.it/yletoele5t0i1.jpeg?auto=webp&s=00fa4e75ed355703a1cce28403bbd6b248f71b16 |
| 3 | 1xrz1mp | t3_1xrz1mp | NVIDIA's relationship with AI models got a plot twist ππ | RyzovaTech | t2_2qc1d44w1m | ChatGPT | t5_7hqomg | 11744230 | https://www.reddit.com/r/ChatGPT/comments/1xrz1mp/nvidias_relationship_with_ai_models_got_a_plot/ | https://i.redd.it/eche52g3om0i1.jpeg | i.redd.it | image | 6354 | 0.98 | 78 | 2 | 0 | β | 2026-11-09T18:11:08+00:00 | 1794247868 | false | false | false | false | false | false | https://preview.redd.it/eche52g3om0i1.jpeg?width=140&height=140&auto=webp&s=7014cde100f784828db6b64af04ccd363cfa8579 | https://preview.redd.it/eche52g3om0i1.jpeg?auto=webp&s=0ae602147d9cef6a90728f0418193e1e37b3f487 |
[
{
"id": "1xtu7qr",
"fullname": "t3_1xtu7qr",
"title": "What a poor soul..",
"author": "Careless_Scallion_82",
"author_fullname": "t2_dl4ogz77",
"subreddit": "memes",
"subreddit_id": "t5_2qjpg",
"subreddit_subscribers": 36169974,
"permalink": "https://www.reddit.com/r/memes/comments/1xtu7qr/what_a_poor_soul/",
"url": "https://i.redd.it/y1amb0q0x11i1.jpeg",
"domain": "i.redd.it",
"post_type": "image",
"score": 31390,
"upvote_ratio": 0.97,
"num_comments": 107,
"num_crossposts": 3,
"total_awards_received": 0,
"author_flair": ":Doot: Doot :Doot:",
"created_at": "2026-11-11T21:27:52+00:00",
"created_utc": 1794432472,
"over_18": false,
"spoiler": false,
"stickied": false,
"locked": false,
"archived": false,
"is_original_content": false,
"thumbnail_url": "https://preview.redd.it/y1amb0q0x11i1.jpeg?width=140&height=129&auto=webp&s=4ac7bb67c19333cb6450b01ffd69bfddfc8b4cc6",
"preview_url": "https://preview.redd.it/y1amb0q0x11i1.jpeg?auto=webp&s=bcfc8a98daafea3122f2da8fbf43f11deda4629e"
},
{
"id": "1xsql0c",
"fullname": "t3_1xsql0c",
"title": "Sad, hopeless eyesπ",
"author": "SaiMan2303",
"author_fullname": "t2_1ukm55dgp0",
"subreddit": "SipsTea",
"subreddit_id": "t5_5tdqj0",
"subreddit_subscribers": 4117827,
"permalink": "https://www.reddit.com/r/SipsTea/comments/1xsql0c/sad_hopeless_eyes/",
"url": "https://i.redd.it/yletoele5t0i1.jpeg",
"domain": "i.redd.it",
"post_type": "image",
"score": 7542,
"upvote_ratio": 0.98,
"num_comments": 51,
"num_crossposts": 1,
"total_awards_received": 0,
"flair": {
"text": "Wait a damn minute!:Wayment:",
"text_color": "dark",
"background_color": "#edeff1"
},
"author_flair": ":vip-green-v::vip-green-i::vip-green-p::KermitSlowerSip_APNG:",
"created_at": "2026-11-10T15:58:48+00:00",
"created_utc": 1794326328,
"over_18": false,
"spoiler": false,
"stickied": false,
"locked": false,
"archived": false,
"is_original_content": false,
"thumbnail_url": "https://preview.redd.it/yletoele5t0i1.jpeg?width=140&height=133&auto=webp&s=b0079f5e92df9912cecb959180633dc372ba6d9b",
"preview_url": "https://preview.redd.it/yletoele5t0i1.jpeg?auto=webp&s=00fa4e75ed355703a1cce28403bbd6b248f71b16"
},
{
"id": "1xrz1mp",
"fullname": "t3_1xrz1mp",
"title": "NVIDIA's relationship with AI models got a plot twist ππ",
"author": "RyzovaTech",
"author_fullname": "t2_2qc1d44w1m",
"subreddit": "ChatGPT",
"subreddit_id": "t5_7hqomg",
"subreddit_subscribers": 11744230,
"permalink": "https://www.reddit.com/r/ChatGPT/comments/1xrz1mp/nvidias_relationship_with_ai_models_got_a_plot/",
"url": "https://i.redd.it/eche52g3om0i1.jpeg",
"domain": "i.redd.it",
"post_type": "image",
"score": 6354,
"upvote_ratio": 0.98,
"num_comments": 78,
"num_crossposts": 2,
"total_awards_received": 0,
"flair": {
"text": "Funny ",
"text_color": "light",
"background_color": "#0dd3bb"
},
"created_at": "2026-11-09T18:11:08+00:00",
"created_utc": 1794247868,
"over_18": false,
"spoiler": false,
"stickied": false,
"locked": false,
"archived": false,
"is_original_content": false,
"thumbnail_url": "https://preview.redd.it/eche52g3om0i1.jpeg?width=140&height=140&auto=webp&s=7014cde100f784828db6b64af04ccd363cfa8579",
"preview_url": "https://preview.redd.it/eche52g3om0i1.jpeg?auto=webp&s=0ae602147d9cef6a90728f0418193e1e37b3f487"
}
]id,fullname,title,author,author_fullname,subreddit,subreddit_id,subreddit_subscribers,permalink,url,domain,post_type,score,upvote_ratio,num_comments,num_crossposts,total_awards_received,author_flair,created_at,created_utc,over_18,spoiler,stickied,locked,archived,is_original_content,thumbnail_url,preview_url 1xtu7qr,t3_1xtu7qr,What a poor soul..,Careless_Scallion_82,t2_dl4ogz77,memes,t5_2qjpg,36169974,https://www.reddit.com/r/memes/comments/1xtu7qr/what_a_poor_soul/,https://i.redd.it/y1amb0q0x11i1.jpeg,i.redd.it,image,31390,0.97,107,3,0,:Doot: Doot :Doot:,2026-11-11T21:27:52+00:00,1794432472,false,false,false,false,false,false,https://preview.redd.it/y1amb0q0x11i1.jpeg?width=140&height=129&auto=webp&s=4ac7bb67c19333cb6450b01ffd69bfddfc8b4cc6,https://preview.redd.it/y1amb0q0x11i1.jpeg?auto=webp&s=bcfc8a98daafea3122f2da8fbf43f11deda4629e 1xsql0c,t3_1xsql0c,"Sad, hopeless eyesπ",SaiMan2303,t2_1ukm55dgp0,SipsTea,t5_5tdqj0,4117827,https://www.reddit.com/r/SipsTea/comments/1xsql0c/sad_hopeless_eyes/,https://i.redd.it/yletoele5t0i1.jpeg,i.redd.it,image,7542,0.98,51,1,0,:vip-green-v::vip-green-i::vip-green-p::KermitSlowerSip_APNG:,2026-11-10T15:58:48+00:00,1794326328,false,false,false,false,false,false,https://preview.redd.it/yletoele5t0i1.jpeg?width=140&height=133&auto=webp&s=b0079f5e92df9912cecb959180633dc372ba6d9b,https://preview.redd.it/yletoele5t0i1.jpeg?auto=webp&s=00fa4e75ed355703a1cce28403bbd6b248f71b16 1xrz1mp,t3_1xrz1mp,NVIDIA's relationship with AI models got a plot twist ππ,RyzovaTech,t2_2qc1d44w1m,ChatGPT,t5_7hqomg,11744230,https://www.reddit.com/r/ChatGPT/comments/1xrz1mp/nvidias_relationship_with_ai_models_got_a_plot/,https://i.redd.it/eche52g3om0i1.jpeg,i.redd.it,image,6354,0.98,78,2,0,,2026-11-09T18:11:08+00:00,1794247868,false,false,false,false,false,false,https://preview.redd.it/eche52g3om0i1.jpeg?width=140&height=140&auto=webp&s=7014cde100f784828db6b64af04ccd363cfa8579,https://preview.redd.it/eche52g3om0i1.jpeg?auto=webp&s=0ae602147d9cef6a90728f0418193e1e37b3f487
Recorded from our API Β· 3 items shown Β· 28 datapoints per itemGET /v1/reddit/search-posts?query=openai&sort=top&t=week&limit=10
28 datapoints
Identity
- idstring
- fullnamestring
- titlestring
- author_fullnamestring
- subreddit_idstring
- post_typestring
Contact
- permalinkurl
- urlurl
- domainstring
- thumbnail_urlurl
- preview_urlurl
Reputation
- scoreinteger
Other
- authorstring
- subredditstring
- subreddit_subscribersinteger
- upvote_rationumber
- num_commentsinteger
- num_crosspostsinteger
- total_awards_receivedinteger
- author_flairstring
- created_atstring
- created_utcinteger
- over_18boolean
- spoilerboolean
- stickiedboolean
- lockedboolean
- archivedboolean
- is_original_contentboolean
Playground
Run this API
curl "https://api.perceptlayer.com/v1/reddit/search-posts?query=openai&sort=top&t=week&limit=10" \
-H "X-API-Key: $API_KEY"Reddit Β· 14 endpoints
Endpoints
Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.
| Endpoint | Required parameters | Returns | Cost |
|---|---|---|---|
GET/v1/reddit/autocomplete | query+2 optional | JSON | 1 credit |
GET/v1/reddit/domain | domain+4 optional | JSON | 1 credit |
GET/v1/reddit/oembed | url | JSON | 1 credit |
GET/v1/reddit/popular | none+5 optional | JSON | 1 credit |
GET/v1/reddit/post | id | JSON | 1 credit |
GET/v1/reddit/search-posts | query+6 optional | timepostspagination | 1 credit |
GET/v1/reddit/search-subreddits | query+2 optional | JSON | 1 credit |
GET/v1/reddit/search-users | query+2 optional | JSON | 1 credit |
GET/v1/reddit/subreddit | subreddit+1 optional | JSON | 1 credit |
GET/v1/reddit/subreddit-posts | subreddit+4 optional | JSON | 1 credit |
GET/v1/reddit/user-comments | username+4 optional | JSON | 1 credit |
GET/v1/reddit/user-overview | username+4 optional | JSON | 1 credit |
GET/v1/reddit/user-posts | username+4 optional | JSON | 1 credit |
GET/v1/reddit/user-profile | username | JSON | 1 credit |
Overview
About the Reddit API
What you can get
The Reddit API returns Reddit posts, subreddits and user data as JSON through 14 endpoints. Time filters take a t of hour, day, week, month, year or all, and list endpoints page with after and limit.
- Search:
search-poststakes aquery, withsort(relevance, hot, top, new or comments),t,subredditandnsfw.search-subredditsandsearch-userstake aquery.autocompletetakes aquery, withlimitandnsfw. - Subreddits:
subreddittakes asubreddit, withrules;subreddit-poststakes asubreddit, withsort(hot, new, top, rising or controversial) andt. - Feeds:
populartakes afeed(popular or best), with the samesortvalues andt.domaintakes adomain, withsort(hot, new or top) andt, and returns posts that link to it. - Posts:
posttakes a postid;oembedtakes a posturl. - Users:
user-profiletakes ausername;user-posts,user-commentsanduser-overviewtake ausername, withsort(hot, new, top or controversial) andt.
The recorded search-posts call for "openai" (sort top, t week, limit 10) returns posts, each with id, title, subreddit, subreddit_subscribers, permalink, url, domain, post_type, score, upvote_ratio, num_comments, num_crossposts, created_at, over_18, locked and thumbnail_url. It also returns pagination with limit, next_after and has_more.
How a call works
GET /v1/reddit/search-posts?query=openai&sort=top&t=week&limit=10 with your key in the X-API-Key header runs a search. Each post's id goes to post, and its subreddit to subreddit or subreddit-posts. When has_more is true, pass next_after as after for the next page. Every successful call costs 1 credit; failed calls cost nothing.
More social media APIs
Use cases
Monitor mentions of your brand or product across Reddit
Use the Reddit API to monitor mentions of your brand or product across RedditTrack which posts on a topic gain score and comments this week
Use the Reddit API to track which posts on a topic gain score and comments this weekFind the subreddits where a topic is discussed, and read their rules before posting
Use the Reddit API to find the subreddits where a topic is discussed, and read their rules before postingSee which Reddit posts link to your domain or a competitor's
Use the Reddit API to see which Reddit posts link to your domain or a competitor'sFAQ
Questions
Do I need a Reddit account or app?
No. You call this Reddit API with your Perceptlayer key in the `X-API-Key` header, with no Reddit login or app to register.
How much does the Reddit API cost?
Each successful call costs one credit, and each page of results is one call. New accounts get free credits to start, and credit packs bring the price down as you scale.
Can I search inside one subreddit?
Yes. Pass `subreddit` to `search-posts` with your `query`, or list a subreddit's posts with `subreddit-posts` and a `sort`.
What format are responses in?
Every endpoint returns JSON, with no HTML parsing on your side.
Is this the official Reddit API?
No. Perceptlayer is an independent service and is not affiliated with Reddit. It returns Reddit data as JSON with a Perceptlayer key, so there is no Reddit developer account, app review or partner approval to get first. It only reads data: if Reddit has an official API and you need to act on your own Reddit account, such as posting, managing orders or reading private data, use that one.
Should I build a Reddit scraper instead?
You can, but a Reddit scraper is code you maintain: page changes break it, requests get blocked, and Reddit's terms govern how you collect data. The Reddit API gives you 14 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.
Try the Reddit API with 100 free credits
No credit card. Failed calls are never billed.