Skip to content
Back to skills

Nzbn Register

ASecurity

Search and lookup public NZBN Register NZ business records: NZBN identity, company/entity status, trading names, addresses, and source-register identifiers. No login or API key required.

  • 31 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 10, 2026
businesspythongobashgitapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 7 files and shows the line behind each finding

Scanned September 10, 2026

npx -y skills add thecolab-ai/.skills --skill nzbn-register --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nzbn Register?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Nzbn Register
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/thecolab-ai-nzbn-register/badge)](https://www.skillsdirectory.com/skills/thecolab-ai-nzbn-register)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: nzbn-register
description: "Search and lookup public NZBN Register NZ business records: NZBN identity, company/entity status, trading names, addresses, and source-register identifiers. No login or API key required."
license: MIT
compatibility: "Requires Python 3.10+ and network access for live data"
metadata:
  thecolab.category: "government"
  thecolab.source_owner: "New Zealand Business Number"
  thecolab.source_type: "official"
  thecolab.auth: "none"
  thecolab.access_mode: "public-api"
  thecolab.data_class: "public"
  thecolab.writes: "false"
  thecolab.browser: "false"
  thecolab.risk: "low"
  thecolab.cache_ttl: "24h"
  thecolab.schema_version: "1"
  thecolab.skill_type: "public-api"
  thecolab.pack: "nz-public-data"
  thecolab.source_url: "https://www.nzbn.govt.nz"
  thecolab.allowed_domains: "www.nzbn.govt.nz"
  thecolab.last_verified: "2026-07-19"
  thecolab.health: "healthy"
  thecolab.maintainer: "@adam91holt"
---

# NZBN Register

## Goal

Query live public NZBN Register business/entity data through a small deterministic Python CLI with human-readable and JSON output.

## Use this when

- A user asks to find an NZ business/entity by name
- A user has a 13-digit NZBN and wants public register details
- A workflow needs machine-readable NZBN, entity status, entity type, trading names, Companies Office source id, public addresses, websites, or contact fields published on the register
- A user needs an official NZ business identifier before checking other sources

## Do not use this for

- Authenticated MyNZBN actions, authority management, watchlists, or profile edits
- Private/suppressed register data
- Bulk scraping, full-register replication, or enrichment at high volume
- Mutating NZBN records or contacting businesses automatically
- Treating live register output as legal advice

## Preferred workflow

1. Run `scripts/cli.py search` with the narrowest business name/query that answers the task
2. Select the likely `nzbn` from results, then run `lookup <nzbn>` for exact public details
3. Use `--json` for agent chaining, comparisons, or structured reports
4. Cite the NZBN and source-register id/date fields when reporting findings
5. If multiple similar names appear, show candidates and avoid overclaiming identity

## CLI

Run with:

```bash
python3 skills/nzbn-register/scripts/cli.py <command> [flags]
```

### Commands

- `search <query> [--limit N] [--page N] [--json]` — search NZBN entities by business/entity name or NZBN text
- `lookup <nzbn> [--json] [--raw]` — fetch exact public details for a 13-digit NZBN

Examples:

```bash
python3 skills/nzbn-register/scripts/cli.py search "the warehouse" --limit 5
python3 skills/nzbn-register/scripts/cli.py search "the warehouse" --limit 5 --json
python3 skills/nzbn-register/scripts/cli.py lookup 9429000023795 --json
python3 skills/nzbn-register/scripts/cli.py lookup 9429000023795 --raw --json
```

## Resources

- CLI entrypoint: `scripts/cli.py`
- Live smoke test: `scripts/smoke_test.py`
- API and stability notes: `references/api-notes.md`

## Notes

- No API key, OAuth token, username, password, cookie, or browser automation is required for the supported read-only commands
- The official API gateway (`api.business.govt.nz/gateway/nzbn/v5`) requires a subscription key when called directly; this skill uses the public NZBN website proxy used by the register UI
- Treat records as live public register snapshots; entity details can change
- Keep queries small and respectful

Files in this skill

  • SKILL.md3.4 KB
  • references/api-notes.md3.1 KB
  • references/source-notes.md476 B
  • scripts/cli.py9 KB
  • scripts/smoke_test.py3.6 KB
  • scripts/test_contract.py376 B
  • tests/fixtures/contract.json173 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.