---
title: "Search"
method: GET
path: "/v1/scrape/reddit/search"
tags: ["reddit"]
---

# Search

`GET /v1/scrape/reddit/search`

## Request

- Base URL: `https://api.sociavault.com`
- URL: `https://api.sociavault.com/v1/scrape/reddit/search`
- Auth: API key in header `X-API-Key`

Search Reddit for posts

## Query parameters

- `query` string, required
- `sort` 'relevance' | 'new' | 'top' | 'comment_count'
- `timeframe` 'all' | 'day' | 'week' | 'month' | 'year'
- `after` string
- `trim` boolean

## Response `200`

Successful response

## Other responses

- `400`: Bad Request - Invalid parameters or missing required fields
- `401`: Unauthorized - Invalid or missing API key
- `402`: Payment Required - Insufficient credits
- `500`: Internal Server Error - Service configuration or processing error

---

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