How to use IMS — Israel Meteorological Service — a practical guide

If you're here, you probably want working code in five minutes. That's exactly what this guide does.

Five steps to get started

  1. 1
    Register at api.ims.gov.il and receive a key.
  2. 2
    Use header: Authorization: ApiToken <key>.
  3. 3
    GET /v1/envista/stations for station list.
  4. 4
    GET /v1/envista/stations/{stationId}/data/latest for live data.

Shortest snippet that will actually run

curl -H "Authorization: ApiToken YOUR_KEY" \
  "https://api.ims.gov.il/v1/envista/stations/178/data/latest"

Common mistakes (the honest list)

Station 178 = Tel Aviv coast. Station 73 = Jerusalem. Full list via /stations.
Product pattern: use IMS for Israel, OpenWeather for abroad.