# Reddit Subreddits Search API (https://www.socialcrawl.dev/platforms/reddit/subreddits-search) > Finds communities by topic. Every other Reddit endpoint on this API needs you to already know the subreddit you want; this is the one that answers which communities discuss a subject. Returns up to 25 communities with the name, the subscriber count, the description, the icon, the NSFW flag and the community URL. `author.id` is the bare community name, which is exactly what `/v1/reddit/subreddit`, `/v1/reddit/subreddit/details` and `/v1/reddit/subreddit/search` take as their `subreddit` parameter, so a discovery call feeds a listing call with no re-mapping in between. The row is the same Author shape `/v1/reddit/subreddit/details` returns, so the fields that surface only there — the rules text, weekly active users, weekly contributions and the community language — are present as nulls rather than absent keys. Note the name: this is `subreddits/search` and it finds COMMUNITIES, where the singular `subreddit/search` searches posts INSIDE one community. Paginate with `cursor`. A query that matches nothing still returns communities rather than an empty list, which is Reddit's own search behaviour, so judge relevance on the rows. TL;DR: `GET /v1/reddit/subreddits/search` costs 1 credit per call and returns SocialCrawl's unified JSON schema. Single x-api-key auth, 100 free credits on signup. ## Parameters | Parameter | Required | Description | | --- | --- | --- | | `query` | yes | Topic or keyword to find communities for. | | `cursor` | no | Cursor to get more results. Get 'cursor' from the previous response. | ## Code example ```bash curl "https://www.socialcrawl.dev/v1/reddit/subreddits/search?query=machine%20learning" \ -H "x-api-key: sc_YOUR_API_KEY" ``` See the full Reddit API: https://www.socialcrawl.dev/platforms/reddit ## Pricing - Standard endpoints: 1 credit per call - Advanced endpoints: 5 credits per call - Premium endpoints: 10 credits per call - 100 free credits on signup, no credit card required. Cached responses cost 0 credits. Credit packs never expire. - Full pricing: https://www.socialcrawl.dev/pricing