Return to API Services </api/#json>.
Documentation for /json/webcams.json
This service provides a listing of available archived webcam images for a given time. The first entry is to a crude overview map with the NEXRAD overlain at the given time.
Changelog
- 2024-08-14: Initial documentation update
Example usage
Return webcam images value at approximately 2020-08-10 17:00 UTC for the KCRG network:
https://mesonet.agron.iastate.edu/json/webcams.py?network=KCRG&ts=2020-08-10T16:00:00Z
The same request, but for the IDOT network:
https://mesonet.agron.iastate.edu/json/webcams.py?network=IDOT&ts=2020-08-10T16:00:00Z
Get current imagery from the MCFC network:
https://mesonet.agron.iastate.edu/json/webcams.py?network=MCFC
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 or null | Archived timestamp to look for imagery, not providing implies realtime. |