Api Endpoint

1gateway

Use when an agent needs the weather anywhere in the world. Input: lat, lon, optional hours (0-72 hourly steps, default 24), tz (IANA zone for daily summaries, default UTC). Output: JSON current temperature, symbol, wind, humidity, cloud, pressure; hourly series; daily min/max, precipitation, max wind, symbol for ~10 days. Data: MET Norway. Example: ?lat=51.5072&lon=-0.1276&tz=Europe/London

Open interactive test console

Offering

Provider
1gateway.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Other
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://1gateway.dev/v1/weather/global
MIME type
application/json
First seen
2026-10-19T02:32:25.008Z
Last seen
Tags
weather, forecast, global, temperature, precipitation

Payment pricing

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

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.002 USDC
Atomic price: 2000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x6246eee0355Dd7A93C888fE59e1151388A0cC5a1"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "2000",
    "payTo": "AwV6UZobYPyTdsuNa2NknZZrnmmUoH5ckEv3wNgL26WT"
  }
]

Observed health

Status
Healthy
Latest latency
947 ms
Average latency
861 ms
HTTP status
402
Last checked
Reachability
100% over 12 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": {
        "lat": {
          "type": "number",
          "description": "Latitude, WGS84 decimal degrees (rounded to 0.01)",
          "minimum": -90,
          "maximum": 90,
          "examples": [
            51.5072
          ]
        },
        "lon": {
          "type": "number",
          "description": "Longitude, WGS84 decimal degrees (rounded to 0.01)",
          "minimum": -180,
          "maximum": 180,
          "examples": [
            -0.1276
          ]
        },
        "hours": {
          "type": "integer",
          "description": "Hourly steps to return (default 24)",
          "minimum": 0,
          "maximum": 72,
          "examples": [
            24
          ]
        },
        "tz": {
          "type": "string",
          "description": "IANA time zone for daily summaries and local hours (default UTC)",
          "maxLength": 64,
          "examples": [
            "Europe/London"
          ]
        }
      },
      "required": [
        "lat",
        "lon"
      ],
      "additionalProperties": false
    }
  },
  "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": {
          "additionalProperties": false,
          "properties": {
            "hours": {
              "description": "Hourly steps to return (default 24)",
              "examples": [
                24
              ],
              "maximum": 72,
              "minimum": 0,
              "type": "integer"
            },
            "lat": {
              "description": "Latitude, WGS84 decimal degrees (rounded to 0.01)",
              "examples": [
                51.5072
              ],
              "maximum": 90,
              "minimum": -90,
              "type": "number"
            },
            "lon": {
              "description": "Longitude, WGS84 decimal degrees (rounded to 0.01)",
              "examples": [
                -0.1276
              ],
              "maximum": 180,
              "minimum": -180,
              "type": "number"
            },
            "tz": {
              "description": "IANA time zone for daily summaries and local hours (default UTC)",
              "examples": [
                "Europe/London"
              ],
              "maxLength": 64,
              "type": "string"
            }
          },
          "required": [
            "lat",
            "lon"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "attribution": {
              "type": "string"
            },
            "current": {
              "properties": {
                "cloudPct": {
                  "type": "number"
                },
                "humidityPct": {
                  "type": "number"
                },
                "precipitationNextHourMm": {
                  "type": [
                    "number",
                    "null"
                  ]
                },
                "pressureHpa": {
                  "type": "number"
                },
                "symbol": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "temperatureC": {
                  "type": "number"
                },
                "time": {
                  "type": "string"
                },
                "windFromDeg": {
                  "type": "integer"
                },
                "windMs": {
                  "type": "number"
                }
              },
              "type": "object"
            },
            "daily": {
              "items": {
                "properties": {
                  "date": {
                    "type": "string"
                  },
                  "maxC": {
                    "type": "number"
                  },
                  "maxWindMs": {
                    "type": "number"
                  },
                  "minC": {
                    "type": "number"
                  },
                  "precipitationMm": {
                    "type": "number"
                  },
                  "symbol": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "hourly": {
              "items": {
                "properties": {
                  "cloudPct": {
                    "type": "number"
                  },
                  "humidityPct": {
                    "type": "number"
                  },
                  "localHour": {
                    "type": "integer"
                  },
                  "precipitationMm": {
                    "type": "number"
                  },
                  "symbol": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "temperatureC": {
                    "type": "number"
                  },
                  "time": {
                    "type": "string"
                  },
                  "windFromDeg": {
                    "type": "integer"
                  },
                  "windMs": {
                    "type": "number"
                  }
                },
                "type": "object"
              },
              "type": "array"
            },
            "location": {
              "properties": {
                "elevationM": {
                  "type": [
                    "integer",
                    "null"
                  ]
                },
                "lat": {
                  "type": "number"
                },
                "lon": {
                  "type": "number"
                },
                "timezone": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "note": {
              "type": "string"
            },
            "units": {
              "properties": {
                "precipitation": {
                  "type": "string"
                },
                "pressure": {
                  "type": "string"
                },
                "temperature": {
                  "type": "string"
                },
                "wind": {
                  "type": "string"
                }
              },
              "type": "object"
            },
            "updatedAt": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "location",
            "updatedAt",
            "current",
            "hourly",
            "daily",
            "units",
            "attribution",
            "note"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}