Reddit Community Content Search API
Search Reddit Community Content via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by ScrapeCreators, pass parameters such as query, subreddit, and retrieve structured data including post result records, comment text, associated post fullname, comment source URL, and media result records to find community discussions, and review cross-format results.
- Selected price
- $0.00188 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Reddit Community Content Search API
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Overview
Reddit Community Content Search API
This GET implementation requires subreddit and accepts optional query, sort, timeframe and cursor. Its response separates posts, comments and media and returns a top-level cursor.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Required query: subreddit without r/ or a full URL. Optional query, sort, timeframe and cursor. |
| Selected implementation | scrapecreators · Reddit — Subreddit Search |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Find community discussions: Narrow research to a selected community.
- Review cross-format results: Keep post, comment and media records distinct.
Returned Data
| Field | Meaning |
|---|---|
posts[] |
Post result records |
comments[].body |
Comment text |
comments[].post_id |
Associated post fullname |
comments[].url |
Comment source URL |
media[] |
Media result records |
cursor |
Continuation token |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit/search \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode 'query=push ups' \
--data-urlencode subreddit=AskReddit
Request and Response Examples
The request is a calling template, while reference output illustrates the response structure and can refer to different records. Check returned identities against your query.
Published Reddit Community Content Search API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
scrapecreatorsCurrent Reddit — Subreddit Search · GET · View API reference | $0.00188 / call | 0 | —successP50— |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit/search- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
subreddit | URL query parametersquery | string | Yes | Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL) |
query | URL query parametersquery | string | No | Search query to find matching content |
sort | URL query parametersquery | string | No | Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new enum: "relevance", "hot", "top", "new", "comments" |
timeframe | URL query parametersquery | string | No | Timeframe to filter results enum: "all", "year", "month", "week", "day", "hour" |
cursor | URL query parametersquery | string | No | Cursor to get more results. Get 'cursor' from previous response. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
commentsobject[]authorstringauthor_avatarnullauthor_nsfwbooleanbodystringbody_htmlstringcreated_atstringcreated_at_isostringidstringimagesunknown[]is_reply_to_commentbooleanparent_comment_idnullpermalinkstringpositionintegerpostobjectcreated_atstringcreated_at_isostringidstringnsfwbooleannum_commentsintegerpermalinkstringspoilerbooleantitlestringurlstringvotesinteger
post_idstringsubredditobjecticonstringidstringnamestringnsfwbooleanquarantinedboolean
urlstringvotesinteger
credits_chargedintegercredits_remainingintegercursorstringmediaobject[]aspect_rationumbergallery_countnullidstringimageobjectheightintegerresolutionsobject[]urlstringwidthinteger
srcstringwidthinteger
is_blurredbooleanmedia_typestringnsfwbooleanpermalinkstringpositionintegersafe_searchstringspoilerbooleansubredditobjectidstringnamestringnsfwbooleanquarantinedboolean
titlestringurlstringvideonull
postsobject[]created_atstringcreated_at_isostringidstringis_crosspostbooleannsfwbooleannum_commentsintegerpermalinkstringpositionintegerpost_idstringrelative_positionintegerspoilerbooleansubredditobjectbannernulldescriptionstringiconstringidstringnamestringnsfwbooleanquarantinedbooleanweekly_contributionsintegerweekly_visitorsinteger
thumbnailnullthumbnail_blurredbooleantitlestringurlstringvotesinteger
successboolean
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 5
Review these request fields before running. Keep the published provider and request method unchanged.
subreddit- Subreddit name (e.g. 'Fitness', not 'r/Fitness' or a full URL)
query- Search query to find matching content
sort- Sort order. For posts/media: relevance, hot, top, new, comments. For comments: relevance, top, new
timeframe- Timeframe to filter results
cursor- Cursor to get more results. Get 'cursor' from previous response.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit/search?query=push+ups&subreddit=AskReddit' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "comments": [ { "author": "Philser23", "author_avatar": null, "author_nsfw": false, "body": "On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym. I was so excited since none of my partners ever shared the fitness hobby with me.", "body_html": "<p>On the 30th my girlfriend out of the blue decided her new year's resolution would be to start going to the gym...</p>", "created_at": "2026-01-03T11:26:02.434000+0000", "created_at_iso": "2026-01-03T11:26:02.434Z", "id": "t1_nxf7p27", "images": [], "is_reply_to_comment": false, "parent_comment_id": null, "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/", "position": 0, "post": { "created_at": "2026-01-03T08:15:49.709000+0000", "created_at_iso": "2026-01-03T08:15:49.709Z", "id": "t3_1q2p898", "nsfw": false, "num_comments": 80, "permalink": "/r/Fitness/comments/1q2p898/gym_story_saturday/", "spoiler": false, "title": "Gym Story Saturday", "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/", "votes": 67 }, "post_id": "t3_1q2p898", "subreddit": { "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png", "id": "t5_2qhx4", "name": "Fitness", "nsfw": false, "quarantined": false }, "url": "https://www.reddit.com/r/Fitness/comments/1q2p898/gym_story_saturday/nxf7p27/", "votes": 123 } ], "credits_charged": 1, "credits_remaining": 1000000, "cursor": "eyJjYW5kaWRhdGVzX3JldHVybmVkIjoie1wic2VjdGlvbl8xX3BpcGVsaW5lXzBfZ2xvYmFsX21vZGlmaWVyc1wiOlwiM1wiLFwic2VjdGlvbl8xX3BpcGVsaW5lXzFfbG9jYWxfbW9kaWZpZXJzXCI6XCIzXCIsXCJzZWN0aW9uXzJfcGlwZWxpbmVfNl9zY29wZV9zd2l0Y2hlclwiOlwiMFwiLFwic2VjdGlvbl8yX3BpcGVsaW5lXzdfcG9zdF9zZWFyY2hcIjpcIjdcIn0ifQ==", "media": [ { "aspect_ratio": 1.3333333333333333, "gallery_count": null, "id": "t3_geo4x", "image": { "height": 360, "resolutions": [ { "url": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?width=320&crop=smart&format=pjpg&auto=webp&s=144ac4171a1862e5d91d8dd90d44271e22a8273d", "width": 320 } ], "src": "https://external-preview.redd.it/X6lz5yGIzqVA5LcI9w-FsQJJHhXoCugDhsXgWW3I404.jpg?format=pjpg&auto=webp&s=46814b0a707a532e39e6c20851ddc1fefb0a111f", "width": 480 }, "is_blurred": false, "media_type": "image", "nsfw": false, "permalink": "/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/", "position": 0, "safe_search": "UNAVAILABLE", "spoiler": false, "subreddit": { "id": "t5_2qhx4", "name": "Fitness", "nsfw": false, "quarantined": false }, "title": "Bodyweight training for really strong people. See on you're own what I mean with strong. (Not me)", "url": "https://www.reddit.com/r/Fitness/comments/geo4x/bodyweight_training_for_really_strong_people_see/", "video": null } ], "posts": [ { "created_at": "2018-05-03T01:09:17.620000+0000", "created_at_iso": "2018-05-03T01:09:17.620Z", "id": "t3_8gmjrb", "is_crosspost": false, "nsfw": false, "num_comments": 582, "permalink": "/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/", "position": 0, "post_id": "t3_8gmjrb", "relative_position": 0, "spoiler": false, "subreddit": { "banner": null, "description": "A place for the pursuit of physical fitness goals.\n\nPlease see the r/Fitness Wiki and FAQ at https://thefitness.wiki for help with common questions.", "icon": "https://b.thumbs.redditmedia.com/Ted4KOMuRbaCYlDS55cTqjpVVZ2ENHKtYFbBFjI1i2o.png", "id": "t5_2qhx4", "name": "Fitness", "nsfw": false, "quarantined": false, "weekly_contributions": 1827, "weekly_visitors": 898726 }, "thumbnail": null, "thumbnail_blurred": false, "title": "Is doing 50-100 pushups a day doing anything?", "url": "https://www.reddit.com/r/Fitness/comments/8gmjrb/is_doing_50100_pushups_a_day_doing_anything/", "votes": 1414 } ], "success": true }