Daily Record API endpoint
Returns a Daily Record author profile, found by `slug` (for example `paul-hutcheon`) or by a canonical `url`; send exactly one of the two. The response has the name, job title, bio, email, X/Twitter link and recent articles with their label. Contact details the page does not list are simply absent.
/dailyrecord/authorQuery parameters:
slug (optional): an author slug, e.g. paul-hutcheon.url (optional): a canonical https://www.dailyrecord.co.uk/authors/<slug>/ URL, as an alternative to slug.Exactly one of slug/url is required. The response is a single page of the author's most recent articles as shown on their profile page; there is no further pagination. email and twitter reflect whatever contact links the author's page actually shows; unlisted contact details are simply absent, not an error.
Example response (truncated):
{"code":200,"data":{"name":"Paul Hutcheon","slug":"paul-hutcheon","url":"https://www.dailyrecord.co.uk/authors/paul-hutcheon/","job_title":"Political Editor, Daily Record","bio":"Paul joined the Daily Record in 2019. He has won Political Journalist of the Year seven times and been named Journalist of the Year on three occasions...","email":"[email protected]","twitter":"https://twitter.com/paulhutcheon","articles":[{"title":"Glasgow in critical £110m black hole fuelled by refugee homelessness crisis","url":"https://www.dailyrecord.co.uk/news/politics/glasgow-bust-110m-black-hole-37620501","label":"Glasgow City Council"}]}}
| Field | Filled in, of 24 checked | Values in the sample |
|---|---|---|
| title | 24 | median 79 characters |
| url | 24 | dailyrecord.co.uk |
| label | 24 | |
| label_url | 24 | dailyrecord.co.uk |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| slug | string | No | Author slug, e.g. paul-hutcheon | paul-hutcheon | |
| url | string | No | Canonical dailyrecord.co.uk/authors/<slug>/ URL; alternative to slug | https://www.dailyrecord.co.uk/authors/paul-hutcheon/ | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/dailyrecord/author" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"name": "Paul Hutcheon",
"slug": "paul-hutcheon",
"url": "https://www.dailyrecord.co.uk/authors/paul-hutcheon/",
"job_title": "Political Editor, Daily Record",
"bio": "Paul joined the Daily Record in 2019. He has won Political Journalist of the Year seven times and been named Journalist of the Year on three occasions...",
"email": "[email protected]",
"twitter": "https://twitter.com/paulhutcheon",
"articles": [
{
"title": "Glasgow in critical £110m black hole fuelled by refugee homelessness crisis",
"url": "https://www.dailyrecord.co.uk/news/politics/glasgow-bust-110m-black-hole-37620501",
"label": "Glasgow City Council"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.dailyRecordAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | dailyrecord.AuthorResponse | No | ||||
| data.articles | array | No | ||||
| data.articles[].label | string | No | ||||
| data.articles[].label_url | string | No | ||||
| data.articles[].title | string | No | ||||
| data.articles[].url | string | No | ||||
| data.bio | string | No | ||||
| data.email | string | No | ||||
| data.job_title | string | No | ||||
| data.name | string | No | ||||
| data.slug | string | No | ||||
| data.twitter | string | No | ||||
| data.url | string | No |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/definitions/app.Response |
| 404 | Not Found | #/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/dailyrecord/author" \
-H "x-api-key: $CRAWLORA_API_KEY"