RNZ API endpoint
Returns one RNZ reporter's public profile: name, role, bio, email, X/Twitter handle, photo, total story count, and the first page of their news stories.
/rnz/authorReturns one RNZ reporter's public profile: name, role, bio, email, X/Twitter link, photo, the total number of news stories RNZ lists for them, and the first page (up to 25) of those stories.
Query parameters:
slug (optional): an author slug, e.g. ellen-o-dwyer.url (optional): a canonical https://www.rnz.co.nz/authors/<slug> URL, as an alternative to slug.Exactly one of slug/url is required. Only the first page of stories is returned (article_count is the full total). Each story's published_label is RNZ's own date text ("8:58 am today", "23 Sep 2026"), not a timestamp. email and twitter are present only when the profile shows them. An unknown slug returns a 404.
Example response (truncated):
{"code":200,"data":{"name":"Ellen O'Dwyer","slug":"ellen-o-dwyer","url":"https://www.rnz.co.nz/authors/ellen-o-dwyer","job_title":"Senior Reporter","bio":"What I cover: I cover Wellington issues, stories about the Capital, its council and the people that live here...","email":"Ellen.O'[email protected]","twitter":"https://twitter.com/@elle_odwyer","article_count":237,"articles":[{"title":"Mayors left stunned by Government's council amalgamation U-turn","url":"https://www.rnz.co.nz/news/politics/1564050/mayors-left-stunned-by-government-s-council-amalgamation-u-turn","published_label":"8:58 am today","summary":"Wellington's mayor is pointing to a lack of support inside government as the reason for the U-turn."}]}}
| Field | Filled in, of 25 checked | Values in the sample |
|---|---|---|
| title | 25 | median 64 characters |
| url | 25 | rnz.co.nz |
| published_label | 25 | |
| summary | 25 | median 131 characters |
| image_url | 25 | media.rnztools.nz |
| Parameter | Type | Required | Default | Description | Example |
|---|---|---|---|---|---|
| slug | string | No | Author slug, e.g. ellen-o-dwyer | ellen-o-dwyer | |
| url | string | No | Canonical rnz.co.nz/authors/<slug> URL; alternative to slug | https://www.rnz.co.nz/authors/ellen-o-dwyer | |
| x-api-key (header) | string | Yes | API key required |
curl -X GET "https://api.crawlora.net/api/v1/rnz/author" \ -H "x-api-key: $CRAWLORA_API_KEY"
{
"code": 200,
"data": {
"name": "Ellen O'Dwyer",
"slug": "ellen-o-dwyer",
"url": "https://www.rnz.co.nz/authors/ellen-o-dwyer",
"job_title": "Senior Reporter",
"bio": "What I cover: I cover Wellington issues, stories about the Capital, its council and the people that live here...",
"email": "Ellen.O'[email protected]",
"twitter": "https://twitter.com/@elle_odwyer",
"article_count": 237,
"articles": [
{
"title": "Mayors left stunned by Government's council amalgamation U-turn",
"url": "https://www.rnz.co.nz/news/politics/1564050/mayors-left-stunned-by-government-s-council-amalgamation-u-turn",
"published_label": "8:58 am today",
"summary": "Wellington's mayor is pointing to a lack of support inside government as the reason for the U-turn."
}
]
}
}Request schema
No body schema
Response schema
#/definitions/publicnews.rnzAuthorResponseDoc
| Field | Type | Required | Enum | Bounds | Example | Description |
|---|---|---|---|---|---|---|
| data | rnz.AuthorResponse | No | ||||
| data.article_count | integer | No | ArticleCount is the total number of news stories RNZ lists for the author ("Displaying items 1 - 25 of N"); Articles holds only the first page. | |||
| data.articles | array | No | ||||
| data.articles[].image_url | string | No | ||||
| data.articles[].published_label | string | No | PublishedLabel is the card's own date label as RNZ prints it ("8:58 am today", "23 Sep 2026"); the listing carries no machine timestamp. | |||
| data.articles[].summary | string | No | ||||
| data.articles[].title | string | No | ||||
| data.articles[].url | string | No | ||||
| data.bio | string | No | ||||
| data.email | string | No | ||||
| data.image_url | string | No | ||||
| data.job_title | string | No | ||||
| data.name | string | No | ||||
| data.slug | string | No | ||||
| data.twitter | 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/rnz/author" \
-H "x-api-key: $CRAWLORA_API_KEY"