Daily Kos API endpoint
Lists the 24 Daily Kos categories accepted by `dailykos-headlines`, including nested slugs such as `news/elections` and `news/whitehouse`. Each entry has the `slug`, display `name` and category `url`. Dynamic tag archives are not part of this set.
/dailykos/sectionsReturns all 24 live-verified public WordPress categories accepted by dailykos-headlines: announcements, cartoon, daily-kos, partnerhub, news, news/business-and-economy, news/congress, news/courts, news/culture, news/elections, news/environment, news/health, news/immigration, news/justice, news/media, news/media-and-culture, news/national, news/science, news/series, news/stateandlocal, news/tech, news/videos, news/whitehouse, and news/world.
Each section includes the source category URL. Dynamic tag archives (more than 139,000 observed) are not part of this closed category set.
| Field | Filled in, of 24 checked | Values in the sample |
|---|---|---|
| slug | 24 | |
| name | 24 | “Announcements” and 23 other values |
| url | 24 | dailykos.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/dailykos/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "news/elections",
"name": "Elections",
"url": "https://www.dailykos.com/category/news/elections/"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.sectionsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | newsplatform.SectionsResponse | No | ||||
| data.sections | array | No | ||||
| data.sections[].name | string | No | ||||
| data.sections[].slug | string | No | ||||
| data.sections[].url | string | No |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/dailykos/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"