Pushbuild

UV Index API - EPA Hourly and Daily UV Forecast

US UV index forecasts from the EPA and National Weather Service via Envirofacts: hourly UV index for the day or the daily maximum with UV alert flag, for any ZIP code or city, with exposure risk category (low to extreme). Batch up to 200 locations.

$0.08 per 1,000 readings

Get an API key

What it returns

US UV index forecasts from the EPA and National Weather Service via Envirofacts: hourly UV index for the day or the daily maximum with UV alert flag, for any ZIP code or city, with exposure risk category (low to extreme). Batch up to 200 locations.

Request

POST https://api.pushbuild.com/epa-uv-index/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
modestring: hourly, daily Default: "hourly".
zipCodesstringComma separated.
citiesstringCity,ST separated by semicolons, e.g. Miami,FL; Denver,CO
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/epa-uv-index/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.08 per 1,000 readings. No charge for errors or empty searches.

Related APIs

Air Quality API

Official US air quality from EPA AirNow: current AQI and next-day forecasts for every US reporting area (plus US embassy cities abroad), and hourly readings from about 2,000 monitors: AQI, PM2.5, PM10, ozone, NO2, CO and SO2.

France Fuel Prices API

Live fuel prices at about 9,800 French filling stations from the government feed: diesel (gazole), SP95, E10, SP98, E85 and LPG per litre with update times, address, coordinates, motorway flag, shortages, 24h automats and services.

Historical Weather API

Daily weather observations from NOAA NCEI (GHCN-Daily) for 100,000+ stations worldwide, some since the 1800s: max, min and average temperature, precipitation, snowfall, snow depth, wind speed, gusts and direction, weather types.

Italy Train Status API: Trenitalia Live Delays API

Live status of Italian trains (Frecciarossa, Intercity, Regionale) from the official ViaggiaTreno feed: every stop with scheduled and actual times, delay and platform, or a station's live departures and arrivals board..

London TfL Status API

Live London transport status from Transport for London: every Tube, Elizabeth line, Overground, DLR and tram line (and bus or river on request) with status (good service, minor or severe delays, part closure, planned closure), severity, reason and validity period..

NOAA Buoy Data API

Live and recent observations from about 900 NOAA National Data Buoy Center buoys and coastal stations: wave height and period, wind speed, gusts and direction, water and air temperature, pressure, dew point, visibility and tide.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.