# NZ Herald World News API

> World news headlines from the New Zealand Herald, with headline, publish time and article link.

- Page: https://cleanedweb.com/catalog/nzherald-nzherald-co-nz-api/
- Contract (JSON): https://cleanedweb.com/catalog/nzherald-nzherald-co-nz-api/contract.json
- Source: nzherald.co.nz (https://www.nzherald.co.nz/)
- Category: News & content
- Updated: 2026-11-22

A run reads until the source ends or your `max_items`, `timeout_seconds` or budget stops it.

## Key fields

| Field | Type | Sample value |
| --- | --- | --- |
| `title` | string | `Shouting and crying as man left on ground covered in blood after street stabbing` |
| `url` | string | `https://www.nzherald.co.nz/nz/auckland/man-charged-after-mangere-east-stabbing-leaves-one-critically-injured/RUYF3QX36BDZ5MBK43IQACSQXI/` |
| `js_story_card` | boolean | `true` |
| `published_at` | string | `20 Nov 11:28 PM` |

Sample values come from one saved record, not a live run. Every field with its type, and the schemas, are in https://cleanedweb.com/catalog/nzherald-nzherald-co-nz-api/contract.json

## Inputs

- `collection` (string): Optional. Chooses one of the site's collections. Leave it out for the default one. Options: New Zealand, The Selection - Shop the trends.

## Request

`POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_126fa20b8b04abba62bd8702/endpoints/generated_126fa20b8b04abba62bd8702_search/run`

```bash
curl -X POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_126fa20b8b04abba62bd8702/endpoints/generated_126fa20b8b04abba62bd8702_search/run \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Idempotency-Key: UNIQUE_REQUEST_ID" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "collection": "New Zealand"
  },
  "version": 3,
  "max_items": 25
}'
```

Send an `Idempotency-Key` header with every run and save it before you send. Reuse it only to retry the same request. If the run does not end within `wait_seconds`, read the result with the same API key and key:

`GET https://api.cleanedweb.com/v1/catalog/public/apis/generated_126fa20b8b04abba62bd8702/endpoints/generated_126fa20b8b04abba62bd8702_search/result`

## Versions

Current: `3.0`. Pin a major with "version": N in the run body (an integer). Leave it out and the call runs on the latest major. A sunset major runs on the latest major and the response says rerouted. An unknown major answers 404 catalog_version_not_found and lists the available majors.

- v3: current, newest minor `3.0`
- v1: deprecated, newest minor `1.1`, sunsets 2027-01-21

### Changelog

- `3.0` (major) 2026-11-22
  - Option \`New Zealand\` added to input \`collection\`.
  - Field \`category\` is no longer shown by the source; it stays and is \`null\`.
  - Field \`category_path\` is no longer shown by the source; it stays and is \`null\`.
  - Field \`author\` is no longer shown by the source; it stays and is \`null\`.
  - Field \`reading_time\` is no longer shown by the source; it stays and is \`null\`.
  - Options \`Lifestyle\`, \`Property\` no longer in the list read from the site.
  - Input \`enrich_records\` removed.
- `1.1` 2026-11-17
- `1.0` (major) 2026-11-13

The same changelog, as data, is in https://cleanedweb.com/catalog/nzherald-nzherald-co-nz-api/contract.json

## Use it from an AI agent

MCP server: https://api.cleanedweb.com/mcp?profile=catalog (Streamable HTTP). Sign in with a CleanedWeb account when the client asks (OAuth), or send an API key with the `read` and `run` scopes as `Authorization: Bearer`. Call `get_api` with `api_id` `generated_126fa20b8b04abba62bd8702`, then `run_api` with the `run_with` arguments it returns. See https://cleanedweb.com/docs/mcp/

## Run it

Reading the catalog needs no credential. Running needs a CleanedWeb account and an API key with the `run` scope; the first 5,000 records are free, then $1 per 1,000 records. See https://cleanedweb.com/docs/run-catalog-api/

CleanedWeb is not affiliated with NZ Herald.
