Toronto Star API endpoint
Returns public Toronto Star article metadata and the body paragraphs shown to an anonymous reader from a canonical article URL. The Star meters its articles, so paywalled is true and paragraphs holds only the public teaser (typically the first two paragraphs) whenever the page hides the rest from non-subscribers.
/torontostar/articleQuery parameter: url is a canonical HTTPS Toronto Star article URL on thestar.com whose path ends in /article_<uuid>.html, e.g. https://www.thestar.com/news/gta/court-set-to-hear-from-victims-families-in-case-of-international-poison-seller-kenneth-law/article_e760a06a-60da-49b6-ae00-fe14e1b5eb5b.html. Section pages, author pages, and other hosts return an invalid-params error.
The endpoint returns public metadata (title, description, published_at, updated_at, section, authors, image_url) and the body paragraphs an anonymous reader is shown. The Toronto Star meters its articles: in every sample checked on 2026-09-25 (10 of 10, staff and wire stories alike) an anonymous visit shows only the first two paragraphs and the rest is hidden until a subscriber signs in, so paywalled is true and paragraphs is that public teaser only. The hidden text is deliberately not returned. An article page with no hidden members-only blocks returns its whole body with paywalled omitted. Captions, inline related-content boxes and ad regions are never included in paragraphs. section is the page's own section path such as news/gta.
Example response (truncated):
{"code":200,"data":{"url":"https://www.thestar.com/news/gta/court-set-to-hear-from-victims-families-in-case-of-international-poison-seller-kenneth-law/article_e760a06a-60da-49b6-ae00-fe14e1b5eb5b.html","title":"Suicide victims' families confront Ontario poison seller Kenneth Law","description":"You may one day regain your freedom, Mr. Law, but you will never erase the consequences of what you did.","published_at":"2026-09-23T22:25:00Z","updated_at":"2026-09-24T13:02:54Z","section":"news/gta","authors":["Omar Mosleh"],"image_url":"https://bloximages.chicago2.vip.townnews.com/thestar.com/content/tncms/assets/v3/editorial/6/0e/60ef5444-6688-51c1-aa88-b8f0ce5876c4/6ab44ef5a9967.image.jpg","paywalled":true,"paragraphs":["Leonardo Bedoya Forero strives to cling to joyous memories of his daughter, Jeshennia Bedoya-Lopez. The celebrations, the milestones, the ordinary days.","But no matter how hard he tries, there's an image he can't escape."]}}
| Field | In the sample | Value in the sample |
|---|---|---|
| url | Has a value | thestar.com |
| title | Has a value | 136 characters |
| description | Has a value | 106 characters |
| published_at | Has a value | 2026-09-23 |
| updated_at | Has a value | 2026-10-05 |
| section | Has a value | “news/gta” |
| authors | Has a value | 1 entry |
| image_url | Has a value | bloximages.chicago2.vip.townnews.com |
| paywalled | Has a value | true |
| paragraphs | Has a value | 2 entries |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Canonical Toronto Star article URL | https://www.thestar.com/news/gta/court-set-to-hear-from-victims-families-in-case-of-international-poison-seller-kenneth-law/article_e760a06a-60da-49b6-ae00-fe14e1b5eb5b.html | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/torontostar/article?url=https%3A%2F%2Fwww.thestar.com%2Fnews%2Fgta%2Fcourt-set-to-hear-from-victims-families-in-case-of-international-poison-seller-kenneth-law%2Farticle_e760a06a-60da-49b6-ae00-fe14e1b5eb5b.html" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"url": "https://www.thestar.com/news/gta/court-set-to-hear-from-victims-families-in-case-of-international-poison-seller-kenneth-law/article_e760a06a-60da-49b6-ae00-fe14e1b5eb5b.html",
"title": "Suicide victims' families confront Ontario poison seller Kenneth Law",
"description": "You may one day regain your freedom, Mr. Law, but you will never erase the consequences of what you did.",
"published_at": "2026-09-23T22:25:00Z",
"updated_at": "2026-09-24T13:02:54Z",
"section": "news/gta",
"authors": [
"Omar Mosleh"
],
"image_url": "https://bloximages.chicago2.vip.townnews.com/thestar.com/content/tncms/assets/v3/editorial/6/0e/60ef5444-6688-51c1-aa88-b8f0ce5876c4/6ab44ef5a9967.image.jpg",
"paywalled": true,
"paragraphs": [
"Leonardo Bedoya Forero strives to cling to joyous memories of his daughter, Jeshennia Bedoya-Lopez. The celebrations, the milestones, the ordinary days.",
"But no matter how hard he tries, there's an image he can't escape."
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.articleResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | newsplatform.ArticleResponse | No | ||||
| data.authors | array | No | ||||
| data.description | string | No | ||||
| data.image_url | string | No | ||||
| data.paragraphs | array | No | ||||
| data.paywalled | boolean | No | Paywalled is true when the publisher serves only a teaser of this article to anonymous readers, so Paragraphs is a partial body rather than the full text. It is omitted when the full public body was returned. | |||
| data.published_at | string | No | ||||
| data.section | string | No | ||||
| data.title | string | No | ||||
| data.updated_at | 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/torontostar/article?url=https%3A%2F%2Fwww.thestar.com%2Fnews%2Fgta%2Fcourt-set-to-hear-from-victims-families-in-case-of-international-poison-seller-kenneth-law%2Farticle_e760a06a-60da-49b6-ae00-fe14e1b5eb5b.html" \
-H "x-api-key: $CRAWLORA_API_KEY"