{
  "x402Version": 2,
  "id": 5225,
  "slug": "5225",
  "resource": "https://x402.agentutility.ai/weather",
  "description": "Current conditions and forecast for any latitude/longitude. Returns present weather plus a 1-7 day daily forecast (temp max/min, precipitation, sunrise/sunset, UV index) and an optional hourly forecast. A simple weather API on the Open-Meteo backend.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "forecast_days": 3,
            "latitude": 37.7749,
            "longitude": -122.4194,
            "units": "imperial"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "current": {
              "apparent_temperature": 60.4,
              "humidity_pct": 78,
              "is_day": true,
              "precipitation": 0,
              "temperature": 62.1,
              "time": "2026-05-06T13:00",
              "weather_code": 3,
              "wind_direction_deg": 270,
              "wind_speed": 8.2
            },
            "daily": [
              {
                "date": "2026-05-06",
                "precipitation_mm": 0,
                "precipitation_probability_max": 5,
                "sunrise": "2026-05-06T06:08",
                "sunset": "2026-05-06T20:11",
                "temperature_max": 67.3,
                "temperature_min": 53.1,
                "uv_index_max": 7.5,
                "weather_code": 3
              }
            ],
            "location": {
              "elevation_m": 18,
              "lat": 37.7749,
              "lon": -122.4194,
              "timezone": "America/Los_Angeles"
            },
            "source": "https://open-meteo.com",
            "units": "imperial"
          },
          "type": "json"
        }
      },
      "related": [
        "/weather-localize-pack",
        "/travel-brief"
      ],
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "forecast_days": {
                    "description": "Number of forecast days, 1-7. Default 3.",
                    "type": "number"
                  },
                  "hourly": {
                    "description": "If true, include hourly temperature, precipitation, and weather code arrays. Default false.",
                    "type": "boolean"
                  },
                  "latitude": {
                    "description": "Decimal degrees, range [-90, 90]. Positive north.",
                    "type": "number"
                  },
                  "longitude": {
                    "description": "Decimal degrees, range [-180, 180]. Positive east.",
                    "type": "number"
                  },
                  "units": {
                    "description": "'metric' (°C, km/h, mm) or 'imperial' (°F, mph, inch). Default 'metric'.",
                    "enum": [
                      "metric",
                      "imperial"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "latitude",
                  "longitude"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "current": {
                    "properties": {
                      "apparent_temperature": {
                        "type": "number"
                      },
                      "humidity_pct": {
                        "type": "integer"
                      },
                      "is_day": {
                        "type": "boolean"
                      },
                      "precipitation": {
                        "type": "integer"
                      },
                      "temperature": {
                        "type": "number"
                      },
                      "time": {
                        "type": "string"
                      },
                      "weather_code": {
                        "type": "integer"
                      },
                      "wind_direction_deg": {
                        "type": "integer"
                      },
                      "wind_speed": {
                        "type": "number"
                      }
                    },
                    "type": "object"
                  },
                  "daily": {
                    "items": {
                      "properties": {
                        "date": {
                          "type": "string"
                        },
                        "precipitation_mm": {
                          "type": "integer"
                        },
                        "precipitation_probability_max": {
                          "type": "integer"
                        },
                        "sunrise": {
                          "type": "string"
                        },
                        "sunset": {
                          "type": "string"
                        },
                        "temperature_max": {
                          "type": "number"
                        },
                        "temperature_min": {
                          "type": "number"
                        },
                        "uv_index_max": {
                          "type": "number"
                        },
                        "weather_code": {
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "location": {
                    "properties": {
                      "elevation_m": {
                        "type": "integer"
                      },
                      "lat": {
                        "type": "number"
                      },
                      "lon": {
                        "type": "number"
                      },
                      "timezone": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "source": {
                    "type": "string"
                  },
                  "units": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_awpbwsy3"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "x402.agentutility.ai",
  "lastUpdated": "2026-09-04T14:32:00.093Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-04T14:31:54.252Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "x402.agentutility.ai",
    "manifest_name": "x402.agentutility.ai",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}