Reddit: Search Posts
Search Posts from Reddit as JSON. 1 credit per successful call.
GET /v1/reddit/search-posts
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Required | Up to 512 characters |
sort | string | Optional | relevance, hot, top, new, comments |
t | string | Optional | hour, day, week, month, year, all |
subreddit | string | Optional | Any |
nsfw | boolean | Optional | Any |
after | string | Optional | Any |
limit | integer | Optional | Any |
Example request
Reddit
GET/v1/reddit/search-posts?query=openai&sort=top&t=week&limit=10
{
"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
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
time | string |
posts | object[] |
pagination | object |