The Daily Caller API endpoint
Lists the 22 Daily Caller section slugs that the headlines endpoint accepts, from `politics` and `world` to `opinion` and `video`, each with its `name` and section page `url`. Sponsored content is not offered. A few sections such as `satire`, `two-sides` and `video` publish rarely, so their newest items can be months old.
/dailycaller/sectionsReturns the section slugs accepted by dailycaller-headlines: politics, us, world, national-security, elections, business, energy, education, health, tech, media, entertainment, sports, guns-and-gear, investigative-group, opinion, analysis, two-sides, big-tent-ideas, patriots, satire, video.
Each entry's url is the public section page the headlines are read from. Sponsored content (featured-partner) is deliberately not offered. A few sections publish rarely (satire, two-sides, video), so their newest items can be months old.
| Field | Filled in, of 22 checked | Values in the sample |
|---|---|---|
| slug | 22 | |
| name | 22 | “Politics” and 21 other values |
| url | 22 | dailycaller.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/dailycaller/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "politics",
"name": "Politics",
"url": "https://dailycaller.com/section/politics/"
}
]
}
}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/dailycaller/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"