{
  "x402Version": 2,
  "id": 40559,
  "slug": "40559",
  "resource": "https://api.x402.fernhub.co.nz/roads",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:84532",
      "payTo": "0x494Cb3b520B511213d5e197C1D53b6Cb5B9407D0",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "route": "Auckland to Wellington"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "byImpact": {
              "Caution": 3
            },
            "cost": "$0.005",
            "events": [],
            "ok": true,
            "route": {
              "estimate": false,
              "from": "Auckland",
              "km": 640,
              "minutes": 520,
              "to": "Wellington"
            },
            "source": "NZTA, DOC, GeoNet, Open-Meteo, OpenStreetMap/OSRM open data",
            "total": 3
          },
          "type": "json"
        }
      },
      "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"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api.x402.fernhub.co.nz",
  "lastUpdated": "2026-10-06T12:56:54.225Z",
  "quality": {
    "calls30d": 104,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-06T12:57:30.447Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "route": "Auckland to Wellington"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "byImpact": {
                "Caution": 3
              },
              "cost": "$0.005",
              "events": [],
              "ok": true,
              "route": {
                "estimate": false,
                "from": "Auckland",
                "km": 640,
                "minutes": 520,
                "to": "Wellington"
              },
              "source": "NZTA, DOC, GeoNet, Open-Meteo, OpenStreetMap/OSRM open data",
              "total": 3
            },
            "type": "json"
          }
        },
        "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api.x402.fernhub.co.nz",
    "manifest_name": "api.x402.fernhub.co.nz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-13T15:56:53.641Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}