Skip to main content
POST
/
api
/
reddit
/
search
/
subreddits
/reddit/search/subreddits
curl --request POST \
  --url https://api.anysite.io/api/reddit/search/subreddits \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": "<string>",
    "alias": "<string>",
    "url": "<string>",
    "@type": "@reddit_subreddit",
    "title": "<string>",
    "description": "<string>",
    "public_description": "<string>",
    "subscriber_count": 123,
    "image": "<string>",
    "banner": "<string>",
    "subreddit_type": "<string>",
    "lang": "<string>",
    "created_at": 123,
    "nsfw": false,
    "quarantined": false
  }
]

Documentation Index

Fetch the complete documentation index at: https://docs.anysite.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query

Minimum string length: 1
Example:

"bitcoin"

count
integer
required

Max result count

Required range: x >= 1
Example:

20

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
string
required
alias
string
required
url
string
required
@type
string
default:@reddit_subreddit
title
string | null
description
string | null
public_description
string | null
subscriber_count
integer | null
image
string | null
banner
string | null
subreddit_type
string | null
lang
string | null
created_at
integer | null
nsfw
boolean
default:false
quarantined
boolean
default:false