KonbiniAPI

Get subreddits in batch — Reddit API

Returns up to 100 Reddit subreddits by ID in a single request. Costs 1 credit per ID submitted.

POST/v1/reddit/subreddits/batch1 credit per id submitted
Example response200OK
{
  "data": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "type": "Collection",
    "itemCount": 10,
    "items": [
      {
        "type": "Group",
        "id": "https://www.reddit.com/r/reddit/",
        "url": "https://www.reddit.com/r/reddit/",
        "entityId": "5s5qbl",
        "slug": "reddit",
        "name": "reddit ",
        "summary": "The most official Reddit community of all official Reddit communities. Your go-to place for Reddit updates, announcements, and news. Occasional frivolity.",
        "description": "Your go-to place for Reddit updates, announcements, and news from the admins.",
        "guidelines": "Remember the human. Read the rules before posting.",
        "published": "2022-02-01T21:37:21.000Z",
        "isAdult": false,
        "isSearchable": true,
        "category": "Reddit",
        "language": "en",
        "isArchived": false,
        "isQuarantined": false,
        "hasWiki": true,
        "access": "restricted",
        "allowedPosts": [
          "link"
        ],
        "allowedComments": [
          "video"
        ],
        "memberCount": 271679,
        "icon": {
          "type": "Image",
          "url": "https://external-preview.redd.it/WSqGR2511AQXIN172aycw9idD-3ENHc5hT_1a0M_2UQ.jpg?auto=webp&s=e4d15f89f1797d8111aeddd772534952d0adae50",
          "entityId": "nYKpDhp2hxECJAtPQcH3bEnaXSyk_O8cQKeLCmKEzyw",
          "width": 1536,
          "height": 528
        },
        "image": {
          "type": "Image",
          "url": "https://external-preview.redd.it/WSqGR2511AQXIN172aycw9idD-3ENHc5hT_1a0M_2UQ.jpg?auto=webp&s=e4d15f89f1797d8111aeddd772534952d0adae50",
          "entityId": "nYKpDhp2hxECJAtPQcH3bEnaXSyk_O8cQKeLCmKEzyw",
          "width": 1536,
          "height": 528
        }
      }
    ]
  }
}

Make the request.

One authenticated POST to /v1/reddit/subreddits/batch. Authentication and error conventions stay consistent across endpoints. This page shows the path, parameters, response shape, limits, and credit rule for this operation.

Built for

  • Bulk-enrich subreddit metadata for research dashboards
  • Compare community sizes and activity across dozens of subreddits
  • Seed a database with subreddit profiles in a single API call
const response = await fetch("https://api.konbiniapi.com/v1/reddit/subreddits/batch", {
  method: "POST",
  headers: {
    "Authorization": "Bearer YOUR_API_KEY",
    "Content-Type": "application/json"
  },
  body: JSON.stringify({
    "entityIds": [
      "5s5qbl",
      "2qh1i"
    ]
  })
});

const data = await response.json();
Parameters1
  • entityIdsrequiredIn · BodyType · string[]Up to 100 ids, with or without the t5_ prefix1–100 items

Try it on your own data.

Get a free API key and make this request in minutes. Failed and timed-out requests are automatically refunded.