The Star Malaysia API endpoint
Returns one The Star (Malaysia) byline's public author page: display name, the public byline email, and their most recent stories.
/thestarmy/authorReturns one The Star (Malaysia) byline's public author page: the display name, the public byline email the page prints (omitted when there is none), and the most recent stories the page lists.
Query parameters:
name (optional): the byline exactly as printed in a story's byline link, e.g. Ivan Loh. Matching is case-insensitive; 2 to 80 letters, spaces, dots, apostrophes or hyphens.url (optional): a canonical https://www.thestar.com.my/authors?q=<name> URL, as an alternative to name.Exactly one of name/url is required. The response covers the first page of the author's archive (the 10 most recent stories; no further pagination); each story has title, url, section, summary, published_at (RFC 3339, Malaysia time) and image_url where present. Only the teaser fields are returned: full story text is available through /api/v1/thestarmy/article, which honors The Star's paywall. A byline The Star has never printed returns a not-found error.
Example response (truncated):
{"code":200,"data":{"name":"Ivan Loh","url":"https://www.thestar.com.my/authors?q=IVAN+LOH","email":"[email protected]","articles":[{"title":"Man injured in three-storey fall at Ipoh's Raja Permaisuri Bainun Hospital","url":"https://www.thestar.com.my/news/nation/2026/09/24/man-injured-in-three-storey-fall-at-ipoh039s-raja-permaisuri-bainun-hospital","section":"Nation","published_at":"2026-09-24T21:06:00+08:00"}]}}
| Field | Filled in, of 10 checked | Values in the sample |
|---|---|---|
| title | 10 | median 72 characters |
| url | 10 | thestar.com.my |
| section | 10 | |
| summary | 10 | median 129 characters |
| published_at | 10 | 2026-10-05 to 2026-10-11 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| name | string | No | Byline name, matched case-insensitively, e.g. Ivan Loh | Ivan Loh | |
| url | string | No | Canonical thestar.com.my/authors?q=<name> URL; alternative to name | https://www.thestar.com.my/authors?q=IVAN+LOH | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/thestarmy/author" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"name": "Ivan Loh",
"url": "https://www.thestar.com.my/authors?q=IVAN+LOH",
"email": "[email protected]",
"articles": [
{
"title": "Man injured in three-storey fall at Ipoh's Raja Permaisuri Bainun Hospital",
"url": "https://www.thestar.com.my/news/nation/2026/09/24/man-injured-in-three-storey-fall-at-ipoh039s-raja-permaisuri-bainun-hospital",
"section": "Nation",
"published_at": "2026-09-24T21:06:00+08:00"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.thestarmyAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | thestarmy.AuthorResponse | No | ||||
| data.articles | array | No | ||||
| data.articles[].image_url | string | No | ||||
| data.articles[].published_at | string | No | ||||
| data.articles[].section | string | No | ||||
| data.articles[].summary | string | No | ||||
| data.articles[].title | string | No | ||||
| data.articles[].url | string | No | ||||
| data.email | string | No | ||||
| data.name | 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/thestarmy/author" \
-H "x-api-key: $CRAWLORA_API_KEY"