Api Endpoint

api.x402.fernhub.co.nz

Live NZ road events (closures, delays, roadworks) along a driving route or around a named road, pass or place, with plain-English location, delay minutes, map links, route distance, drive time and a Google Maps directions link. Understands landmarks and passes (Desert Road, Arthur's Pass, Milford Road), 'A to B', 'A via X to B'. Free /resolve shows how your input is read before you pay. If the name is unusual, call /resolve?route=A to B (or /resolve?place=...) first (free); a failed lookup is still charged.

Open interactive test console

Offering

Provider
api.x402.fernhub.co.nz
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Location And Travel
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.x402.fernhub.co.nz/roads
MIME type
application/json
First seen
2026-10-16T01:51:30.109Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.005 USDC
Atomic price: 5000 · Network: eip155:84532 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:84532",
    "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
    "amount": "5000",
    "payTo": "0x494Cb3b520B511213d5e197C1D53b6Cb5B9407D0"
  }
]

Observed health

Status
Healthy
Latest latency
46 ms
Average latency
176 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "route": {
          "type": "string",
          "description": "'A to B', 'A via X to B', or one road/pass/place such as 'Desert Road'; 'nationwide' for a national summary"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "route": {
              "description": "'A to B', 'A via X to B', or one road/pass/place such as 'Desert Road'; 'nationwide' for a national summary",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}