GhanaWeb API endpoint
Returns the article cards currently listed on one GhanaWeb section. `section` is required and takes one of 15 slugs such as `news`, `sports`, `crime`, `tabloid` or `regional`. Each item has its `title`, `url` and, when the card shows one, `image_url`. Summary, author and publication time are not returned.
/ghanaweb/headlinesQuery parameters:
section (required): one of news, sports, business, entertainment, africa, opinions, editorial, crime, regional, health, politics, tabloid, world, lifestyle, or features.Start from the checked request: GET /ghanaweb/headlines?section=news. Live check on 2026-10-14: 1 items returned. Fields present in every checked item: title, url.
Resolve a returned canonical story URL with Get GhanaWeb article content.
| Field | Filled in, of 1 checked | Values in the sample |
|---|---|---|
| title | 1 | median 45 characters |
| url | 1 | ghanaweb.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| section | string | Yes | Section slug from ghanaweb-sections Allowed values: news, sports, business, entertainment, africa, opinions, editorial, crime, regional, health, politics, tabloid, world, lifestyle, features. | news | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/ghanaweb/headlines?section=news" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"section": "news",
"items": [
{
"title": "Example GhanaWeb story",
"url": "https://www.ghanaweb.com/GhanaHomePage/NewsArchive/example-story-2054215",
"image_url": "https://cdn.ghanaweb.com/imagelib/pics/example.jpg"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.headlinesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | newsplatform.HeadlinesResponse | No | ||||
| data.items | array | No | HeadlineItem record, 7 fields: author, image_url, published_at, summary, title, type, url. Described under GhanaWeb latest news API. | |||
| data.section | string | No |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/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/headlines?section=news" \
-H "x-api-key: $CRAWLORA_API_KEY"