---
title: "Reddit API: Search Subreddits | Perceptlayer"
description: "Search Subreddits from Reddit as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/reddit/search-subreddits
---

[APIs](https://perceptlayer.com/apis) / [Reddit](https://perceptlayer.com/apis/reddit) / Search Subreddits

# Reddit: Search Subreddits

Search Subreddits from Reddit as JSON. 1 credit per successful call.

GET `/v1/reddit/search-subreddits`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `query` | string | Required | Up to 256 characters |
| `after` | string | Optional | Any |
| `limit` | integer | Optional | Any |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/reddit/search-subreddits?query=php&limit=10" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/reddit?try=search-subreddits#playground) with your own parameters. 1 credit per successful call; failed calls are free.
