← API Store
SocialReddit
Search Reddit posts
GET /reddit/v1/searchEvery response includes credits_used: the credits this call cost.
Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.
Parameters
| Name | Type | Description |
|---|---|---|
qrequired | string | Example: rust programming |
sort | string | relevance (default), hot, top, new, comments. Example: relevance |
time | all | year | month | week | day | hour | Time range: all (default), year, month, week, day, hour. |
subreddit | string | Search inside one subreddit. |
engine | feed | web | feed (default): 25 posts per page with text and links. web: the results of reddit.com's search box, with votes, comment counts and NSFW/spoiler flags (about 7 per page). Pass the same engine with the cursor. |
cursor | string | Value of `next_cursor` from the previous page. |
Every endpoint also takes: raw、fields、fresh、output、records
{
"count": 22,
"credits_used": 1,
"feed": {
"category": " reddit.com",
"category_label": "r/ reddit.com",
"icon": null,
"logo": null,
"subtitle": null,
"title": "reddit.com: search results - rust programming",
"updated": "2026-10-25T22:38:47+00:00",
"url": "https://www.reddit.com/search?q=rust+programming&sort=relevance&t=all&limit=25"
},
"next_cursor": "t3_1127kgj",
"posts": [
{
"author": "TheWanderingAnimimo",
"author_url": "https://www.reddit.com/user/TheWanderingAnimimo",
"category_label": "r/AskProgramming",
"content_html": "<!-- SC_OFF --><div class=\"md\"><p>Is there a particular reason why specifically Rust is used? Is it the new C++?</p> <p>edit; thank you all …",
"external_url": null,
"id": "t3_1x79ycz",
"images": [],
"link": null,
"links": [],
"media_thumbnail": null,
"permalink": "/r/AskProgramming/comments/1x79ycz/why_are_all_vibecoded_programs_and_games_i_see/",
"published": "2026-10-16T07:40:15+00:00",
"subreddit": "AskProgramming",
"text": "Is there a particular reason why specifically Rust is used? Is it the new C++?\n edit; thank you all for the comments, I've learnt alot!",
"thumbnail": null,
"title": "Why are all vibecoded programs and games I see coded in Rust?",
"updated": "2026-10-16T07:40:15+00:00",
"url": "https://www.reddit.com/r/AskProgramming/comments/1x79ycz/why_are_all_vibecoded_programs_and_games_i_see/",
"videos": []
},
{
"author": "ritman-octos",
"author_url": "https://www.reddit.com/user/ritman-octos",
"category_label": "r/rust",
"content_html": "<!-- SC_OFF --><div class=\"md\"><p>I have been making scripts with other languages like js and python and bash without learning the the whole…",
"external_url": null,
"id": "t3_1x5b4v5",
"images": [],
"link": null,
"links": [],
"media_thumbnail": null,
"permalink": "/r/rust/comments/1x5b4v5/rust_as_a_first_serious_programming_language/",
"published": "2026-10-13T22:46:54+00:00",
"subreddit": "rust",
"text": "I have been making scripts with other languages like js and python and bash without learning the the whole language and getting serious with…",
"thumbnail": null,
"title": "Rust as a first serious programming language",
"updated": "2026-10-13T22:46:54+00:00",
"url": "https://www.reddit.com/r/rust/comments/1x5b4v5/rust_as_a_first_serious_programming_language/",
"videos": []
},
"… 20 more"
],
"query": "rust programming",
"sort": "relevance",
"subreddit": null,
"time": "all"
} Response fields (38)
Field paths and types observed in the sample response; the live response is authoritative.
$ | object |
$.count | integer |
$.credits_used | integer |
$.feed | object |
$.feed.category | string |
$.feed.category_label | string |
$.feed.icon | null |
$.feed.logo | null |
$.feed.subtitle | null |
$.feed.title | string |
$.feed.updated | string |
$.feed.url | string |
$.next_cursor | string |
$.posts | array |
$.posts[] | object | string |
$.posts[].author | string |
$.posts[].author_url | string |
$.posts[].category_label | string |
$.posts[].content_html | string |
$.posts[].external_url | null |
$.posts[].id | string |
$.posts[].images | array |
$.posts[].link | null |
$.posts[].links | array |
$.posts[].media_thumbnail | null |
$.posts[].permalink | string |
$.posts[].published | string |
$.posts[].subreddit | string |
$.posts[].text | string |
$.posts[].thumbnail | null |
$.posts[].title | string |
$.posts[].updated | string |
$.posts[].url | string |
$.posts[].videos | array |
$.query | string |
$.sort | string |
$.subreddit | null |
$.time | string |