This Afternoon
86°
Sunny
Sunny, with a high near 86. Northwest wind 5 to 10 mph.
Bricks Query API × api.weather.gov
Everything on this page is a native Bricks query loop reading live JSON from the National Weather Service. No plugin, no PHP, no API key. Pick a city and the loops re-query from the URL.
GET /gridpoints/SGX/57,14/forecast → properties.periods
This Afternoon
86°
Sunny
Sunny, with a high near 86. Northwest wind 5 to 10 mph.
Tonight
64°
Mostly Clear
Mostly clear, with a low around 64. Northeast wind 0 to 5 mph.
Tuesday
84°
Sunny
Sunny, with a high near 84. Northwest wind 0 to 10 mph.
Tuesday Night
64°
Mostly Clear
Mostly clear, with a low around 64. Northeast wind 0 to 5 mph.
Veterans Day
84°
Sunny
Sunny, with a high near 84. North wind 0 to 10 mph.
Wednesday Night
62°
Mostly Clear
Mostly clear, with a low around 62.
Thursday
80°
Sunny
Sunny, with a high near 80.
Thursday Night
63°
Partly Cloudy then Chance Rain Showers
A chance of rain showers after 4am. Partly cloudy, with a low around 63.
Friday
75°
Chance Rain Showers
A chance of rain showers. Partly sunny, with a high near 75.
Friday Night
62°
Chance Rain Showers
A chance of rain showers. Mostly cloudy, with a low around 62.
Saturday
74°
Chance Rain Showers
A chance of rain showers before 4pm. Mostly sunny, with a high near 74.
Saturday Night
61°
Slight Chance Rain Showers
A slight chance of rain showers after 10pm. Partly cloudy, with a low around 61.
Sunday
72°
Chance Rain Showers
A chance of rain showers. Mostly sunny, with a high near 72.
Sunday Night
60°
Chance Rain Showers
A chance of rain showers. Mostly cloudy, with a low around 60.
GET /alerts?area=CA&limit=6 → features
Northern Coastal Humboldt
Coastal Flood Advisory issued November 9 at 12:23PM PST until November 9 at 12:00PM PST by NWS Eureka CA
San Francisco
Coastal Flood Advisory issued November 9 at 12:13PM PST until November 13 at 4:00PM PST by NWS San Francisco CA
San Francisco
Beach Hazards Statement issued November 9 at 12:13PM PST until November 9 at 10:00PM PST by NWS San Francisco CA
Southern Monterey Bay and Big Sur Coast
Beach Hazards Statement issued November 9 at 12:13PM PST until November 9 at 10:00PM PST by NWS San Francisco CA
Coastal North Bay Including Point Reyes National Seashore; San Francisco Peninsula Coast; Northern Monterey Bay
Coastal Flood Advisory issued November 9 at 12:13PM PST until November 10 at 12:00PM PST by NWS San Francisco CA
North Bay Interior Valleys; San Francisco Bay Shoreline
Coastal Flood Advisory issued November 9 at 12:13PM PST until November 13 at 4:00PM PST by NWS San Francisco CA
Three settings per loop. That is the whole integration.
01
Set the query type to API and paste the URL. Dynamic data works inside it, so the city links above swap the office and grid through URL parameters, with a fallback when none is set.
api.weather.gov/gridpoints/{url_parameter:office}/…
02
The response path walks the JSON with dot notation to the list you want to repeat. Responses are cached, so the page does not hit the API on every view.
properties.periods
03
Use the query_api tag with a key in any text, image, link, or attribute. A pipe reaches nested values. The alert colors come from a data attribute bound to the severity field.
{query_api @key:'properties|severity'}