Attribution
activeweather sources data from public-domain providers. Here's how to give proper credit.
Data sources
| Source | Data | License |
|---|---|---|
| National Weather Service (NWS) | Forecasts, current conditions, alerts | Public Domain |
| AirNow | Air quality index | Public Domain |
Requirements
Both NWS and AirNow data are in the public domain and do not require a specific license notice. However, as a condition of using the activeweather API, you must:
- Display the
sourcesarray — Each API response includes asourcesarray. Display the source names visibly near the data. A small footer line like "Data from NWS" is sufficient. - Link to the source — Where possible, make the source name a hyperlink
to the URL provided in the
sourcesarray.
Example attribution
A minimal attribution line for forecast data:
<footer>
Data from <a href="https://www.weather.gov">NWS</a>
</footer> For air quality data:
<footer>
Air quality data from <a href="https://www.airnow.gov">AirNow</a>
</footer> activeweather attribution page
We maintain a comprehensive attribution page at /attribution listing all data sources, their licenses, and update frequencies. You may link to this page as an alternative to inline attribution.
Widgets handle this automatically. If you're using activeweather widgets, attribution is built into the widget footer. No additional markup is needed.