Api Endpoint

x402-trends-server.onrender.com

Get a current U.S. weather forecast from NOAA and the National Weather Service by latitude and longitude. Use this weather API when an agent needs forecast temperature, conditions, wind, day/night periods, or detailed local forecast text for U.S. coordinates.

Open interactive test console

Offering

Provider
x402-trends-server.onrender.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Web Search Research
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402-trends-server.onrender.com/api/weather
MIME type
application/json
First seen
2026-10-16T03:02:07.735Z
Last seen
Tags
None supplied

Payment pricing

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

Payment option 1
0.02 USDC
Atomic price: 20000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "payTo": "0xF61F957D9aC432309219549b1Ae79Ae8b7C71fF5"
  }
]

Observed health

Status
Healthy
Latest latency
58 ms
Average latency
161 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",
          "minimum": -90,
          "maximum": 90,
          "description": "Latitude for the U.S. forecast location."
        },
        "lon": {
          "type": "number",
          "minimum": -180,
          "maximum": 180,
          "description": "Longitude for the U.S. forecast location."
        }
      },
      "required": [
        "lat",
        "lon"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string"
    },
    "example": {
      "type": "object",
      "properties": {
        "status": {
          "type": "string"
        },
        "payment": {
          "type": "string"
        },
        "source": {
          "type": "string"
        },
        "coordinates": {
          "type": "object",
          "properties": {
            "lat": {
              "type": "number"
            },
            "lon": {
              "type": "number"
            }
          },
          "required": [
            "lat",
            "lon"
          ],
          "additionalProperties": false
        },
        "location": {
          "type": "object",
          "properties": {
            "city": {
              "type": [
                "string",
                "null"
              ]
            },
            "state": {
              "type": [
                "string",
                "null"
              ]
            }
          },
          "required": [
            "city",
            "state"
          ],
          "additionalProperties": false
        },
        "periods": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "startTime": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "endTime": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "isDaytime": {
                "type": [
                  "boolean",
                  "null"
                ]
              },
              "temperature": {
                "type": [
                  "number",
                  "null"
                ]
              },
              "temperatureUnit": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "windSpeed": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "windDirection": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "shortForecast": {
                "type": [
                  "string",
                  "null"
                ]
              },
              "detailedForecast": {
                "type": [
                  "string",
                  "null"
                ]
              }
            },
            "required": [],
            "additionalProperties": false
          }
        },
        "retrievedAt": {
          "type": "string"
        }
      },
      "required": [
        "status",
        "source",
        "coordinates",
        "location",
        "periods",
        "retrievedAt"
      ],
      "additionalProperties": false
    }
  },
  "required": [
    "type"
  ]
}