The Express Tribune API endpoint
Returns headlines from one public RSS section. Some directory feeds are historical or infrequently updated; their publisher timestamps are preserved.
/expresstribune/headlinesParameters:
section (required): one of home, latest, analysis, politics, cricket, movies, health, style, pakistan, sindh, punjab, balochistan, khyber-pakhtunkhwa, jammu-kashmir, gilgit-baltistan, business, world, sports, technology, games, gadget, life-style, art-books, music, film, fashion, gossip, tv, theatre, entertainment, opinion, editorial, or blogs.x-api-key header.Returns current RSS items for that section. Historical or infrequently maintained feed items retain their publisher timestamps.
| Field | Filled in, of 38 checked | Values in the sample |
|---|---|---|
| title | 38 | median 50 characters |
| url | 38 | tribune.com.pk |
| summary | 38 | median 76 characters |
| published_at | 38 | “Tue, 13 Oct 26 14:41:29 +0500” and 36 other values |
| author | 37 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| section | string | Yes | The Express Tribune section slug Allowed values: home, latest, analysis, politics, cricket, movies, health, style, pakistan, sindh, punjab, balochistan, khyber-pakhtunkhwa, jammu-kashmir, gilgit-baltistan, business, world, sports, technology, games, gadget, life-style, art-books, music, film, fashion, gossip, tv, theatre, entertainment, opinion, editorial, blogs. | home | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/expresstribune/headlines?section=home" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"section": "pakistan",
"items": [
{
"title": "Example headline",
"url": "https://tribune.com.pk/story/12345/example-headline"
}
]
}
}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 Get The Express Tribune 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/expresstribune/headlines?section=home" \
-H "x-api-key: $CRAWLORA_API_KEY"