Global News API endpoint
Returns the public Global News RSS section inventory used by the headlines endpoint, covering topical sections and every regional/city hub with its own feed.
/globalnews/sectionsReturns the public RSS section slugs accepted by globalnews-headlines: world, canada, politics, money, health, entertainment, environment, lifestyle, perspectives, sports, commentary, us-news, the-curator, national, barrie, bc, calgary, edmonton, guelph, halifax, hamilton, kingston, lethbridge, london, montreal, new-brunswick, okanagan, ottawa, peterborough, regina, saskatoon, toronto, winnipeg.
| Field | Filled in, of 33 checked | Values in the sample |
|---|---|---|
| slug | 33 | |
| name | 33 | “World” and 32 other values |
| url | 33 | globalnews.ca |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/globalnews/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "world",
"name": "World",
"url": "https://globalnews.ca/world/feed/"
}
]
}
}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/globalnews/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"