{
  "x402Version": 2,
  "id": 30929,
  "slug": "30929",
  "resource": "https://x402.agentutility.ai/weather-current-city",
  "description": "Returns current weather for any city or place name, no coordinates needed. Geocodes the name with Open-Meteo, chooses the best match with optional country_code, then returns current temperature, feels-like, humidity, wind, precipitation, WMO weather code, timezone, and optional daily/hourly forecast from Open-Meteo. Use it as a city weather API or instant weather lookup by place name.",
  "type": "http",
  "serviceName": "AgentUtility.ai",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1783070352/bazaar-icons/54f004eda341546b.png",
  "resourceType": "Travel",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6c0752c09e7F6fA6526fCDf40e456a159ebB5621",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "FJqAJ4dXkFbrp3EEo8E9x98iaBGUQwaU8Srz5ePfUXLH",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "properties": {
          "current": {
            "properties": {
              "apparent_temperature": {
                "type": "integer"
              },
              "humidity_pct": {
                "type": "integer"
              },
              "temperature": {
                "type": "integer"
              },
              "weather_code": {
                "type": "integer"
              },
              "wind_speed": {
                "type": "integer"
              }
            },
            "type": "object"
          },
          "query": {
            "type": "string"
          },
          "resolved_location": {
            "properties": {
              "admin1": {
                "type": "string"
              },
              "country_code": {
                "type": "string"
              },
              "latitude": {
                "type": "number"
              },
              "longitude": {
                "type": "number"
              },
              "name": {
                "type": "string"
              }
            },
            "type": "object"
          },
          "source": {
            "properties": {
              "forecast": {
                "type": "string"
              },
              "geocoding": {
                "type": "string"
              }
            },
            "type": "object"
          }
        },
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "city": "San Francisco",
            "country_code": "US",
            "forecast_days": 3,
            "units": "imperial"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "current": {
              "apparent_temperature": 60,
              "humidity_pct": 78,
              "temperature": 62,
              "weather_code": 3,
              "wind_speed": 9
            },
            "query": "San Francisco",
            "resolved_location": {
              "admin1": "California",
              "country_code": "US",
              "latitude": 37.7749,
              "longitude": -122.4194,
              "name": "San Francisco"
            },
            "source": {
              "forecast": "https://open-meteo.com",
              "geocoding": "https://open-meteo.com/en/docs/geocoding-api"
            }
          },
          "type": "json"
        }
      },
      "related": [
        "/destination-arrival-pack",
        "/travel-brief",
        "/trip-readiness-brief",
        "/weather-localize-pack"
      ],
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "city": {
                    "description": "City or place name, e.g. 'Paris', 'San Francisco', or 'Springfield'.",
                    "type": "string"
                  },
                  "country_code": {
                    "description": "Optional two-letter ISO country code to disambiguate, e.g. 'US', 'FR', 'JP'.",
                    "type": "string"
                  },
                  "forecast_days": {
                    "description": "Daily forecast days to include, 1-7. Default 1.",
                    "type": "number"
                  },
                  "hourly": {
                    "description": "If true, include hourly temperature, precipitation, and weather code arrays.",
                    "type": "boolean"
                  },
                  "query": {
                    "description": "Alias for city.",
                    "type": "string"
                  },
                  "units": {
                    "description": "Metric or imperial output units. Default metric.",
                    "enum": [
                      "metric",
                      "imperial"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "city"
                ]
              },
              "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": "integer"
                      },
                      "humidity_pct": {
                        "type": "integer"
                      },
                      "temperature": {
                        "type": "integer"
                      },
                      "weather_code": {
                        "type": "integer"
                      },
                      "wind_speed": {
                        "type": "integer"
                      }
                    },
                    "type": "object"
                  },
                  "query": {
                    "type": "string"
                  },
                  "resolved_location": {
                    "properties": {
                      "admin1": {
                        "type": "string"
                      },
                      "country_code": {
                        "type": "string"
                      },
                      "latitude": {
                        "type": "number"
                      },
                      "longitude": {
                        "type": "number"
                      },
                      "name": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "source": {
                    "properties": {
                      "forecast": {
                        "type": "string"
                      },
                      "geocoding": {
                        "type": "string"
                      }
                    },
                    "type": "object"
                  }
                },
                "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": [
    "weather",
    "current",
    "city",
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "x402.agentutility.ai",
  "lastUpdated": "2026-09-29T18:49:11.61Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-29T18:49:11.469Z"
  },
  "metadata": {
    "serviceName": "AgentUtility.ai",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1783070352/bazaar-icons/54f004eda341546b.png",
    "extensions": {
      "bazaar": {
        "discoverable": true,
        "info": {
          "input": {
            "body": {
              "city": "San Francisco",
              "country_code": "US",
              "forecast_days": 3,
              "units": "imperial"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "current": {
                "apparent_temperature": 60,
                "humidity_pct": 78,
                "temperature": 62,
                "weather_code": 3,
                "wind_speed": 9
              },
              "query": "San Francisco",
              "resolved_location": {
                "admin1": "California",
                "country_code": "US",
                "latitude": 37.7749,
                "longitude": -122.4194,
                "name": "San Francisco"
              },
              "source": {
                "forecast": "https://open-meteo.com",
                "geocoding": "https://open-meteo.com/en/docs/geocoding-api"
              }
            },
            "type": "json"
          }
        },
        "related": [
          "/destination-arrival-pack",
          "/travel-brief",
          "/trip-readiness-brief",
          "/weather-localize-pack"
        ],
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "properties": {
                    "city": {
                      "description": "City or place name, e.g. 'Paris', 'San Francisco', or 'Springfield'.",
                      "type": "string"
                    },
                    "country_code": {
                      "description": "Optional two-letter ISO country code to disambiguate, e.g. 'US', 'FR', 'JP'.",
                      "type": "string"
                    },
                    "forecast_days": {
                      "description": "Daily forecast days to include, 1-7. Default 1.",
                      "type": "number"
                    },
                    "hourly": {
                      "description": "If true, include hourly temperature, precipitation, and weather code arrays.",
                      "type": "boolean"
                    },
                    "query": {
                      "description": "Alias for city.",
                      "type": "string"
                    },
                    "units": {
                      "description": "Metric or imperial output units. Default metric.",
                      "enum": [
                        "metric",
                        "imperial"
                      ],
                      "type": "string"
                    }
                  },
                  "required": [
                    "city"
                  ]
                },
                "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": "integer"
                        },
                        "humidity_pct": {
                          "type": "integer"
                        },
                        "temperature": {
                          "type": "integer"
                        },
                        "weather_code": {
                          "type": "integer"
                        },
                        "wind_speed": {
                          "type": "integer"
                        }
                      },
                      "type": "object"
                    },
                    "query": {
                      "type": "string"
                    },
                    "resolved_location": {
                      "properties": {
                        "admin1": {
                          "type": "string"
                        },
                        "country_code": {
                          "type": "string"
                        },
                        "latitude": {
                          "type": "number"
                        },
                        "longitude": {
                          "type": "number"
                        },
                        "name": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    },
                    "source": {
                      "properties": {
                        "forecast": {
                          "type": "string"
                        },
                        "geocoding": {
                          "type": "string"
                        }
                      },
                      "type": "object"
                    }
                  },
                  "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "current": {
        "apparent_temperature": 0,
        "humidity_pct": 0,
        "temperature": 0,
        "weather_code": 0,
        "wind_speed": 0
      },
      "query": "string",
      "resolved_location": {
        "admin1": "string",
        "country_code": "string",
        "latitude": 0,
        "longitude": 0,
        "name": "string"
      },
      "source": {
        "forecast": "string",
        "geocoding": "string"
      }
    },
    "type": "string"
  }
}