{
  "x402Version": 2,
  "id": 6509,
  "slug": "6509",
  "resource": "https://x402-trends-server.onrender.com/api/weather",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xF61F957D9aC432309219549b1Ae79Ae8b7C71fF5",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "lat": 33.68,
            "lon": -117.18
          },
          "type": "http"
        },
        "output": {
          "example": {
            "coordinates": {
              "lat": 33.68,
              "lon": -117.18
            },
            "location": {
              "city": "Menifee",
              "state": "CA"
            },
            "payment": "verified",
            "periods": [
              {
                "detailedForecast": "Mostly clear overnight with light winds.",
                "endTime": "2026-08-16T06:00:00-07:00",
                "isDaytime": false,
                "name": "Tonight",
                "shortForecast": "Mostly Clear",
                "startTime": "2026-08-15T18:00:00-07:00",
                "temperature": 68,
                "temperatureUnit": "F",
                "windDirection": "SW",
                "windSpeed": "5 mph"
              }
            ],
            "retrievedAt": "2026-08-15T20:00:00.000Z",
            "source": "NOAA National Weather Service",
            "status": "success"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "lat": {
                    "description": "Latitude for the U.S. forecast location.",
                    "maximum": 90,
                    "minimum": -90,
                    "type": "number"
                  },
                  "lon": {
                    "description": "Longitude for the U.S. forecast location.",
                    "maximum": 180,
                    "minimum": -180,
                    "type": "number"
                  }
                },
                "required": [
                  "lat",
                  "lon"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "additionalProperties": false,
                "properties": {
                  "coordinates": {
                    "additionalProperties": false,
                    "properties": {
                      "lat": {
                        "type": "number"
                      },
                      "lon": {
                        "type": "number"
                      }
                    },
                    "required": [
                      "lat",
                      "lon"
                    ],
                    "type": "object"
                  },
                  "location": {
                    "additionalProperties": false,
                    "properties": {
                      "city": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "state": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "required": [
                      "city",
                      "state"
                    ],
                    "type": "object"
                  },
                  "payment": {
                    "type": "string"
                  },
                  "periods": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "detailedForecast": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "endTime": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "isDaytime": {
                          "type": [
                            "boolean",
                            "null"
                          ]
                        },
                        "name": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "shortForecast": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "startTime": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "temperature": {
                          "type": [
                            "number",
                            "null"
                          ]
                        },
                        "temperatureUnit": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "windDirection": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "windSpeed": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "required": [],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "retrievedAt": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "status": {
                    "type": "string"
                  }
                },
                "required": [
                  "status",
                  "source",
                  "coordinates",
                  "location",
                  "periods",
                  "retrievedAt"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "x402-trends-server.onrender.com",
  "lastUpdated": "2026-08-31T00:32:29.998Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-08-31T00:32:29.831Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402-trends-server.onrender.com",
    "manifest_name": "x402-trends-server.onrender.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}