v1

latestOpenAPI 3.1.02026-07-13305453.8 KB
Categories

Get category

Get a single category by ID or slug

get/v1/categories/{identifier}

Path parameters

identifierstring required

Category ID or slug

Example:technology

Category ID or slug

Response

The requested category

Example response

{
  "category": {
    "id": "cryitfjp2345kl05weoybfk9",
    "name": "Technology",
    "slug": "technology",
    "description": "Tech news and tutorials",
    "count": {
      "posts": 15
    }
  }
}