GhanaWeb API endpoint
Returns public article metadata and readable body paragraphs. GhanaWeb's JSON-LD identifies the publisher rather than person authors, so authors are omitted.
/ghanaweb/articleReturns public article metadata and readable body paragraphs. GhanaWeb's article metadata identifies the publisher, not individual bylines, so the response omits person authors.
Query parameters:
url (required): an HTTPS canonical GhanaWeb story URL ending in its numeric story ID. The URL must use an article section path; TV and archive-browser URLs are rejected.Start from the checked request: GET /ghanaweb/article?url=https%3A%2F%2Fwww.ghanaweb.com%2FGhanaHomePage%2Fbusiness%2FVice-President-urges-diaspora-to-invest-in-Ghana-s-industrialisation-drive-2054228. Live check on 2026-10-14: one record. Fields present in every checked record: url, title, description, published_at, updated_at, section, image_url, paragraphs.
Return to section story discovery with Get GhanaWeb section headlines.
| Field | In the sample | Value in the sample |
|---|---|---|
| url | Has a value | ghanaweb.com |
| title | Has a value | 74 characters |
| description | Has a value | 177 characters |
| published_at | Has a value | 2026-09-28 |
| updated_at | Has a value | 2026-09-28 |
| section | Has a value | “Business” |
| image_url | Has a value | cdn.ghanaweb.com |
| paragraphs | Has a value | 14 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Canonical GhanaWeb article URL ending in its numeric story ID | https://www.ghanaweb.com/GhanaHomePage/business/Vice-President-urges-diaspora-to-invest-in-Ghana-s-industrialisation-drive-2054228 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/ghanaweb/article?url=https%3A%2F%2Fwww.ghanaweb.com%2FGhanaHomePage%2Fbusiness%2FVice-President-urges-diaspora-to-invest-in-Ghana-s-industrialisation-drive-2054228" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"url": "https://www.ghanaweb.com/GhanaHomePage/business/example-story-2054228",
"title": "Example GhanaWeb story",
"section": "Business",
"paragraphs": [
"First story paragraph.",
"Second story paragraph."
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.articleResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | newsplatform.ArticleResponse | No | ||||
| data.authors | array | No | ||||
| data.description | string | No | ||||
| data.image_url | string | No | ||||
| data.paragraphs | array | No | ||||
| data.paywalled | boolean | No | Paywalled is true when the publisher serves only a teaser of this article to anonymous readers, so Paragraphs is a partial body rather than the full text. It is omitted when the full public body was returned. | |||
| data.published_at | string | No | ||||
| data.section | string | No | ||||
| data.title | string | No | ||||
| data.updated_at | string | No | ||||
| data.url | 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/article?url=https%3A%2F%2Fwww.ghanaweb.com%2FGhanaHomePage%2Fbusiness%2FVice-President-urges-diaspora-to-invest-in-Ghana-s-industrialisation-drive-2054228" \
-H "x-api-key: $CRAWLORA_API_KEY"