GhanaWeb API endpoint
Lists the `YYYYMM` months currently available in GhanaWeb's article archive, each with the time it was last updated. Use a returned month with the GhanaWeb archive endpoint; the set grows over time. It takes no parameters.
/ghanaweb/archive/monthsReturns every YYYYMM month currently advertised by GhanaWeb's official article-sitemap index. Use a returned month with ghanaweb-archive; the accepted set grows over time.
Query parameters: none.
Start from the checked request: GET /ghanaweb/archive/months. Live check on 2026-10-14: 180 months returned. Fields present in every checked item: month, updated_at.
Use a returned month value with List GhanaWeb archive article URLs.
| Field | Filled in, of 180 checked | Values in the sample |
|---|---|---|
| month | 180 | 201,009 to 202,610, median 201,802 |
| updated_at | 180 | 2010-09-30 to 2026-10-14 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/ghanaweb/archive/months" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"months": [
{
"month": "202609",
"updated_at": "2026-09-28T17:55:54Z"
},
{
"month": "202608",
"updated_at": "2026-08-31T23:32:59Z"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.ghanawebArchiveMonthsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | ghanaweb.ArchiveMonthsResponse | No | ||||
| data.months | array | No | ||||
| data.months[].month | string | No | ||||
| data.months[].updated_at | 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/ghanaweb/archive/months" \
-H "x-api-key: $CRAWLORA_API_KEY"