SignalShelf · Developer documentation

Reddit · search · loggedin

Reddit post search (logged-in). GET /v1/reddit/search/loggedin accepts your x-api-key header. Costs 4 credits per successful fresh call; failures and opt-in cache hits (cache_max_age) are free. Native path: GET /api/v1/web/reddit/search/loggedin. Same request parameters and JSON shape as the reference API, so you can switch by changing the base URL.

Request parameters

Search Reddit posts with a logged-in account. Returns title, author, subreddit, votes, comment count and time. Page with the returned cursor.

ParameterTypeRequiredDescription
querystringYesSearch text.
subredditstringNoOnly search inside this subreddit.
sortstringNorelevance (default), hot, top, new or comments. Allowed: relevance, hot, top, new, comments.
timeframestringNohour, day, week, month, year or all (default). Allowed: hour, day, week, month, year, all.
cursorstringNoCursor from a previous page.
freshnessstringNo24h (default), 1h, 7d, or live. Accepted cache hits are free; live forces refresh except simultaneous requests may share newly fetched data.

Code examples

Set SIGNALSHELF_BASE_URL (https://signalshelf.dev) and SIGNALSHELF_API_KEY on your server.

Replace the placeholder values with real ones before running.

REQUEST EXAMPLE
curl "$SIGNALSHELF_BASE_URL/v1/reddit/search/loggedin?query=query" \
  -H "x-api-key: $SIGNALSHELF_API_KEY"

Response

Returns success, credits_charged and credits_remaining, plus the fields of the source, in the same JSON shape as the reference API.

More results: cursor (Cursor from a previous page).

Errors and credits

Failed calls cost nothing. 400: invalid parameters. 401: missing or revoked key. 402: no credits left. 404: not found at the source. 429: rate limit. 502 or 503: the source blocked or failed the lookup; retry later.

Errors and limits

More Reddit endpoints

12 other Reddit endpoints use the same key and credits.

Reddit user posts loggedin Reddit user comments loggedin Reddit post transcript Reddit search Reddit subreddit search Reddit post
Explore the API in your workspace. Sample results and accepted cache hits cost zero credits. Open the playground →