---
title: "Reddit Scraper"
method: GET
path: "/v1/reddit/posts/{id}"
tags: ["reddit"]
---

# Reddit Scraper

`GET /v1/reddit/posts/{id}`

## Request

- Base URL: `https://chatterapi.com`
- URL: `https://chatterapi.com/v1/reddit/posts/{id}`
- Auth: HTTP bearer

Fetch one Reddit post by id or URL, with full body text, score, comment count, upvote ratio, flags and media. Costs 2 credits. Tip: to get the comments too, call reddit.thread instead (it includes the post). Costs 2 credits.

## Path parameters

- `id` string, required

## Response `200`

Success

- object
  - `data` RedditPost, required
    - `id` string, required
    - `fullname` string, required
    - `title` string, required
    - `body` string, required
    - `author` string, nullable, required
    - `subreddit` string, required
    - `permalink` string, required
    - `url` string, required
    - `externalUrl` string, nullable, required
    - `score` number, nullable, required
    - `numComments` number, nullable, required
    - `upvoteRatio` number, nullable, required
    - `createdAt` string, required: ISO 8601 UTC timestamp
    - `nsfw` boolean, required
    - `locked` boolean, nullable, required
    - `media` object, nullable, required
      - `type` 'image' | 'video' | 'gallery', required
      - `urls` string[], required
  - `credits` Credits, required
    - `charged` integer, required
    - `remaining` integer, required
  - `requestId` string, required
  - `cached` boolean, required
  - `warnings` Warning[]
    - `code` 'partial_data' | 'stale_data' | 'platform_unavailable' | 'source_unavailable', required
    - `platform` 'reddit' | 'x'
    - `source` string
    - `fields` string[]

## Other responses

- `400`: Bad request: invalid_input
- `401`: Unauthorized: missing_key, invalid_key, key_revoked
- `402`: Payment required: insufficient_credits
- `403`: Forbidden: account_suspended, scope_denied
- `404`: Not found: not_found
- `429`: Too many requests: rate_limited
- `500`: Internal error: internal
- `502`: Bad gateway: upstream_error
- `504`: Gateway timeout: upstream_timeout

---

[API](https://skmtc.dev/chatterapi/apis/chatterapi-api.md) · [All operations](https://skmtc.dev/chatterapi/apis/chatterapi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/chatterapi/apis/chatterapi-api/revisions/74036d6f908a?raw)
