National Post API endpoint
Lists the 45 National Post section slugs accepted by `nationalpost-headlines`, such as `canada`, `opinion`, `hockey` and `gift-guide`, each with its display `name` and category page `url`. Links that leave nationalpost.com (Financial Post, Driving.ca, puzzles, classifieds, e-paper) and the paid Sponsored categories are not included.
/nationalpost/sectionsReturns the complete public section inventory accepted by /api/v1/nationalpost/headlines: the 45 internal category links of nationalpost.com's own primary menu (verified live 2026-09-25): canada, true-crime, politics, health, world, israel-middle-east, opinion, longreads, modern-life, food, horoscopes, style-beauty, travel, travel-canada, travel-usa, travel-international, travel-cruises, travel-guide, entertainment, books, celebrity, movies, music, theatre, television, business-essentials, shopping-essentials, buy-canadian, home-living, outdoor-living, kitchen-dining, tech, personal-care, entertainment-hobbies, gift-guide, deals, sports, hockey, baseball, basketball, football, soccer, golf, tennis, driving.
Each section includes a stable slug, display name, and public upstream url (the category page). Links that leave nationalpost.com (Financial Post, Driving.ca, puzzles, obituaries, classifieds, e-paper) and the paid Sponsored categories are not included.
| Field | Filled in, of 45 checked | Values in the sample |
|---|---|---|
| slug | 45 | |
| name | 45 | “Canada” and 44 other values |
| url | 45 | nationalpost.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/nationalpost/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "canada",
"name": "Canada",
"url": "https://nationalpost.com/category/news/canada/"
},
{
"slug": "opinion",
"name": "NP Comment",
"url": "https://nationalpost.com/category/opinion/"
}
]
}
}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/nationalpost/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"