Embeddable UI components for web integration
Embeddable HTML UI
Returns a complete, HTML page displaying comprehensive weather data for a specific location. See the examples page for more details.
Authorization headers set automatically from query parameters on this endpoint.
query Parameters
latLatitude coordinate (-90 to 90) for the location center of the precipitation widget
lonLongitude coordinate (-180 to 180) for the location center of the precipitation widget
apiKeyYour API key for authentication. Gets automatically applied as header.
unitsUnit system for displaying precipitation amounts and temperatures. 'metric' shows mm and °C, 'imperial' shows inches and °F.
widgetsComma-separated list of widget keys to display.
Available options:
current, event, calendar, cumulative, total, precip, table, wind, temp, soiltemp, soilmoisture, snow
When not provided, shows all widgets.
Headers
AuthorizationThe Authorization header is used to authenticate with the API using your API key. Value is of the format Bearer YOUR_KEY_HERE.
Embeddable HTML UI › Responses
Interactive precipitation widget HTML successfully retrieved. Returns a complete, self-contained HTML page optimized for iframe embedding.
Complete HTML page containing an interactive precipitation widget with charts, current conditions, and historical data. Includes embedded CSS and JavaScript for full functionality.