Google Weather schema - cloro
Google Weather schema
Schema for Google’s weather card returned by the Google Search endpoint: location, unit, current conditions, hourly forecast and daily forecast.
The
Google Search endpoint
returns Google’s weather card as
result.weather
, on desktop and mobile, with no flag and at no extra cost. The card shows on weather queries (“weather new york”, “météo lyon demain”) and in the header of some places.
weather
is omitted when the SERP has no weather card.
Weather in Google Search
The one-line current weather of a city or region’s knowledge panel is in
result.knowledgeGraph.weather
, not here.
Values are as Google shows them, in the language of the SERP. Temperatures are whole numbers in
unit
.
Navigate to header: Weather structure Weather structure
Every field is included only when the card shows it.
| Field | Type | Description |
|---|---|---|
| location | string | The place the forecast is for, as shown |
| unit | string | Temperature unit ( °C or °F ). Absent when the card does not show it, as on most mobile cards |
| current | object | The top of the card: the conditions now, or the day or hour the query asks for (“weather tomorrow”). See below |
| hourly | array | The hourly forecast, in order. See below |
| daily | array | The daily forecast, in order, starting today. See below |
Navigate to header: Order of hours and days Order of hours and days
time
is the label Google shows, so how much it says depends on the card:
On the desktop card, an hour names its day ( Wednesday 9:00 AM ), and hourly covers the days of the forecast.
On the mobile card and the card inside the AI Overview, hourly is the next 24 hours, starting now ( Now , 2 AM , …). An hour shows the time alone, so the day changes after midnight without a label.
A day shows its weekday ( Thu ), not a date. Over 10 days a weekday can appear twice, so read daily by position: the first item is today.
Navigate to header: Conditions Conditions
current
, each hour and each day share one shape.
| Field | Type | Description |
|---|---|---|
| time | string | The time or day, as shown ( Wednesday 9:00 AM , Now , Thu ) |
| condition | string | The sky, as shown ( Partly sunny ) |
| temperature | number | Temperature. On current and each hour |
| feelsLike | number | Felt temperature, when the card shows it |
| high | number | Day’s high. On each day, and on current when it shows a day |
| low | number | Day’s low. On each day, and on current when it shows a day |
| precipitation | string | Chance of precipitation, as shown ( 4% ) |
| humidity | string | Humidity, as shown ( 58% ) |
| wind | string | Wind speed, as shown ( 5 mph ) |
Navigate to header: Response example Response example
A response to
weather new york
in the United States, on desktop:
{
"success"
:
true
,
"result"
: {
"weather"
: {
"location"
:
"New York, NY"
,
"unit"
:
"°F"
,
"current"
: {
"time"
:
"Wednesday 9:00 AM"
,
"condition"
:
"Partly sunny"
,
"temperature"
:
57
,
"precipitation"
:
"4%"
,
"humidity"
:
"58%"
,
"wind"
:
"5 mph"
},
"hourly"
: [
{
"time"
:
"Wednesday 9:00 AM"
,
"condition"
:
"Partly sunny"
,
"temperature"
:
57
,
"precipitation"
:
"4%"
,
"humidity"
:
"58%"
,
"wind"
:
"5 mph"
}
// …
],
"daily"
: [
{
"time"
:
"Wed"
,
"condition"
:
"Partly sunny"
,
"high"
:
62
,
"low"
:
51
},
{
"time"
:
"Thu"
,
"condition"
:
"Heavy rain"
,
"high"
:
59
,
"low"
:
42
}
// …
]
}
}
}
Was this page helpful?
Ask a question...
Navigate to header: Weather structure
Navigate to header: Order of hours and days