The Star Malaysia API endpoint
Returns the current stories of one The Star (Malaysia) section page, usually 10 and up to 100 on column-style sections. `section` is required, for example `news-nation`, `latest-business`, `sport-badminton` or `latest-food`. Items have a title and URL, and when the page shows them a `type`, summary, byline, image and publication time. Older stories are not paginated.
/thestarmy/headlinesQuery parameter: section is required and must be one of news-latest, latest-nation, latest-business, latest-education, latest-aseanplus, latest-sport, latest-metro, latest-tech, latest-world, latest-lifestyle, latest-food, news-nation, news-world, news-environment, news-in-other-media, news-true-or-not, news-focus, aseanplus-aseanplus-news, business-insight, business-smebiz, business-premium, sport-athletics, sport-hockey, sport-football, sport-golf, sport-badminton, sport-tennis, sport-motorsport, sport-other-sport, sport-say-what, sport-archery, sport-basketball, sport-bowling, sport-boxing, sport-cricket, sport-cycling, sport-diving, sport-gymnastics, sport-others, sport-rugby, sport-shooting, sport-squash, sport-swimming, sport-wrestling, metro-metro-news, metro-community-sports, metro-views, lifestyle, lifestyle-entertainment-and-style, lifestyle-people-and-living, lifestyle-health-and-family, lifestyle-travel-and-culture, lifestyle-viewpoints, lifestyle-entertainment, lifestyle-living, lifestyle-style, lifestyle-people, lifestyle-health, lifestyle-family, lifestyle-travel, lifestyle-culture, lifestyle-design, lifestyle-science, lifestyle-wellness, lifestyle-fitness, lifestyle-mind, lifestyle-nutrition, lifestyle-animals, lifestyle-children, lifestyle-seniors, lifestyle-beauty, lifestyle-fashion, lifestyle-malaysia, lifestyle-global, lifestyle-asia-oceania, lifestyle-americas, lifestyle-europe, lifestyle-africa, lifestyle-arts, lifestyle-books, lifestyle-climate, lifestyle-movie-review, lifestyle-music-review, lifestyle-book-review, food, food-food-for-thought, food-food-news, food-eating-out, tech-tech-news, tech-tech-thoughts, education-news, opinion-columnists, opinion-letters, starpicks. Any other value returns an invalid-params error before The Star is contacted. Use /api/v1/thestarmy/sections to list each slug with its name and source page.
Returns the section page's current stories (usually 10, up to 100 on the column-style sections, capped at 100): title, canonical story URL, and when the page carries them type (the sub-section), summary, published_at (RFC 3339, Malaysia time +08:00), author (byline) and image_url. Section pages embed only their newest stories; older stories are not paginated. A page that returns no stories is reported as an upstream error rather than an empty list.
Example response (truncated):
{"code":200,"data":{"section":"news-nation","items":[{"title":"Enjoying mooncakes with the family","url":"https://www.thestar.com.my/news/nation/2026/09/25/enjoying-mooncakes-with-the-family","type":"Nation","summary":"GEORGE TOWN: For 12-year-old Jerrard Khor, the Mid-Autumn Festival brings the excitement of choosing colourful lanterns, enjoying mooncakes and getting ready for the celebrations.","published_at":"2026-09-25T07:00:00+08:00","image_url":"https://apicms.thestar.com.my/uploads/images/2026/09/25/4128101.jpg"}]}}
| Field | Filled in, of 10 checked | Values in the sample |
|---|---|---|
| title | 10 | median 69 characters |
| url | 10 | thestar.com.my |
| type | 10 | Nation in all 10 |
| summary | 10 | median 172 characters |
| published_at | 10 | 2026-10-13 |
| image_url | 3 | apicms.thestar.com.my |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| section | string | Yes | The Star (Malaysia) section slug Allowed values: news-latest, latest-nation, latest-business, latest-education, latest-aseanplus, latest-sport, latest-metro, latest-tech, latest-world, latest-lifestyle, latest-food, news-nation, news-world, news-environment, news-in-other-media, news-true-or-not, news-focus, aseanplus-aseanplus-news, business-insight, business-smebiz, business-premium, sport-athletics, sport-hockey, sport-football, sport-golf, sport-badminton, sport-tennis, sport-motorsport, sport-other-sport, sport-say-what, sport-archery, sport-basketball, sport-bowling, sport-boxing, sport-cricket, sport-cycling, sport-diving, sport-gymnastics, sport-others, sport-rugby, sport-shooting, sport-squash, sport-swimming, sport-wrestling, metro-metro-news, metro-community-sports, metro-views, lifestyle, lifestyle-entertainment-and-style, lifestyle-people-and-living, lifestyle-health-and-family, lifestyle-travel-and-culture, lifestyle-viewpoints, lifestyle-entertainment, lifestyle-living, lifestyle-style, lifestyle-people, lifestyle-health, lifestyle-family, lifestyle-travel, lifestyle-culture, lifestyle-design, lifestyle-science, lifestyle-wellness, lifestyle-fitness, lifestyle-mind, lifestyle-nutrition, lifestyle-animals, lifestyle-children, lifestyle-seniors, lifestyle-beauty, lifestyle-fashion, lifestyle-malaysia, lifestyle-global, lifestyle-asia-oceania, lifestyle-americas, lifestyle-europe, lifestyle-africa, lifestyle-arts, lifestyle-books, lifestyle-climate, lifestyle-movie-review, lifestyle-music-review, lifestyle-book-review, food, food-food-for-thought, food-food-news, food-eating-out, tech-tech-news, tech-tech-thoughts, education-news, opinion-columnists, opinion-letters, starpicks. | news-latest | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/thestarmy/headlines?section=news-latest" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"section": "news-nation",
"items": [
{
"title": "Enjoying mooncakes with the family",
"url": "https://www.thestar.com.my/news/nation/2026/09/25/enjoying-mooncakes-with-the-family",
"type": "Nation",
"summary": "GEORGE TOWN: For 12-year-old Jerrard Khor, the Mid-Autumn Festival brings the excitement of choosing colourful lanterns, enjoying mooncakes and getting ready for the celebrations.",
"published_at": "2026-09-25T07:00:00+08:00",
"image_url": "https://apicms.thestar.com.my/uploads/images/2026/09/25/4128101.jpg"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.headlinesResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | newsplatform.HeadlinesResponse | No | ||||
| data.items | array | No | HeadlineItem record, 7 fields: author, image_url, published_at, summary, title, type, url. Described under The Star (Malaysia) top stories API. | |||
| data.section | string | No |
| Status | Description | Schema |
|---|---|---|
| 400 | Bad Request | #/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/headlines?section=news-latest" \
-H "x-api-key: $CRAWLORA_API_KEY"