The Star Malaysia API endpoint
Returns the current top stories on The Star (Malaysia) home page. It takes no parameters. Each item has a title and canonical URL, plus a short section label in `type`, a summary and a byline when the page shows them. `published_at` is omitted here; the section headlines endpoint carries it.
/thestarmy/newsReturns the current top stories of thestar.com.my's public home page: title, canonical story URL, and when the home page shows them a short section label (type), summary and byline (author). Home-page cards carry no absolute publish time, so published_at is omitted here (use headlines on a section, which carries it).
Example response (truncated):
{"code":200,"data":{"items":[{"title":"ROS freeze could rattle PN prep","url":"https://www.thestar.com.my/news/nation/2026/09/25/ros-freeze-could-rattle-pn-prep","type":"Nation","summary":"PETALING JAYA: The Registrar of Societies' (ROS) suspension of Perikatan Nasional's activities could disrupt its preparations for the Melaka polls but PAS might be less affected."}]}}
| Field | Filled in, of 17 checked | Values in the sample |
|---|---|---|
| title | 17 | median 74 characters |
| url | 17 | thestar.com.my |
| type | 17 | Nation (13), Sabah & Sarawak (1), True Or Not (1) and 2 more |
| summary | 1 | median 151 characters |
| author | 10 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/thestarmy/news" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"items": [
{
"title": "ROS freeze could rattle PN prep",
"url": "https://www.thestar.com.my/news/nation/2026/09/25/ros-freeze-could-rattle-pn-prep",
"type": "Nation",
"summary": "PETALING JAYA: The Registrar of Societies' (ROS) suspension of Perikatan Nasional's activities could disrupt its preparations for the Melaka polls but PAS might be less affected."
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.newsResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | newsplatform.NewsResponse | No | ||||
| data.items | array | No | ||||
| data.items[].author | string | No | ||||
| data.items[].image_url | string | No | ||||
| data.items[].published_at | string | No | ||||
| data.items[].summary | string | No | ||||
| data.items[].title | string | No | ||||
| data.items[].type | string | No | ||||
| data.items[].url | string | No |
| Status | Description | Schema |
|---|---|---|
| 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/news" \
-H "x-api-key: $CRAWLORA_API_KEY"