Dawn API endpoint
Returns the complete public Dawn section inventory (Pakistan provinces, World, Business, Sport, Opinion, Technology, Newspaper, Magazines, and Prism) accepted by /dawn/headlines.
/dawn/sectionsReturns the complete public Dawn section inventory accepted by /api/v1/dawn/headlines: Pakistan (plus its five province sub-feeds), World (plus South Asia), Business (plus Business & Finance), Sport (plus Cricket), Opinion, Technology, Newspaper, Magazines, and Prism.
Each section includes a stable slug, display name, and public upstream url.
| Field | Filled in, of 17 checked | Values in the sample |
|---|---|---|
| slug | 17 | |
| name | 17 | “Pakistan” and 16 other values |
| url | 17 | dawn.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/dawn/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "business",
"name": "Business",
"url": "https://www.dawn.com/feeds/business"
},
{
"slug": "pakistan-punjab",
"name": "Pakistan: Punjab",
"url": "https://www.dawn.com/feeds/pakistan/punjab"
}
]
}
}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/dawn/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"