WalesOnline API endpoint
Returns public WalesOnline article metadata (including the section) and body paragraphs from a canonical article URL, including live blogs. Photo-gallery URLs are rejected.
/walesonline/articleQuery parameter: url is a canonical HTTPS WalesOnline article URL (a walesonline.co.uk path under /news/, /sport/, /whats-on/, /lifestyle/ or /special-features/ ending in the numeric article id). The endpoint returns public metadata (title, description, published_at, updated_at, section, authors, image_url) and the body paragraphs only. Live blogs are readable. Photo-gallery URLs (.../gallery/...) have no article body and return a 400 error. WalesOnline has no paywall: every sampled article returned its full body, and a blocked or unreadable page returns an upstream error rather than a partial body.
| Field | In the sample | Value in the sample |
|---|---|---|
| url | Has a value | walesonline.co.uk |
| title | Has a value | 95 characters |
| description | Has a value | 82 characters |
| published_at | Has a value | 2026-09-24 |
| updated_at | Has a value | 2026-09-25 |
| section | Has a value | “Latest Wales News” |
| authors | Has a value | 1 entry |
| image_url | Has a value | i2-prod.walesonline.co.uk |
| paragraphs | Has a value | 18 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Canonical WalesOnline article URL | https://www.walesonline.co.uk/news/wales-news/major-welsh-theatre-figure-who-34653727 | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/walesonline/article?url=https%3A%2F%2Fwww.walesonline.co.uk%2Fnews%2Fwales-news%2Fmajor-welsh-theatre-figure-who-34653727" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"url": "https://www.walesonline.co.uk/news/wales-news/major-welsh-theatre-figure-who-34653727",
"title": "Example article",
"section": "Latest Wales News",
"authors": [
"Example Reporter"
],
"published_at": "2026-09-24T21:27:20Z",
"paragraphs": [
"Example public 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 |
| 404 | Not Found | #/definitions/app.Response |
| 429 | Too Many Requests | #/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/walesonline/article?url=https%3A%2F%2Fwww.walesonline.co.uk%2Fnews%2Fwales-news%2Fmajor-welsh-theatre-figure-who-34653727" \
-H "x-api-key: $CRAWLORA_API_KEY"