---
title: "Forecast"
method: GET
path: "/api/v1/data/weather/forecast/{lat},{lon}"
tags: ["Weather Data"]
---

# Forecast

`GET /api/v1/data/weather/forecast/{lat},{lon}`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/data/weather/forecast/{lat},{lon}`
- Auth: none declared

Get 7-day forecast for a location.

Uses NWS two-step process: /points -> forecast URL -> periods.
**Pricing:** Included in subscription tiers (legacy list price: GET /api/v1/billing/pricing).

Parameters
----------
lat : float
    Latitude (e.g., 40.7128 for New York)
lon : float
    Longitude (e.g., -74.0060 for New York)

## Path parameters

- `lat` number, required
- `lon` number, required

## Query parameters

- `x_api_key` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/deepmapai/apis/deepmap-ai.md) · [All operations](https://skmtc.dev/deepmapai/apis/deepmap-ai/llms.txt) · [OpenAPI document](https://skmtc.dev/deepmapai/apis/deepmap-ai/revisions/dab995d977d0?raw)
