The Independent API endpoint
Returns one Independent author's profile by `slug` (for example `lizzie-dearden`) or `url`; exactly one is required. The response has name, job title, bio, X/Twitter handle and the author's recent articles with title, URL, section and section URL. It is a single page of articles with no further pagination.
/independent/authorQuery parameters:
slug (optional): an author slug, e.g. lizzie-dearden.url (optional): a canonical https://www.independent.co.uk/author/<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.
Example response (truncated):
{"code":200,"data":{"name":"Lizzie Dearden","slug":"lizzie-dearden","url":"https://www.independent.co.uk/author/lizzie-dearden","job_title":"Former Home Affairs Editor","bio":"Lizzie Dearden was The Independent's Home Affairs Editor until August 2023...","twitter":"https://twitter.com/lizziedearden","articles":[{"title":"Home Office body returns £1m funding for counterextremism work","url":"https://www.independent.co.uk/news/uk/home-news/terrorism-threat-extremism-budget-home-office-b2395559.html","section":"Home News","section_url":"https://www.independent.co.uk/news/uk/home-news"}]}}
| Field | Filled in, of 84 checked | Values in the sample |
|---|---|---|
| title | 84 | median 67 characters |
| url | 84 | independent.co.uk |
| section | 6 | |
| section_url | 6 | independent.co.uk |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| slug | string | No | Author slug, e.g. lizzie-dearden | lizzie-dearden | |
| url | string | No | Canonical independent.co.uk/author/<slug> URL; alternative to slug | https://www.independent.co.uk/author/lizzie-dearden | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/independent/author" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"name": "Lizzie Dearden",
"slug": "lizzie-dearden",
"url": "https://www.independent.co.uk/author/lizzie-dearden",
"job_title": "Former Home Affairs Editor",
"bio": "Lizzie Dearden was The Independent's Home Affairs Editor until August 2023...",
"twitter": "https://twitter.com/lizziedearden",
"articles": [
{
"title": "Home Office body returns £1m funding for counterextremism work",
"url": "https://www.independent.co.uk/news/uk/home-news/terrorism-threat-extremism-budget-home-office-b2395559.html",
"section": "Home News",
"section_url": "https://www.independent.co.uk/news/uk/home-news"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.independentAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | independent.AuthorResponse | No | ||||
| data.articles | array | No | ||||
| data.articles[].section | string | No | ||||
| data.articles[].section_url | string | No | ||||
| data.articles[].title | string | No | ||||
| data.articles[].url | string | No | ||||
| data.bio | 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/independent/author" \
-H "x-api-key: $CRAWLORA_API_KEY"