GhanaWeb API endpoint
Lists the 15 article sections GhanaWeb accepts for `ghanaweb-headlines`, from `news` and `sports` to `tabloid`, `lifestyle` and `features`. Each entry has a `slug`, display `name` and section `url`. Video and other non-article areas are left out.
/ghanaweb/sectionsReturns all verified article-bearing sections accepted by ghanaweb-headlines. The set is news, sports, business, entertainment, africa, opinions, editorial, crime, regional, health, politics, tabloid, world, lifestyle, and features. Static, video, and other separate products are excluded.
Query parameters: none.
Start from the checked request: GET /ghanaweb/sections. Live check on 2026-10-14: 15 sections returned. Fields present in every checked item: slug, name, url.
Use a returned section value with Get GhanaWeb section headlines.
| Field | Filled in, of 15 checked | Values in the sample |
|---|---|---|
| slug | 15 | |
| name | 15 | “News” and 14 other values |
| url | 15 | ghanaweb.com |
| 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/sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "news",
"name": "News",
"url": "https://www.ghanaweb.com/GhanaHomePage/NewsArchive/"
}
]
}
}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/ghanaweb/sections" \
-H "x-api-key: $CRAWLORA_API_KEY"