{
  "x402Version": 2,
  "id": 40562,
  "slug": "40562",
  "resource": "https://api.x402.fernhub.co.nz/trip-check",
  "description": "One-call go / caution / avoid verdict for a drive from A to B: road closures and delays on the route, destination weather, nearby stays and volcano/earthquake alerts. Use for a complete trip readiness check instead of several calls. If the name is unusual, call /resolve?route=A to B (or /resolve?place=...) first (free); a failed lookup is still charged.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:84532",
      "payTo": "0x494Cb3b520B511213d5e197C1D53b6Cb5B9407D0",
      "asset": "0x036CbD53842c5426634e7929541eC2318f3dCF7e",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "from": "Auckland",
            "to": "Rotorua"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "cost": "$0.02",
            "ok": true,
            "reasons": [
              "No closures, delays, severe weather or volcanic alerts found"
            ],
            "source": "NZTA, DOC, GeoNet, Open-Meteo, OpenStreetMap/OSRM open data",
            "summary": "GO: Auckland to Rotorua",
            "verdict": "go"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "from": {
                    "description": "start place, e.g. Auckland",
                    "type": "string"
                  },
                  "to": {
                    "description": "destination place, e.g. Rotorua",
                    "type": "string"
                  },
                  "travelDay": {
                    "description": "optional: today (default), tomorrow, weekday name or ISO date within the 3-day forecast window",
                    "type": "string"
                  },
                  "via": {
                    "description": "optional waypoint place",
                    "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-06T14:45:18.207Z",
  "quality": {
    "calls30d": 51,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-06T14:45:22.069Z"
  },
  "metadata": {
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "from": "Auckland",
              "to": "Rotorua"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "cost": "$0.02",
              "ok": true,
              "reasons": [
                "No closures, delays, severe weather or volcanic alerts found"
              ],
              "source": "NZTA, DOC, GeoNet, Open-Meteo, OpenStreetMap/OSRM open data",
              "summary": "GO: Auckland to Rotorua",
              "verdict": "go"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "from": {
                      "description": "start place, e.g. Auckland",
                      "type": "string"
                    },
                    "to": {
                      "description": "destination place, e.g. Rotorua",
                      "type": "string"
                    },
                    "travelDay": {
                      "description": "optional: today (default), tomorrow, weekday name or ISO date within the 3-day forecast window",
                      "type": "string"
                    },
                    "via": {
                      "description": "optional waypoint place",
                      "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"
  }
}