OpenAny
Get API keyAPI Key
APICommunityData

reddit logo
Reddit Community Feed API

Get Reddit Community Feed data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Compare 2 implementations (ScrapeCreators and TikHub), pass parameters such as subreddit, and retrieve structured data including post identifier, post title, author username, post score, and comment count to browse community content, and continue a research queue.

Selected price
$0.00188 / callPublished pricing
Sellers / APIs
2 / 2
Requests · 30d
0Selected implementation · last 30 days
Success rate · 30d
—No requests in this period
USE THIS API

Reddit Community Feed API

Prepare your request, then continue with your agent.

Selected price

$0.00188 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Reddit Community Feed API

Reddit Community Feed API

The default GET route requires subreddit and returns posts with a top-level after token. The app route instead uses subreddit_name and its own sort and payload conventions.

Quick Facts

Fact Value
Access OpenAny REST
Authentication OpenAny API key in the Authorization header
Core inputs Required query: subreddit. Optional sort (best/hot/new/top/rising), timeframe (all/day/week/month/year), after, trim and cache_max_age.
Selected implementation scrapecreators · Reddit — Subreddit Posts
Billing See the pricing area for the selected implementation and request options

What You Can Build

  • Browse community content: Collect post records with source links.
  • Continue a research queue: Keep request settings stable while paging.

Returned Data

Field Meaning
posts[].id Post identifier
posts[].title Post title
posts[].author Author username
posts[].score Post score
posts[].num_comments Comment count
posts[].selftext Post text when available
after Next-page token

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
curl --request GET --get \
  https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit \
  -H "Authorization: Bearer ${OPENANY_API_KEY}" \
  --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 Feed 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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Subreddit name
Optional parameters (5)
Timeframe to get posts from
Sort order
After to get more posts. Get 'after' from previous response.
Set to true for a trimmed down version of the response
If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Current
Reddit — Subreddit Posts · GET · View API reference
$0.00188 / call0
—successP50—
Fetch Reddit APP Subreddit Feed · GET · View API reference
$0.001 / call—Select to load statistics
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · scrapecreatorsUSD / call
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.

calls

Total $0.188

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
subredditURL query parametersquerystringYes

Subreddit name

timeframeURL query parametersquerystringNo

Timeframe to get posts from

enum: "all", "day", "week", "month", "year"

sortURL query parametersquerystringNo

Sort order

enum: "best", "hot", "new", "top", "rising"

afterURL query parametersquerystringNo

After to get more posts. Get 'after' from previous response.

trimURL query parametersquerybooleanNo

Set to true for a trimmed down version of the response

cache_max_ageURL query parametersquerystringNo

If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)

enum: "1d", "3d", "7d", "14d", "30d"

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • afterstring
  • credits_chargedinteger
  • credits_remaininginteger
  • postsobject[]
    • authorstring
    • author_fullnamestring
    • createdinteger
    • created_utcinteger
    • downsinteger
    • idstring
    • is_videoboolean
    • link_flair_textnull
    • namestring
    • num_commentsinteger
    • scoreinteger
    • selftextstring
    • selftext_htmlstring
    • subredditstring
    • subreddit_subscribersinteger
    • titlestring
    • total_awards_receivedinteger
    • upsinteger
    • upvote_rationumber
    • urlstring
  • successboolean

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 6

    Review these request fields before running. Keep the published provider and request method unchanged.

    subreddit
    Subreddit name
    timeframe
    Timeframe to get posts from
    sort
    Sort order
    after
    After to get more posts. Get 'after' from previous response.
    trim
    Set to true for a trimmed down version of the response
    cache_max_age
    If we have a response in the cache that is this many days old or newer, return the cached response (0 credits, with "cached": true and a "cached_at" timestamp). Otherwise, scrape a live result (1 credit). [See the Caching page for details.](https://docs.scrapecreators.com/caching)
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit?subreddit=AskReddit' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "after": "t3_1lfogps",
      "credits_charged": 1,
      "credits_remaining": 1000000,
      "posts": [
        {
          "author": "Vetro_Nodulare2",
          "author_fullname": "t2_16syu27ar1",
          "created": 1750341959,
          "created_utc": 1750341959,
          "downs": 0,
          "id": "1lfbo7u",
          "is_video": false,
          "link_flair_text": null,
          "name": "t3_1lfbo7u",
          "num_comments": 349,
          "score": 45,
          "selftext": "",
          "selftext_html": "",
          "subreddit": "AskReddit",
          "subreddit_subscribers": 56146328,
          "title": "What is a thing you love that lots of people hate?",
          "total_awards_received": 0,
          "ups": 45,
          "upvote_ratio": 0.9,
          "url": "https://www.reddit.com/r/AskReddit/comments/1lfbo7u/what_is_a_thing_you_love_that_lots_of_people_hate/"
        }
      ],
      "success": true
    }

Common questions

How do I retrieve the next page?

For the default implementation, pass returned after as after and preserve the community and filters.

Which sort values are supported?

The default uses lowercase best, hot, new, top and rising. The app route has a different uppercase enum.

Does timeframe accept hour?

The default contract lists all, day, week, month and year; do not add an upstream value absent here.

Does trim preserve the full raw response?

trim=true requests a reduced response. Use the returned layout appropriate to the selected setting.

Does supplier caching remove the OpenAny charge?

Do not infer that from supplier-credit wording; consult the selected OpenAny price.

Can I use subreddit in both implementations?

The default uses subreddit; the app implementation requires subreddit_name. Remap the request when switching.

Use Reddit Community Feed API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.