Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Environmental Protection Agency UVIndex API

The UVIndex API from Environmental Protection Agency — 4 operation(s) for uvindex.

Environmental Protection Agency UVIndex API is one of 6 APIs that Environmental Protection Agency publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include UVIndex. The published artifact set on APIs.io includes an OpenAPI specification.

This API exposes 4 operations across 4 paths, and defines 2 schemas. It is described by OpenAPI 3.1.0, at version 1.0.0.

Requests are made against a single base URL, https://data.epa.gov.

4 operations 4 paths 2 schemas 4 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
1.0.0
Base URL
https://data.epa.gov/efservice/
License
U.S. Public Domain
Resource Areas
1

Paths & Operations 4

Across 4 paths, the API surfaces 4 operations — 4 GET. Each is listed below with its method, path, parameters, and response codes.

UVIndex 4
GET
/dmapservice/getEnvirofactsUVHOURLY/ZIP/{zip}/{format}
Hourly UV index forecast for a ZIP code
getUvHourlyByZip 2 params → 200
GET
/dmapservice/getEnvirofactsUVHOURLY/CITY/{city}/STATE/{state}/{format}
Hourly UV index forecast for a city and state
getUvHourlyByCityState 3 params → 200
GET
/dmapservice/getEnvirofactsUVDAILY/ZIP/{zip}/{format}
Daily UV index forecast for a ZIP code
getUvDailyByZip 2 params → 200
GET
/dmapservice/getEnvirofactsUVDAILY/CITY/{city}/STATE/{state}/{format}
Daily UV index forecast for a city and state
getUvDailyByCityState 3 params → 200

Schemas 2

The contract defines 2 schemas that model the data the API accepts and returns. The most detailed are UvDaily (5 properties), UvHourly (4 properties). Each schema is shown below with its type and property counts.

UvDaily
object
5 properties
UvHourly
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

environmental-protection-agency-uvindex-api-openapi.yml Raw ↑

Other APIs Environmental Protection Agency publishes across the network.

EPA Envirofacts Data Service API
EPA Air Quality System API
EPA UV Index API
EPA ECHO Compliance and Enforcement API
Environmental Protection Agency Envirofacts API