Return to API Services listing.

Documentation for /geojson/webcam.py

This service emits a geojson with metadata for webcam information that is active at the given timestamp/now.

Changelog

  • 2025-06-02: Added property utc_valid and imgurl to align with other services.
  • 2024-06-30: Initial documentation release. Parameter valid added for consistency with other services.

Example Usage

Return current webcam information.

https://mesonet.agron.iastate.edu/geojson/webcam.geojson

CGI Arguments

The following table lists the CGI arguments that are accepted by this service. A HTTP GET request is required. Fields of type Multi-Params or CSV value can accept either a comma separated list or multiple parameter and value combinations. For example, ?foo=1&foo=2 is equivalent to ?foo=1,2.

Field Type Description
callback string or null Legacy JSON-P style callback. It is likely best to not depend on this usage. The IEM website has a permissive CORS.
network string IEM network identifier. Typically a combination of a US state abbreviation and a network classification, ie IA_ASOS.
ts string Optional legacy timestamp to request webcams for.
valid string Optional timestamp to request webcams for.