Nation Africa API endpoint
Returns the newest Nation Africa (Daily Nation, Kenya) stories from its public news sitemap: headline, publication time and lead image. If the sitemap returns 404, it falls back to the public News section hub, whose relative timestamps may omit publication time. Video pages are excluded.
/nationafrica/newsReturns the newest public Nation Africa (Daily Nation, Kenya) stories from the site's own news sitemap: title, canonical article URL, publication time and lead image. The list covers roughly the last two days across all sections (about 20 stories, newest first); use /api/v1/nationafrica/headlines for a single section. Video pages are left out. The site publishes no RSS feed, and this list carries no summary or byline; /api/v1/nationafrica/article returns those.
If the news sitemap returns 404, this endpoint falls back to the public News section hub. The hub response includes story-card fields and may omit published_at, because the page exposes relative timestamps rather than absolute publication times. A blocked or transient sitemap failure remains an upstream error and does not trigger this fallback.
| Field | Filled in, of 21 checked | Values in the sample |
|---|---|---|
| title | 21 | median 64 characters |
| url | 21 | nation.africa |
| published_at | 21 | 2026-10-13 |
| image_url | 21 | nation.africa |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/nationafrica/news" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"items": [
{
"title": "We must all fight political hooliganism",
"url": "https://nation.africa/kenya/blogs-opinion/blogs/-we-must-all-fight-political-hooliganism-5608008",
"published_at": "2026-09-24T21:00:00Z",
"image_url": "https://nation.africa/resource/blob/5559688/d2198bfaae339ffacb672e9ec2b92267/goons-vs-police-data.jpg"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.newsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | newsplatform.NewsResponse | No | ||||
| data.items | array | No | ||||
| data.items[].author | string | No | ||||
| data.items[].image_url | string | No | ||||
| data.items[].published_at | string | No | ||||
| data.items[].summary | string | No | ||||
| data.items[].title | string | No | ||||
| data.items[].type | string | No | ||||
| data.items[].url | string | No |
| Status | Description | Schema |
|---|---|---|
| 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/nationafrica/news" \
-H "x-api-key: $CRAWLORA_API_KEY"