The Hindu API endpoint
Returns a The Hindu author's byline metadata, biography, contact/social links, and their most recent articles from a canonical author URL.
/thehindu/authorQuery parameters:
url (required): a canonical https://www.thehindu.com/profile/author/<slug>/ URL.articles is the author's own page's list of recent coverage only (the page renders no further pagination link, so no deeper pages are fetched). designation, image_url, biography, email, twitter_url, facebook_url, and linkedin_url reflect whatever the author's own profile carries -- not every profile has all of these; a staff/desk byline typically has only a name and a follow link, while a columnist profile may also carry a headshot, job title, and a full biography.
Example response (truncated):
{"code":200,"data":{"url":"https://www.thehindu.com/profile/author/devdutt-pattanaik-3563/","name":"DEVDUTT PATTANAIK","designation":"author, speaker and illustrator","image_url":"https://th-i.thgim.com/public/news/national/z23nex/article67764665.ece/alternates/SQUARE_100/Devdutt%20Pattanaik.JPG","email":"[email protected]","biography":["DEVDUTT PATTANAIK writes on mythology, which he defines as cultural truths revealed through stories, symbols and rituals."],"articles":[{"title":"Example headline","url":"https://www.thehindu.com/opinion/columns/example-column/article71467898.ece"}]}}
| Field | Filled in, of 14 checked | Values in the sample |
|---|---|---|
| title | 14 | median 56 characters |
| url | 14 | thehindu.com |
| image_url | 14 | th-i.thgim.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Canonical The Hindu author URL | https://www.thehindu.com/profile/author/devdutt-pattanaik-3563/ | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/thehindu/author?url=https%3A%2F%2Fwww.thehindu.com%2Fprofile%2Fauthor%2Fdevdutt-pattanaik-3563%2F" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"url": "https://www.thehindu.com/profile/author/devdutt-pattanaik-3563/",
"name": "DEVDUTT PATTANAIK",
"designation": "author, speaker and illustrator",
"image_url": "https://th-i.thgim.com/public/news/national/z23nex/article67764665.ece/alternates/SQUARE_100/Devdutt%20Pattanaik.JPG",
"email": "[email protected]",
"biography": [
"DEVDUTT PATTANAIK writes on mythology, which he defines as cultural truths revealed through stories, symbols and rituals."
],
"articles": [
{
"title": "Example headline",
"url": "https://www.thehindu.com/opinion/columns/example-column/article71467898.ece"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.theHinduAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | thehindu.AuthorResponse | No | ||||
| data.articles | array | No | ||||
| data.articles[].author | string | No | ||||
| data.articles[].image_url | string | No | ||||
| data.articles[].published_at | string | No | ||||
| data.articles[].summary | string | No | ||||
| data.articles[].title | string | No | ||||
| data.articles[].type | string | No | ||||
| data.articles[].url | string | No | ||||
| data.biography | array | No | ||||
| data.designation | string | No | ||||
| data.email | string | No | ||||
| data.facebook_url | string | No | ||||
| data.image_url | string | No | ||||
| data.linkedin_url | string | No | ||||
| data.name | string | No | ||||
| data.twitter_url | 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/thehindu/author?url=https%3A%2F%2Fwww.thehindu.com%2Fprofile%2Fauthor%2Fdevdutt-pattanaik-3563%2F" \
-H "x-api-key: $CRAWLORA_API_KEY"