Categories API
NewList Categories
List all available curated categories and live seasonal holiday word pools, optionally filtered by group.
GET/api/v1/categories
Requires API key
Returns metadata and word counts for all curated and seasonal categories, along with the list of available groups.
Query Parameters
| Name | Description |
|---|---|
group | stringOptional filter by group: topics, education, wordplay, or seasonal. |
Request
bash
curl "https://api.playanagrama.com/api/v1/categories?group=topics" \
-H "Authorization: Bearer ak_your_key_here"Response Fields
| Name | Description |
|---|---|
categories | object[]Matching category metadata entries. |
categories[].slug | stringURL-safe slug to pass to GET /api/v1/categories/:slug. |
categories[].name | stringDisplay name. |
categories[].group | stringtopics, education, wordplay, or seasonal. |
categories[].description | stringShort summary of the word list. |
categories[].wordCount | integerTotal words available in the category. |
categories[].source | stringcurated or seasonal. |
count | integerNumber of categories returned. |
groups | string[]All available group names. |
Response 200
JSON
{
"categories": [
{
"slug": "animals",
"name": "Animals",
"group": "topics",
"description": "Mammals, birds, reptiles, amphibians, and wildlife from around the world.",
"wordCount": 90,
"source": "curated"
},
{
"slug": "space",
"name": "Space & Astronomy",
"group": "topics",
"description": "Planets, stars, cosmic phenomena, and space exploration.",
"wordCount": 90,
"source": "curated"
}
],
"count": 20,
"groups": [
"topics",
"education",
"wordplay",
"seasonal"
]
}Was this page helpful?