Api Endpoint

d21 weather

Weather ($0.004): current conditions + short forecast, worldwide. United States coordinates (or a resolvable U.S. street address) read live from the National Weather Service's own public API (api.weather.gov), U.S. government data, plus active alerts. Every other location reads live from MET Norway's global Locationforecast model (api.met.no), CC BY 4.0/NLOD-licensed public data -- current + forecast only, no alerts (say so). Neither is a resold vendor feed. Body { lat, lon } (or lat/lng…

Open interactive test console

Offering

Provider
draconic21-x402-api.onrender.com
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Weather And Environment
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://draconic21-x402-api.onrender.com/v1/weather
MIME type
application/json
First seen
2026-10-16T01:50:24.663Z
Last seen
Tags
weather, forecast, current-conditions, alerts, worldwide

Payment pricing

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

Payment option 1
0.004 USDC
Atomic price: 4000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.004 USDC
Atomic price: 4000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "4000",
    "payTo": "0x1520Ef5530AA71350049BE2903Cf078B38c40AE5"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "4000",
    "payTo": "6mc4GhWFyNcMh7gAVDWrKeYjDqFtEKWKQuZ9RTw2VkfM"
  }
]

Observed health

Status
Healthy
Latest latency
247 ms
Average latency
856 ms
HTTP status
204
Last checked
Reachability
100% over 9 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": [
        "POST"
      ]
    },
    "bodyType": {
      "type": "string",
      "enum": [
        "json",
        "form-data",
        "text"
      ]
    },
    "body": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "number",
          "minimum": -90,
          "maximum": 90,
          "description": "Latitude, anywhere in the world. Alias: latitude. Mutually exclusive with location/city."
        },
        "lon": {
          "type": "number",
          "minimum": -180,
          "maximum": 180,
          "description": "Longitude, anywhere in the world. Aliases: lng, long, longitude. Mutually exclusive with location/city."
        },
        "location": {
          "type": "string",
          "description": "Full U.S. street address (best results) or city/state, e.g. '1600 Pennsylvania Ave NW, Washington, DC'. U.S. ONLY -- resolved to coordinates via the Census Geocoder, which never matches non-U.S. addresses. Alias: city. A bare 'City, State' may not resolve; pass lat/lon for guaranteed resolution or for any non-U.S. location. Mutually exclusive with lat/lon."
        },
        "forecast_days": {
          "type": "integer",
          "minimum": 1,
          "maximum": 7,
          "description": "Number of forecast days (1-7), default 3."
        },
        "alerts": {
          "type": "boolean",
          "description": "Include active NWS alerts for the point, default true. U.S./NWS locations only -- MET Norway (non-U.S.) never returns alerts; alerts_supported reports which applies."
        }
      },
      "required": [],
      "additionalProperties": true
    }
  },
  "required": [
    "type",
    "method",
    "bodyType",
    "body"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "provider": {
          "type": "string",
          "enum": [
            "nws",
            "met_norway"
          ]
        },
        "attribution": {
          "type": "string"
        },
        "location": {
          "type": "object",
          "properties": {
            "latitude": {
              "type": "number"
            },
            "longitude": {
              "type": "number"
            },
            "city": {
              "type": [
                "string",
                "null"
              ]
            },
            "state": {
              "type": [
                "string",
                "null"
              ]
            }
          }
        },
        "current": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "temperature": {
              "type": [
                "number",
                "null"
              ]
            },
            "condition": {
              "type": [
                "string",
                "null"
              ]
            },
            "humidity_percent": {
              "type": [
                "number",
                "null"
              ]
            },
            "wind_mph": {
              "type": [
                "number",
                "null"
              ]
            }
          }
        },
        "forecast": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string"
              },
              "temperature": {
                "type": "number"
              },
              "short_forecast": {
                "type": "string"
              }
            }
          }
        },
        "alerts": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "event": {
                "type": "string"
              },
              "severity": {
                "type": "string"
              },
              "headline": {
                "type": "string"
              }
            }
          }
        },
        "alert_count": {
          "type": "integer"
        },
        "alerts_supported": {
          "type": "boolean"
        },
        "caveats": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "required": [
        "provider",
        "attribution",
        "location",
        "forecast",
        "caveats"
      ]
    }
  },
  "required": [
    "type"
  ]
}