Skip to main content
POST
/
v1
/
reddit
/
subreddits
/
batch
Get subreddits in batch
curl --request POST \
  --url https://api.konbiniapi.com/v1/reddit/subreddits/batch \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "entityIds": [
    "2qh3l",
    "2qh0u"
  ]
}
'
{
  "data": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "type": "Collection",
    "itemCount": 10,
    "items": [
      {
        "id": "https://www.reddit.com/r/programming/",
        "url": "https://www.reddit.com/r/programming/",
        "name": "programming",
        "entityId": "2fwo",
        "slug": "programming",
        "summary": "Subreddit dedicated to the news and discussions about the creation and use of technology and its surrounding issues.",
        "description": "/r/technology is a place to share and discuss the latest developments, happenings and curiosities in the world of technology.",
        "guidelines": "Please read the /r/technology sidebar for a list of our rules and guidelines.",
        "published": "2008-01-24T17:36:07.000Z",
        "isAdult": false,
        "isSearchable": true,
        "category": "Technology",
        "memberCount": 5000000,
        "icon": {
          "type": "Image",
          "url": "https://i.redd.it/post1.png",
          "width": 1200,
          "height": 675
        },
        "image": {
          "type": "Image",
          "url": "https://i.redd.it/post1.png",
          "width": 1200,
          "height": 675
        }
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.konbiniapi.com/llms.txt

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

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header as a Bearer token. Example: Authorization: Bearer <your-api-key>

Body

application/json
entityIds
string[]
required
Required array length: 1 - 100 elements
Pattern: ^(t5_)?[a-z0-9]+$/i
Example:
["2qh3l", "2qh0u"]

Response

Returns the found Reddit subreddits

data
object
required