Return to API Services
Documentation for /geojson/network.py
This service provides a GeoJSON representation of stations within a given network.
Changelog
- 2026-02-24: For IEM consistency, the generation_time root attribute was renamed generated_at.
- 2026-01-26: Added has_attribute parameter to allow a filtered result to those stations with that attribute set.
- 2024-11-25: Added network overload value of HAS_HML for sites with HML data.
- 2024-08-19: Initial documentation update
Example Usage
Provide Iowa DCP sites with hourly precipitation available.
https://mesonet.agron.iastate.edu/geojson/network.py?network=IA_DCP&has_attribute=HAS_PHOUR
Provide all sites with 1 minute ASOS data:
https://mesonet.agron.iastate.edu/geojson/network.py?network=ASOS1MIN
Provide all sites with TAF data:
https://mesonet.agron.iastate.edu/geojson/network.py?network=TAF
Provide sites that are online within ASOS class networks
https://mesonet.agron.iastate.edu/geojson/network.py?network=AZOS&only_online=1
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. |
| has_attribute | string | Station Attribute to filter on |
| network | string | IEM network identifier. Typically a combination of a US state abbreviation and a network classification, ie IA_ASOS. |
| only_online | boolean | Only include online stations |