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

Weather.gov Icons API

The Icons API from Weather.gov — 3 operation(s) for icons.

Weather.gov Icons API is one of 13 APIs that Weather.gov publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Icons. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 3 operations across 3 paths, and defines 3 schemas. It is described by OpenAPI 3.1.2, at version 3.8.1.

Requests are made against a single base URL, https://api.weather.gov.

3 operations 3 paths 3 schemas 3 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.2
API Version
3.8.1
Base URL
https://api.weather.gov
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

Weather.gov Icons API declares 2 security schemes for authenticating requests. An API key is passed in the header as User-Agent (userAgent). An API key is passed in the header as API-Key (apiKeyAuth). By default, every request must be authenticated.

  • userAgent — We require that all consumers of the API include a User-Agent header in requests. This is due to a high number of scripts exhibiting abusive behavior (intentio…
  • apiKeyAuth — We are testing including a more traditional API Key system on certain endpoints. This is due to a large change in the weather.gov site. The API remains open an…

Paths & Operations 3

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

Icons 3
GET
/icons/{set}/{timeOfDay}/{first}deprecated
Weather.gov Returns a Forecast Icon. Icon Services in API Are Deprecated.
icons 5 params → 200default
GET
/icons/{set}/{timeOfDay}/{first}/{second}deprecated
Weather.gov Returns a Forecast Icon. Icon Services in API Are Deprecated.
iconsDualCondition 6 params → 200default
GET
/iconsdeprecated
Weather.gov Returns a List of Icon Codes and Textual Descriptions. Icon Services in API Are Deprecated.
icons_summary → 200default

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed is ProblemDetail (6 properties). Each schema is shown below with its type and property counts.

BinaryFile
string
ProblemDetail
object
Detail about an error. This document conforms to RFC 7807 (Problem Details for HTTP APIs).
6 properties 6 required
JsonLdContext

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

weather-gov-icons-api-openapi.yml Raw ↑

Other APIs Weather.gov publishes across the network.

Weather.gov Alerts API
Weather.gov Aviation API
Weather.gov Glossary API
Weather.gov Gridpoints API
Weather.gov Offices API
Weather.gov Points API
Weather.gov Products API
Weather.gov Radar API
Weather.gov Radio API
Weather.gov Stations API
Weather.gov Thumbnails API
Weather.gov Zones API