GhanaWeb API endpoint
Returns paginated canonical article URLs from one month sitemap. Discover accepted month values from ghanaweb-archive-months; the service only fetches child sitemap URLs derived from that official index.
/ghanaweb/archiveReturns paginated canonical article URLs from one month sitemap. The source sitemap lists URLs and modification times; it does not provide headlines. Discover accepted month values from ghanaweb-archive-months. The service only fetches a child sitemap derived from the official index.
Query parameters:
month (required): a YYYYMM value returned by /api/v1/ghanaweb/archive/months.page (optional): page number, default 1.limit (optional): items per page from 1 to 100, default 50.Start from the checked request: GET /ghanaweb/archive?limit=20&month=202609&page=1. Live check on 2026-10-14: 20 items returned. Fields present in every checked item: url, updated_at.
Resolve a returned canonical story URL with Get GhanaWeb article content.
| Field | Filled in, of 20 checked | Values in the sample |
|---|---|---|
| url | 20 | ghanaweb.com |
| updated_at | 20 | 2026-09-30 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| month | string | Yes | A YYYYMM value returned by ghanaweb-archive-months | 202609 | |
| page | integer | No | Page number (default 1) | ||
| limit | integer | No | Items per page, 1–100 (default 50) | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/ghanaweb/archive?month=202609&page=1&limit=10" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"month": "202609",
"page": 1,
"limit": 50,
"total": 3370,
"items": [
{
"url": "https://www.ghanaweb.com/GhanaHomePage/business/example-story-2054228",
"updated_at": "2026-09-28T17:55:54Z"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.ghanawebArchiveResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | ghanaweb.ArchiveResponse | No | ||||
| data.items | array | No | ||||
| data.items[].updated_at | string | No | ||||
| data.items[].url | string | No | ||||
| data.limit | integer | No | ||||
| data.month | string | No | ||||
| data.page | integer | No | ||||
| data.total | integer | No |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/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/ghanaweb/archive?month=202609&page=1&limit=10" \
-H "x-api-key: $CRAWLORA_API_KEY"