Reddit Subreddits Search Scraper API
Finds communities by topic. Returns up to 25 communities with the name, the subscriber count, the description, the icon, the NSFW flag and the community URL. The search surface publishes nothing else, so on a plain call author.joined_at, author.ext.weekly_active_users, author.ext.weekly_contributions, author.ext.rules_text and author.ext.language are null on every row. The subscriber count on a search row is the search index's own figure; the join never overwrites a value the row already carries.
GET /api/v1/data/reddit/subreddits-search · 1 credit per page · The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Inputs
query(required): Topic or keyword to find communities for.cursor: Leave it out for the first page. For the next page, send next_cursor from the previous answer.
What comes back
result_status(string): success, or not_available when the item does not exist, was removed or is not public.items[].author.avatar_url(string): URL to profile pictureitems[].author.bio(string): Profile biography or descriptionitems[].author.display_name(string): Display name or full nameitems[].author.ext.business_hours(array)items[].author.ext.is_nsfw(boolean): Whether the community is marked as adult. X communities only.items[].author.ext.language(string): The community's primary language tag, for example en. Reddit only.items[].author.ext.products(array): Null when it lists none.items[].author.ext.rules_text(string): The community rules as one newline separated text block. Reddit only.items[].author.ext.weekly_active_users(number): People active in the community in a week, as Reddit shows it. Not the subscriber count.items[].author.ext.weekly_contributions(number): Posts and comments made in the community in a week, as Reddit shows it.items[].author.followers(number): Follower or subscriber count as an integer. YouTube above 1,000 subscribers is YouTube's published three-significant-figure figure. When the integer is a published/rounded value, `author.ext.followers_approximate` is true.items[].author.id(string): Platform-specific user ID (always a string; platform-specific prefixes like `did:`, `spotify:artist:`, `t2_` are stripped)items[].author.joined_at(string): When the account was created, as an ISO 8601 date (YYYY-MM-DD).items[].author.url(string): Direct URL to the profile pageitems[].author.username(string): User handle or usernamenext_cursor(string): Send it as cursor to get the next page; null when there is none.has_more(boolean): Whether there is another page.source_data(object): Everything the platform sent for this call, as it came.
Good to know
- The price depends on what the call returns: from 1 credit to 26 credits.
- Each call returns one page of about 25 rows. To get the next page, send next_cursor from the answer as cursor.
- The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Example call
GET /api/v1/data/reddit/subreddits-search?query=machine+learning
Questions
How much does the Reddit Subreddits Search API cost?
Each page costs 1 to 26 credits, depending on what it returns. A call that finds nothing, or fails, costs nothing.
What do I send?
You must send query. Inputs go in the query string of a GET, or as JSON in a POST, along with your API key.
How do I get the next page?
Each call returns one page of about 25 rows. The answer carries next_cursor: send it back as cursor to get the page after. Each page is charged on its own, and an empty page is free.
How fresh is the data?
The same call repeated within 2 minutes may get the same answer, so data can be up to 2 minutes old.
Do I need a Reddit account or developer app?
No. You call SocialHz with your SocialHz API key, and the same key works for every platform.
Can I try it before paying?
Yes. Signing up gives you 10 free credits, with no card needed.
Related Reddit endpoints
- Subreddit: List Reddit subreddit posts. 1 credit a page
- Subreddit Details: Get Reddit subreddit details. 1 credit a call
- Subreddit Search: Search within a subreddit. 1 credit a page
More Reddit scraper APIs
- Reddit Post Scraper API
- Reddit Post Transcript Scraper API
- Reddit Profile Scraper API
- Reddit Profile Comments Scraper API
- Reddit Profile Posts Scraper API
- Reddit Search All Scraper API
- Reddit Search Media Scraper API
- Reddit Subreddit Scraper API
- Reddit Subreddit Details Scraper API
- Reddit Subreddit Search Scraper API