Sample records
2 saved records. This is a saved sample, not a live run.
title |
url |
js_story_card |
published_at |
|---|---|---|---|
| Shouting and crying as man left on ground covered in blood after street stabbing | nzherald.co.nz/nz/auckland/man-charged-af… | true | 20 Nov 11:28 PM |
| New Year's Day plans? A new festival is coming to Mount Maunganui | nzherald.co.nz/nz/eats-n-beats-summer-fes… | true | 20 Nov 11:01 PM |
Scroll sideways to see more columns.
What you get
| Field | Type |
|---|---|
title |
string |
url |
string |
js_story_card |
boolean |
published_at |
string |
Inputs
-
collectionchoiceOptional. Chooses one of the site's collections. Leave it out for the default one.
Request
POST https://api.cleanedweb.com/v1/catalog/public/apis/generated_126fa20b8b04abba62bd8702/endpoints/generated_126fa20b8b04abba62bd8702_search/run
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
}'
Save the Idempotency-Key before you send, and reuse it only to retry the same request. The key needs the run scope. See Run a catalog API.
version pins major v3, whose newest minor (3.0) answers. Leave it out and the call runs on the latest major.
v1 is deprecated. It answers until Jan 21, 2027. After that, calls pinned to v1 run on v3. Move to v3, the current version.
Use it from an AI agent
Open in your coding agent
Add CleanedWeb to your agent as an MCP server, such as a custom connector in Claude or ChatGPT, then sign in with your CleanedWeb account. An API key with the read and run scopes works too.
https://api.cleanedweb.com/mcp?profile=catalog
Then ask, for example: Use CleanedWeb to get 25 records from the NZ Herald World News API.
The agent finds the API, runs it and reads the records. Runs are charged like any other run.
Coverage
- Version
- v3 3.0
- Category
- News & content
- Updated
A run stops when the source has no more records, or when it reaches a limit you set: the number of records, the time, or your budget.
CleanedWeb is not affiliated with NZ Herald.
Changelog
-
v3.0 (major) ·
option_addedOptionNew Zealandadded to inputcollection.field_removedFieldcategoryis no longer shown by the source; it stays and isnull.field_removedFieldcategory_pathis no longer shown by the source; it stays and isnull.field_removedFieldauthoris no longer shown by the source; it stays and isnull.field_removedFieldreading_timeis no longer shown by the source; it stays and isnull.option_withdrawnOptionsLifestyle,Propertyno longer in the list read from the site.input_removedInputenrich_recordsremoved.
-
v1.1 ·
-
v1.0 (major) ·