The Express Tribune API endpoint
Returns one page of story cards from a canonical public author archive. Page is 1-based; the publisher's Next link indicates another page.
/expresstribune/authorParameters:
url (required): canonical https://tribune.com.pk/author/<id>/<slug> author archive URL.page (optional): 1-based page number from the publisher's ?page= pagination; defaults to 1, maximum 1000.x-api-key header.Returns one page of public story cards, the author heading, and has_next_page from the publisher's Next link.
| Field | Filled in, of 10 checked | Values in the sample |
|---|---|---|
| title | 10 | median 78 characters |
| url | 10 | tribune.com.pk |
| summary | 10 | median 104 characters |
| author | 10 |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| url | string | Yes | Canonical author archive URL | https://tribune.com.pk/author/7803/web-desk-2 | |
| page | integer | No | 1-based page number Minimum: 1. Maximum: 1000. | ||
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/expresstribune/author?url=https%3A%2F%2Ftribune.com.pk%2Fauthor%2F7803%2Fweb-desk-2&page=1" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"name": "Web Desk",
"url": "https://tribune.com.pk/author/7803/web-desk-2",
"page": 1,
"has_next_page": true,
"articles": [
{
"title": "Example headline",
"url": "https://tribune.com.pk/story/12345/example-headline",
"summary": "Publisher teaser",
"author": "Web Desk"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.expresstribuneAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | expresstribune.AuthorResponse | No | ||||
| data.articles | 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.has_next_page | boolean | No | ||||
| data.name | string | No | ||||
| data.page | integer | 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/expresstribune/author?url=https%3A%2F%2Ftribune.com.pk%2Fauthor%2F7803%2Fweb-desk-2&page=1" \
-H "x-api-key: $CRAWLORA_API_KEY"