Gulf News API endpoint
Returns a Gulf News author profile, identified by `slug` (such as `nathaniel-lacsina`) or by a canonical `gulfnews.com/author/<slug>` `url`; provide exactly one. The response has the name, job title, bio and the single page of recent articles on the profile, each with `title`, `url` and sometimes a `summary`. Unknown authors return not found.
/gulfnews/authorQuery parameters:
slug (optional): an author slug, e.g. nathaniel-lacsina. Some slugs carry a role suffix, e.g. shamseer-mohammed-staff-writer; use the slug from the author's byline link.url (optional): a canonical https://gulfnews.com/author/<slug> URL, as an alternative to slug.Exactly one of slug/url is required. The response is the single page of recent articles shown on the author's profile page (no further pagination); each article has title, url, and, when the card shows one, a summary. An unknown author returns a not-found error.
Example response (truncated):
{"code":200,"data":{"name":"Nathaniel Lacsina","slug":"nathaniel-lacsina","url":"https://gulfnews.com/author/nathaniel-lacsina","job_title":"Senior Web Editor","bio":"Nathaniel Lacsina is a Senior Web Editor at Gulf News, helping shape the homepage while covering tech, business, viral human-interest stories, crime and offbeat news.","articles":[{"title":"Air India-flydubai deal adds 52 Dubai links","url":"https://gulfnews.com/business/aviation/air-india-flydubai-tie-up-opens-52-more-destinations-via-dubai-1.500686930","summary":"Partnership expands connections across Europe, Middle East, Africa and beyond"}]}}
| Field | Filled in, of 12 checked | Values in the sample |
|---|---|---|
| title | 12 | median 50 characters |
| url | 12 | gulfnews.com |
| summary | 12 | median 77 characters |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| slug | string | No | Author slug, e.g. nathaniel-lacsina | nathaniel-lacsina | |
| url | string | No | Canonical gulfnews.com/author/<slug> URL; alternative to slug | https://gulfnews.com/author/nathaniel-lacsina | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/gulfnews/author" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"name": "Nathaniel Lacsina",
"slug": "nathaniel-lacsina",
"url": "https://gulfnews.com/author/nathaniel-lacsina",
"job_title": "Senior Web Editor",
"bio": "Nathaniel Lacsina is a Senior Web Editor at Gulf News, helping shape the homepage while covering tech, business, viral human-interest stories, crime and offbeat news.",
"articles": [
{
"title": "Air India-flydubai deal adds 52 Dubai links",
"url": "https://gulfnews.com/business/aviation/air-india-flydubai-tie-up-opens-52-more-destinations-via-dubai-1.500686930",
"summary": "Partnership expands connections across Europe, Middle East, Africa and beyond"
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.gulfNewsAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | gulfnews.AuthorResponse | No | ||||
| data.articles | array | No | ||||
| data.articles[].summary | string | No | ||||
| data.articles[].title | string | No | ||||
| data.articles[].url | string | No | ||||
| data.bio | string | No | ||||
| data.job_title | string | No | ||||
| data.name | string | No | ||||
| data.slug | 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/gulfnews/author" \
-H "x-api-key: $CRAWLORA_API_KEY"