---
title: "Resolve lat/lon to NWS gridpoint and associated URLs"
method: GET
path: "/api/v1/weather/nws/point"
tags: ["Environment"]
---

# Resolve lat/lon to NWS gridpoint and associated URLs

`GET /api/v1/weather/nws/point`

Step 1 of the NWS forecast flow. Convert a lat/lon into the NWS gridpoint tuple `(wfo, grid_x, grid_y)` together with the URLs for the 7-day forecast, the hourly forecast, the raw forecast grid, the observation station list, and the forecast / county / fire weather zones. Sugra's own `/forecast` and `/forecast/hourly` endpoints chain this lookup internally; `/point` is exposed so clients that want to compose requests against the raw upstream URLs can do so without re-implementing the resolution. US only: lat/lon outside US territory returns 503. Cached 24 hours (a point-to-gridpoint assignment is stable for any given coordinate). Attribution: NOAA National Weather Service (api.weather.gov).

## Query parameters

- `lat` number, required — Latitude in decimal degrees, -90 to 90. US territory only.
- `lon` number, required — Longitude in decimal degrees, -180 to 180. US territory only.

## Response `200`

Gridpoint resolution plus upstream URL catalog.

- EnvelopeNwsPointPayload
  - `data` NwsPointPayload, required — Result of lat/lon -> gridpoint resolution.
    - `wfo` string, nullable — Weather forecast office code (e.g. `LWX`, `OKX`).
    - `grid_x` integer, nullable — Gridpoint x coordinate (integer).
    - `grid_y` integer, nullable — Gridpoint y coordinate (integer).
    - `time_zone` string, nullable — IANA time zone identifier for the gridpoint (e.g. `America/New_York`).
    - `city` string, nullable — Nearest city name as reported by NWS.
    - `state` string, nullable — US state code for the nearest city.
    - `radar_station` string, nullable — Nearest NWS radar station ID.
    - `forecast_url` string, nullable — Upstream URL for the 7-day forecast.
    - `forecast_hourly_url` string, nullable — Upstream URL for the hourly forecast.
    - `forecast_grid_data_url` string, nullable — Upstream URL for the raw forecast grid.
    - `observation_stations_url` string, nullable — Upstream URL for the station list covering this gridpoint.
    - `forecast_zone` string, nullable — Forecast zone ID covering this point.
    - `county_zone` string, nullable — County zone ID covering this point.
    - `fire_weather_zone` string, nullable — Fire weather zone ID covering this point.
  - `meta` SugraMeta, required — Metadata attached to every /api/v1/* response envelope.
    - `endpoint` string, required — Requested endpoint path.
    - `data_time` string, required — ISO 8601 UTC timestamp of the source data, not of the request.
    - `response_time` string, required — ISO 8601 UTC timestamp when this response was produced.
    - `provider` string, required — API name and version.
    - `source` string, nullable — Identifier of the primary upstream source used for this response.
    - `attribution` string, nullable — Human-readable attribution mandated by an upstream source (e.g. a securities regulator or self-regulatory organization). Present only on responses whose source requires the owner and source to be clearly identified. Do not remove or alter it when using the response.
    - `fallback_used` boolean, nullable — True when the primary source failed and a fallback produced the data.
    - `fallback_chain` string[], nullable — Ordered list of sources attempted, in the order they were tried.
    - `cached` boolean, nullable — True when this response was served from the internal cache.
    - `stale` boolean, nullable — True when the cached response was returned after the upstream rate-limited or errored. Clients can use this to detect degraded data.

## Other responses

- `401` — Missing or invalid `x-api-key` header.
- `422` — Validation Error
- `429` — Daily rate limit exceeded. Check `X-RateLimit-Reset` for the next window.
- `503` — Upstream source is temporarily unavailable. Retry after a short delay.

---

[API](https://skmtc.net/sugra/apis/sugra-api.md) · [All operations](https://skmtc.net/sugra/apis/sugra-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sugra/sugra-api/versions/4e2740743eb4/schema)
