---
title: "Search Reddit Comments"
method: GET
path: "/v1/reddit/comments"
tags: ["Reddit"]
---

# Search Reddit Comments

`GET /v1/reddit/comments`

## Request

- Base URL: `https://apidirect.io`
- URL: `https://apidirect.io/v1/reddit/comments`
- Auth: API key in header `X-API-Key`

Search for Reddit comments by keyword across all subreddits, or in one subreddit. Returns comment text, the comment, post and parent IDs, a link to the comment, a link for the parent post, subreddit, author, comment upvotes, and parent post engagement metrics. Supports fetching multiple pages in a single API call (billed per page). AutoModerator comments are filtered out, and comments are matched against your query text, so a page can return fewer results than the page size. The url field points at the parent post and can be an off-site link when the post links to another domain. upvotes is null when the comment score is hidden, and post_upvotes / post_comments are null when the parent post's metrics are unavailable.

**Price:** $0.003 per page. **Free tier:** 50 requests/month.

## Query parameters

- `query` string, required
- `pages` integer
- `sort_by` 'most_recent' | 'relevance' | 'top'
- `subreddit` string
- `get_sentiment` boolean

## Response `200`

Successful response

- SearchRedditCommentsResponse: Inferred from a live response. Any field can be null or absent, and new fields may be added at any time.
  - `posts` object[], nullable
    - `comment_id` string, nullable
    - `post_id` string, nullable
    - `parent_id` string, nullable
    - `comment_url` string, nullable
    - `title` string, nullable
    - `url` string, nullable
    - `date` string, nullable
    - `author` string, nullable
    - `source` string, nullable
    - `domain` string, nullable
    - `subreddit` string, nullable
    - `snippet` string, nullable
    - `type` string, nullable
    - `upvotes` number, nullable
    - `post_upvotes` number, nullable
    - `post_comments` number, nullable
  - `pages` number, nullable
  - `count` number, nullable

## Other responses

- `400`: Bad request: missing or invalid parameters
- `401`: Unauthorized: invalid or missing API key
- `402`: Free tier used up for this endpoint and no payment method on file (`payment_required`).
- `403`: Account blocked after a failed payment (`account_blocked`).
- `429`: Rate limit exceeded or too many concurrent requests
- `500`: Internal server error
- `502`: Temporary failure retrieving Reddit data. Please retry shortly.
- `503`: Service temporarily unavailable. Please retry shortly.
- `504`: The request timed out

---

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