# Reddit — Subreddit Posts

Get Reddit Community Feed data via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no cookies required. Powered by ScrapeCreators, 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.

Documentation: https://openany.si/reddit/reddit-subreddit-posts-89e98708/3b0d4b6c-671d-45c3-a8fc-8735cda6d2ad/
API ID: 3b0d4b6c-671d-45c3-a8fc-8735cda6d2ad
Provider: scrapecreators
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/scrapecreators/v1/reddit/subreddit
Page update time: 2026-12-03T02:37:41.037Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.00188 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:37:36.809Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "1880",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## 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.

## 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 |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Reddit — Subreddit Posts request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "subreddit": {
          "type": "string",
          "description": "Subreddit name"
        },
        "timeframe": {
          "type": "string",
          "description": "Timeframe to get posts from",
          "enum": [
            "all",
            "day",
            "week",
            "month",
            "year"
          ]
        },
        "sort": {
          "type": "string",
          "description": "Sort order",
          "enum": [
            "best",
            "hot",
            "new",
            "top",
            "rising"
          ]
        },
        "after": {
          "type": "string",
          "description": "After to get more posts. Get 'after' from previous response."
        },
        "trim": {
          "type": "boolean",
          "description": "Set to true for a trimmed down version of the response"
        },
        "cache_max_age": {
          "type": "string",
          "description": "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": [
        "subreddit"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "after": {
      "type": "string"
    },
    "credits_charged": {
      "type": "integer"
    },
    "credits_remaining": {
      "type": "integer"
    },
    "posts": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "author": {
            "type": "string"
          },
          "author_fullname": {
            "type": "string"
          },
          "created": {
            "type": "integer"
          },
          "created_utc": {
            "type": "integer"
          },
          "downs": {
            "type": "integer"
          },
          "id": {
            "type": "string"
          },
          "is_video": {
            "type": "boolean"
          },
          "link_flair_text": {
            "type": "null"
          },
          "name": {
            "type": "string"
          },
          "num_comments": {
            "type": "integer"
          },
          "score": {
            "type": "integer"
          },
          "selftext": {
            "type": "string"
          },
          "selftext_html": {
            "type": "string"
          },
          "subreddit": {
            "type": "string"
          },
          "subreddit_subscribers": {
            "type": "integer"
          },
          "title": {
            "type": "string"
          },
          "total_awards_received": {
            "type": "integer"
          },
          "ups": {
            "type": "integer"
          },
          "upvote_ratio": {
            "type": "number"
          },
          "url": {
            "type": "string"
          }
        }
      }
    },
    "success": {
      "type": "boolean"
    }
  }
}
```

## Request example
Scenario: Official example
```bash
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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
}
```

## Error handling
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## 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.

## Available implementations
- scrapecreators: https://openany.si/reddit/reddit-subreddit-posts-89e98708/3b0d4b6c-671d-45c3-a8fc-8735cda6d2ad/
- tikhub: https://openany.si/reddit/reddit-subreddit-posts-89e98708/4663f4e8-e75a-4eec-84bb-634425f830bd/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
