Daily Express API endpoint
Lists the Daily Express sections that `dailyexpress-headlines` accepts, such as `news`, `uk`, `royal`, `sport` and `personal-finance`. Each entry has a stable `slug`, a display `name` and the section `url`. Takes no parameters.
/dailyexpress/sectionsReturns the complete public section inventory accepted by /api/v1/dailyexpress/headlines.
Each section includes a stable slug, display name, and public upstream url.
| Field | Filled in, of 29 checked | Values in the sample |
|---|---|---|
| slug | 29 | |
| name | 29 | “News” and 28 other values |
| url | 29 | express.co.uk |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/dailyexpress/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "example",
"name": "Example",
"url": "https://example.com/section"
}
]
}
}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/dailyexpress/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"