Toronto Star API endpoint
Returns fresh Toronto Star headlines from one public section page, with summary, publish time and image when the page shows them.
/torontostar/headlinesQuery parameter: section is required and must be one of news, news/gta, news/toronto-election, news/police/project-south, news/car-thefts, news/canada, news/ontario, news/canada/british-columbia, news/canada/alberta, news/canada/quebec, news/canada/nova-scotia, news/investigations, news/world, news/world/united-states, news/world/americas, news/world/europe, news/world/asia, news/world/africa, news/world/australia, news/world/middle-east, news/world/royals, politics, politics/federal, politics/provincial, politics/political-opinion, opinion, opinion/star-columnists, opinion/editorials, opinion/contributors, opinion/letters-to-the-editor, opinion/editorial-cartoons, life, life/relationships, life/food-and-drink, life/beauty-and-fashion, life/health-wellness, life/home-and-garden, life/autos, life/horoscopes, sports, sports/hockey, sports/hockey/pwhl, sports/basketball, sports/basketball/wnba, sports/baseball, sports/football, sports/football/cfl, sports/golf, sports/soccer, sports/tennis, sports/auto-racing, sports/cricket, sports/olympics-and-paralympics, real-estate, entertainment, entertainment/stage, entertainment/books, entertainment/music, entertainment/movies, entertainment/television, business, business/small-business, business/technology, business/mars, podcasts, podcasts/this-matters, podcasts/its-political, podcasts/billionaire-murders, podcasts/deep-left-field. Any other value returns an invalid-params error.
Headlines come from the section page's article cards, in page order, and carry a title and canonical article URL plus, when the card shows them, a summary, published_at and image_url. A section page can also surface promoted stories from other sections. Cards are not flagged by access level; most Toronto Star articles are metered, see the article endpoint.
| Field | Filled in, of 41 checked | Values in the sample |
|---|---|---|
| title | 41 | median 74 characters |
| url | 41 | thestar.com |
| summary | 1 | median 148 characters |
| image_url | 30 | bloximages.chicago2.vip.townnews.com |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| section | string | Yes | Toronto Star section path Allowed values: news, news/gta, news/toronto-election, news/police/project-south, news/car-thefts, news/canada, news/ontario, news/canada/british-columbia, news/canada/alberta, news/canada/quebec, news/canada/nova-scotia, news/investigations, news/world, news/world/united-states, news/world/americas, news/world/europe, news/world/asia, news/world/africa, news/world/australia, news/world/middle-east, news/world/royals, politics, politics/federal, politics/provincial, politics/political-opinion, opinion, opinion/star-columnists, opinion/editorials, opinion/contributors, opinion/letters-to-the-editor, opinion/editorial-cartoons, life, life/relationships, life/food-and-drink, life/beauty-and-fashion, life/health-wellness, life/home-and-garden, life/autos, life/horoscopes, sports, sports/hockey, sports/hockey/pwhl, sports/basketball, sports/basketball/wnba, sports/baseball, sports/football, sports/football/cfl, sports/golf, sports/soccer, sports/tennis, sports/auto-racing, sports/cricket, sports/olympics-and-paralympics, real-estate, entertainment, entertainment/stage, entertainment/books, entertainment/music, entertainment/movies, entertainment/television, business, business/small-business, business/technology, business/mars, podcasts, podcasts/this-matters, podcasts/its-political, podcasts/billionaire-murders, podcasts/deep-left-field. | news | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/torontostar/headlines?section=news" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"section": "business",
"items": [
{
"title": "Volkswagen delays production at Ontario electric vehicle battery plant until 2029",
"url": "https://www.thestar.com/business/volkswagen-delays-production-at-ontario-electric-vehicle-battery-plant-until-2029/article_ada3ab1e-58a4-5839-8e8f-8ea1e26def9d.html",
"summary": "SAINT THOMAS - The opening of a massive Volkswagen electric vehicle battery plant in southwestern Ontario has been pushed back two years until 2029.",
"published_at": "2026-09-24T20:25:20Z"
}
]
}
}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 Toronto Star 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/torontostar/headlines?section=news" \
-H "x-api-key: $CRAWLORA_API_KEY"