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 Cloudy

66°

Mostly Cloudy

Mostly cloudy, with a low around 66. North wind 0 to 5 mph.

Wind N 0 to 5 mphRain 0%

Sunday

Mostly Cloudy

74°

Mostly Cloudy

Mostly cloudy, with a high near 74. North wind 0 to 10 mph.

Wind N 0 to 10 mphRain 1%

Sunday Night

Mostly Cloudy then Patchy Drizzle

67°

Mostly Cloudy then Patchy Drizzle

Patchy drizzle after 5am. Mostly cloudy, with a low around 67. Southwest wind 0 to 5 mph.

Wind SW 0 to 5 mphRain 6%

Monday

Patchy Drizzle then Partly Sunny

73°

Patchy Drizzle then Partly Sunny

Patchy drizzle before 11am. Partly sunny, with a high near 73. Southwest wind 5 to 10 mph.

Wind SW 5 to 10 mphRain 6%

Monday Night

Patchy Drizzle

66°

Patchy Drizzle

Patchy drizzle after 11pm. Mostly cloudy, with a low around 66. Northwest wind 0 to 5 mph.

Wind NW 0 to 5 mphRain 0%

Tuesday

Patchy Drizzle then Mostly Sunny

75°

Patchy Drizzle then Mostly Sunny

Patchy drizzle before 11am. Mostly sunny, with a high near 75.

Wind NW 5 to 10 mphRain 0%

Tuesday Night

Mostly Cloudy

67°

Mostly Cloudy

Mostly cloudy, with a low around 67.

Wind NW 0 to 10 mphRain 0%

Wednesday

Mostly Sunny

78°

Mostly Sunny

Mostly sunny, with a high near 78.

Wind NW 0 to 10 mphRain 0%

Wednesday Night

Partly Cloudy

67°

Partly Cloudy

Partly cloudy, with a low around 67.

Wind NW 0 to 5 mphRain 0%

Thursday

Mostly Sunny

81°

Mostly Sunny

Mostly sunny, with a high near 81.

Wind NW 0 to 10 mphRain 0%

Thursday Night

Partly Cloudy

69°

Partly Cloudy

Partly cloudy, with a low around 69.

Wind NW 0 to 5 mphRain 2%

Friday

Mostly Sunny

84°

Mostly Sunny

Mostly sunny, with a high near 84.

Wind NW 0 to 10 mphRain 2%

Friday Night

Partly Cloudy

70°

Partly Cloudy

Partly cloudy, with a low around 70.

Wind NW 5 mphRain 1%

Saturday

Mostly Sunny

85°

Mostly Sunny

Mostly sunny, with a high near 85.

Wind NW 5 to 10 mphRain 2%

Recent alerts in CA

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

Moderate

Special Weather Statement

Southern Trinity

Special Weather Statement issued September 17 at 4:23PM PDT by NWS Eureka CA

Extreme

Tsunami Warning

San Pablo Bay, Suisun Bay, the West Delta and the San Francisco Bay north of the Bay Bridge; San Francisco Bay South of the Bay Bridge; San Diego County Coastal Areas; Ventura County Beaches; Malibu Coast; Los Angeles County Beaches; Palos Verdes Hills; Orange County Coastal; Catalina and Santa Barbara Islands; San Miguel and Santa Rosa Islands; Santa Cruz and Anacapa Islands; Santa Barbara County Southwestern Coast; Santa Barbara County Southeastern Coast; San Luis Obispo County Beaches; San Luis Obispo County Inland Central Coast; Santa Lucia Mountains; Santa Barbara County Central Coast Beaches; Northern Monterey Bay; Southern Monterey Bay and Big Sur Coast; San Francisco; Southwestern Solano County Including Vallejo; Coastal North Bay Including Point Reyes National Seashore; North Bay Interior Valleys; San Francisco Bay Shoreline; San Francisco Peninsula Coast; East Bay Interior Valleys; Coastal Mendocino; Southwestern Humboldt; Northern Coastal Humboldt; Coastal Del Norte; South Central Oregon Coast; Curry County Coast; Central Coast of Oregon; Clatsop County Coast; Tillamook County Coast; San Juan County; South Washington Coast; Lowlands of Western Whatcom County; Lowlands of Western Skagit and Northwestern Snohomish Counties; Port Townsend Area; Eastern Strait of Juan de Fuca; Western Strait of Juan de Fuca; Northern Washington Coast; Grays Harbor County Coast; Lower Chehalis River Valley; Island County; Prince of Wales Island; City and Borough of Wrangell; Ketchikan Gateway Borough; City of Hyder; Annette Island; City and Borough of Sitka; Admiralty Island; Petersburg Borough; Western Kupreanof and Kuiu Island; Municipality of Skagway; Haines Borough and Klukwan; Glacier Bay; Eastern Chichagof Island; Cape Fairweather to Lisianski Strait; City and Borough of Juneau; City and Borough of Yakutat; Valdez; Cordova; Southern Kachemak Bay; SW Kenai Peninsula; NW Kenai Peninsula; Southern Kenai Mtns; West Prince William Sound & Whittier; Tyonek; Kodiak Island Northeast; Kodiak Island Southwest; Chignik and Perryville; Aleutians East Borough; Unalaska and Nikolski; Atka and Adak; Pribilof Islands; Shemya and Attu Islands

TEST Tsunami Warning issued September 17 at 9:30AM PDT until September 17 at 10:30AM PDT by NWS National Tsunami Warning Center

Moderate

Lake Wind Advisory

West Side Mountains north of 198

Lake Wind Advisory issued September 16 at 11:52PM PDT until September 17 at 12:00AM PDT by NWS Hanford CA

Severe

Flash Flood Warning

Mohave, AZ; San Bernardino, CA

Flash Flood Warning issued September 16 at 9:24PM PDT until September 16 at 9:30PM PDT by NWS Las Vegas NV

Severe

Flash Flood Warning

Mohave, AZ; San Bernardino, CA

Flash Flood Warning issued September 16 at 8:25PM PDT until September 16 at 9:30PM PDT by NWS Las Vegas NV

Moderate

Dust Advisory

La Paz, AZ; Yuma, AZ; Imperial, CA

Dust Advisory issued September 16 at 7:37PM MST until September 16 at 7:45PM MST by NWS Phoenix AZ

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