GhanaWeb API endpoint
Lists the four GhanaWeb TV video categories accepted by `ghanaweb-videos`: `news`, `sports`, `business` and `entertainment`. Each entry has a `slug`, a display `name` and the category `url` on GhanaWeb. Takes no parameters.
/ghanaweb/video-sectionsReturns the complete four-value category set accepted by ghanaweb-videos: news, sports, business, and entertainment.
Query parameters: none.
Start from the checked request: GET /ghanaweb/video-sections. Live check on 2026-10-14: 4 sections returned. Fields present in every checked item: slug, name, url.
Use a returned video section with List GhanaWeb TV videos.
| Field | Filled in, of 4 checked | Values in the sample |
|---|---|---|
| slug | 4 | |
| name | 4 | “News” and 3 other values |
| url | 4 | 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/video-sections" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"sections": [
{
"slug": "news",
"name": "News",
"url": "https://www.ghanaweb.com/GhanaHomePage/television/news"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.ghanawebVideoSectionsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | ghanaweb.VideoSectionsResponse | 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/video-sections" \
-H "x-api-key: $CRAWLORA_API_KEY"