Opens in a new tab

Bricks Query API × api.weather.gov

Weather in San Diego

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.

7-day forecast

GET /gridpoints/SGX/57,14/forecast → properties.periods

Tonight

Mostly Clear

72°

Mostly Clear

Mostly clear, with a low around 72. West wind 0 to 5 mph.

Wind W 0 to 5 mphRain 1%

Wednesday

Sunny

92°

Sunny

Sunny, with a high near 92. Northwest wind 0 to 10 mph.

Wind NW 0 to 10 mphRain 2%

Wednesday Night

Partly Cloudy

70°

Partly Cloudy

Partly cloudy, with a low around 70. Northwest wind 0 to 5 mph.

Wind NW 0 to 5 mphRain 1%

Thursday

Mostly Sunny

89°

Mostly Sunny

Mostly sunny, with a high near 89. Northwest wind 0 to 10 mph.

Wind NW 0 to 10 mphRain 0%

Thursday Night

Partly Cloudy

70°

Partly Cloudy

Partly cloudy, with a low around 70. Northwest wind 0 to 5 mph.

Wind NW 0 to 5 mphRain 0%

Friday

Mostly Sunny

86°

Mostly Sunny

Mostly sunny, with a high near 86.

Wind NW 0 to 10 mphRain 0%

Friday Night

Mostly Cloudy

69°

Mostly Cloudy

Mostly cloudy, with a low around 69.

Wind NW 5 to 10 mphRain 5%

Saturday

Partly Sunny

81°

Partly Sunny

Partly sunny, with a high near 81.

Wind NW 5 to 10 mphRain 5%

Saturday Night

Slight Chance Rain Showers

68°

Slight Chance Rain Showers

A slight chance of rain showers after 11pm. Mostly cloudy, with a low around 68.

Wind NW 5 to 10 mphRain 20%

Sunday

Chance Rain Showers

75°

Chance Rain Showers

A chance of rain showers. Partly sunny, with a high near 75.

Wind W 5 to 15 mphRain 28%

Sunday Night

Chance Rain Showers

64°

Chance Rain Showers

A chance of rain showers. Mostly cloudy, with a low around 64.

Wind SW 10 to 15 mphRain 36%

Columbus Day

Chance Rain Showers

73°

Chance Rain Showers

A chance of rain showers. Partly sunny, with a high near 73.

Wind SW 10 to 15 mphRain 30%

Monday Night

Chance Rain Showers

62°

Chance Rain Showers

A chance of rain showers before 5am. Mostly cloudy, with a low around 62.

Wind NW 5 to 10 mphRain 28%

Tuesday

Mostly Sunny

74°

Mostly Sunny

Mostly sunny, with a high near 74.

Wind NW 5 to 10 mphRain 14%

Recent alerts in CA

GET /alerts?area=CA&limit=6 → features

Moderate

Heat Advisory

Northwestern Interior Mendocino; Northeastern Interior Mendocino; Southwestern Interior Mendocino; Southeastern Interior Mendocino; Northern Lake; Western Lake; Southwestern Lake; Eastern Lake

Heat Advisory issued October 6 at 9:14PM PDT until October 8 at 11:00PM PDT by NWS Eureka CA

Moderate

Heat Advisory

Sonoma Coastal Range; North Bay Interior Mountains; North Bay Interior Valleys; San Francisco Bay Shoreline; East Bay Interior Valleys; Santa Cruz Mountains; Santa Clara Valley Including San Jose; Eastern Santa Clara Hills; East Bay Hills; Southern Salinas Valley/Arroyo Seco and Lake San Antonio; Santa Lucia Mountains and Los Padres National Forest; Mountains Of San Benito County And Interior Monterey County Including Pinnacles National Park

Heat Advisory issued October 6 at 9:02PM PDT until October 8 at 10:00PM PDT by NWS San Francisco CA

Moderate

Beach Hazards Statement

San Diego County Coastal Areas; Orange County Coastal

Beach Hazards Statement issued October 6 at 6:57PM PDT until October 9 at 11:00PM PDT by NWS San Diego CA

Minor

Coastal Flood Advisory

San Diego County Coastal Areas; Orange County Coastal

Coastal Flood Advisory issued October 6 at 6:57PM PDT until October 9 at 11:00AM PDT by NWS San Diego CA

Moderate

Heat Advisory

West Side Mountains north of 198; Los Banos - Dos Palos; Merced - Madera - Mendota; Planada - Le Grand - Snelling; Coalinga - Avenal; West Side of Fresno and Kings Counties; Caruthers - San Joaquin - Selma; Fresno-Clovis; West Side Mountains South of 198; Buttonwillow - Lost Hills - I5; Delano-Wasco-Shafter; Hanford - Corcoran - Lemoore; Visalia - Porterville - Reedley; Buena Vista; Bakersfield; Southeast San Joaquin Valley; South End San Joaquin Valley; Mariposa Madera Foothills; Mariposa-Madera Lower Sierra; Fresno-Tulare Foothills; Fresno-Tulare Lower Sierra; South End Sierra Foothills; South End of the Lower Sierra

Heat Advisory issued October 6 at 4:32PM PDT until October 9 at 10:00PM PDT by NWS Hanford CA

Severe

Extreme Heat Warning

Coachella Valley; San Diego County Deserts; San Gorgonio Pass Near Banning

Extreme Heat Warning issued October 6 at 3:38PM PDT until October 9 at 8:00PM PDT by NWS San Diego CA

How it works

Three settings per loop. That is the whole integration.

01

Point the loop at an endpoint

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

Tell it where the array lives

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

Print fields with one tag

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'}