GlobeAndMail API endpoint
Lists every Globe and Mail section accepted by /globeandmail/headlines, with its slug, display name, and landing-page URL. This is the full public, RSS-backed section taxonomy from the site's primary navigation.
/globeandmail/sectionsReturns the Globe and Mail section slugs accepted by globeandmail-headlines: canada, world, business, investing, personal-finance, politics, opinion, culture, sports, life, real-estate, drive. These are The Globe and Mail's full public section taxonomy, live-verified against the primary navigation on theglobeandmail.com.
Utility/tool links in the primary navigation that are not article-listing sections (a stock watchlist, a personalized "For You" feed requiring an account, and an events calendar) are intentionally excluded.
| Field | Filled in, of 12 checked | Values in the sample |
|---|---|---|
| slug | 12 | |
| name | 12 | “Canada” and 11 other values |
| url | 12 | theglobeandmail.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/globeandmail/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"msg": "OK",
"data": {
"sections": [
{
"slug": "canada",
"name": "Canada",
"url": "https://www.theglobeandmail.com/canada/"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/globeandmail.sectionsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| code | integer | No | 200 | |||
| data | globeandmail.SectionsResponse | No | ||||
| data.sections | array | No | ||||
| data.sections[].name | string | No | ||||
| data.sections[].slug | string | No | ||||
| data.sections[].url | string | No | ||||
| msg | string | No | OK |
| Status | Description | Schema |
|---|---|---|
| 429 | Too Many Requests | #/definitions/app.Response |
| 503 | Service Unavailable | #/definitions/app.Response |
Use environment variables for secrets and keep Crawlora API keys server-side.
curl -X GET "https://api.crawlora.net/api/v1/globeandmail/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"