Reddit

Find communities by name or topic

Communities whose name or description matches the query, with member counts. Use it to find where a topic is discussed before reading or watching those communities. To search posts inside one community, use POST /v1/reddit/subreddits/{name}/search instead.

post/v1/reddit/search/subreddits

Request

  • Base URL: https://api.weirapp.io
  • URL: https://api.weirapp.io/v1/reddit/search/subreddits
  • Auth: HTTP bearer

Request body

querystring required

Words to match against community names and descriptions.

sort'relevance' | 'activity'

activity favours communities that are busy right now.

includeNsfwboolean

Include results marked NSFW. Off by default; what it removes is reported in meta.omittedNsfw.

limitinteger
cursorstring

meta.nextCursor from the previous page, unchanged. Opaque, signed, and bound to the other parameters: change any of them and start again without a cursor.

Example request

{
  "query": "indie hackers",
  "limit": 25
}

Response

Communities, in Reddit's own field names.

Changes

No recorded changes to this operation across all 1 revision of this API.