Reddit Explore API - Browse Communities by Topic

Browse communities grouped by topic

Explore subreddits organized by topic/category. Returns a curated list of communities across different interests.

POST /explore Discover
https://api.fetchlayer.dev/reddit/explore
OpenAPI JSON

Headers

Authorization string required

Bearer token — your FetchLayer API key.

Parameters

topic string | null optional

Optional Reddit explore topic filter.

Response Fields

explore

Browse communities grouped by topic

requestedUrl string

The Reddit URL the request was for.

finalUrl string

Final URL after redirects.

listingType string

Always explore for a successful response.

sections[].heading string

Explore section heading.

sections[].items[].subreddit string | null

Subreddit name without the r/ prefix.

sections[].items[].subredditPrefixed string | null

Subreddit name with the r/ prefix.

sections[].items[].subredditId string | null

Reddit subreddit ID.

sections[].items[].title string | null

Community title.

sections[].items[].descriptionText string

Plain-text community description.

sections[].items[].iconUrl string | null

Community icon URL.

sections[].items[].url string | null

Absolute subreddit URL.

sections[].items[].weeklyVisitorsText string | null

Weekly visitors text displayed by Reddit.

allItems[].subreddit string | null

Subreddit name without the r/ prefix.

allItems[].subredditPrefixed string | null

Subreddit name with the r/ prefix.

allItems[].subredditId string | null

Reddit subreddit ID.

allItems[].title string | null

Community title.

allItems[].descriptionText string

Plain-text community description.

allItems[].iconUrl string | null

Community icon URL.

allItems[].url string | null

Absolute subreddit URL.

allItems[].weeklyVisitorsText string | null

Weekly visitors text displayed by Reddit.

totalItemCount number

Total number of communities in allItems.

topics[] string

Available explore topic filters.

scrapedAt string

ISO 8601 time the result was produced.

transport string

The data source: always the platform id, "reddit".

Request

curl -X POST "https://api.fetchlayer.dev/reddit/explore" \
  -H "Authorization: Bearer ss-your-key" \
  -H "Content-Type: application/json" \
  -d '{"topic":"technology"}'

Response

{
  "listingType": "explore",
  "sections": [
    {
      "heading": "Technology",
      "items": [
        {
          "subreddit": "programming",
          "subredditPrefixed": "r/programming",
          "subredditId": "t5_2fwo",
          "title": "Programming",
          "descriptionText": "Computer Programming",
          "url": "https://www.reddit.com/r/programming/"
        }
      ]
    }
  ],
  "allItems": [],
  "totalItemCount": 1,
  "topics": [
    "Technology"
  ],
  "transport": "reddit"
}
Product overview Reddit API: what it returns, pricing and use cases