The Independent API endpoint
Lists the 17 The Independent section slugs that the headlines endpoint accepts, from `news` and `news/uk` to `life-style`, `voices`, `money` and `bulletin`. Each entry has a `slug`, a display `name` and a `url`.
/independent/sectionsReturns the public RSS section slugs accepted by independent-headlines: news, news/uk, news/world, news/business, news/people, news/science, news/media, news/education, news/obituaries, environment, sport, arts-entertainment, life-style, travel, voices, money, bulletin.
| Field | Filled in, of 17 checked | Values in the sample |
|---|---|---|
| slug | 17 | |
| name | 17 | “News” and 16 other values |
| url | 17 | independent.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/independent/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "news",
"name": "News",
"url": "https://www.independent.co.uk/news/rss"
}
]
}
}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/independent/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"