NZTA Traffic for Openclaw

Access real-time New Zealand state highway traffic conditions, road closures, and live camera feeds via the Waka Kotahi NZTA API.

bobwattienz
v1.0.0
Mar 6, 2026
0
747
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install nzta-traffic

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install nzta-traffic using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is NZTA Traffic?

The NZTA Traffic skill provides a direct interface for AI agents and developers to query the Waka Kotahi NZTA Traffic and Travel REST API. It allows users to monitor state highways across New Zealand's 14 regions without requiring an API key. By integrating this into Openclaw Skills, you can automate road safety checks, monitor incidents, and visualize traffic through live camera metadata.

This skill is particularly useful for developers building logistics tools or regional information bots that need current data on roadworks, accidents, and travel delays. It handles the complexity of region IDs and journey mappings, making it easy to fetch status updates for specific routes like SH1.

NZTA Traffic Use Cases

  • Monitoring road closures and major delays on SH1 and other major state highways.
  • Checking live traffic cameras near major cities like Wellington or Auckland for visual verification.
  • Automating travel alerts and notifications for regional commutes or logistics planning.
  • Researching current roadworks impact across New Zealand regions for infrastructure reporting.

How NZTA Traffic Works

  1. The user provides a region name, highway ID, or coordinate bounding box to the script.
  2. The skill sends a request to the Waka Kotahi REST API endpoint using the appropriate parameters.
  3. The API returns real-time data regarding traffic events, incidents, or camera feeds.
  4. The skill processes the response, categorizing events by impact levels such as Closed or Major delays.
  5. Real-time data is output as a human-readable summary or raw JSON for further automation.

NZTA Traffic Setup

To start using this skill within your Openclaw Skills environment, ensure the script is executable and call it via the CLI.

# List all available regions and their IDs
scripts/nzta-traffic.sh --list-regions

# Check traffic events for a specific region
scripts/nzta-traffic.sh --region Wellington

NZTA Traffic Data Schema & Taxonomy

The skill interacts with the NZTA API to provide structured data regarding road incidents and infrastructure. Below is the primary metadata taxonomy:

Field Description
regionId Numerical ID of the New Zealand region (1-14)
impact Severity level: Closed, Major delays, Minor delays, Caution, or Watch
eventDescription Detailed text description of the road incident or roadwork
cameras Metadata for live traffic imagery including location and URL
geometry Geographic coordinates for mapping events when requested

NZTA Traffic Advanced Features

  • Bounding box (bbox) queries for targeted geographic traffic monitoring within specific coordinates.
  • Automatic highway journey ID discovery via the --list-journeys flag to isolate specific road stretches.
  • Multi-format output support with a --json flag for seamless integration into larger Openclaw Skills data pipelines.
  • Geometry zoom level controls to optimize data payload for different mapping requirements.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*