The Envirofacts service from the U.S. Environmental Protection Agency (EPA) provides an index of ultraviolet (UV) radiation at a particular location during a specified time period. Applications can access the data for locations in the United States by Zip Code or city and state, allowing either local focus or national reach. The service provides forecasts one day ahead.
API methods support submission of a U.S. location, specified as either as Zip Code or city and state. Methods return the current forecast for the next day's UV index in any of four data formats. Methods also return UV alerts if index values are projected to exceed appropriate thresholds.