---
title: "Air Quality Forecast"
method: POST
path: "/api/v1/air-quality/forecast"
tags: ["Air Quality Data"]
---

# Air Quality Forecast

`POST /api/v1/air-quality/forecast`

## Request

- Base URL: `https://www.deepmapai.com`
- URL: `https://www.deepmapai.com/api/v1/air-quality/forecast`
- Auth: none declared

Generate AQI forecast for a location.

Uses current conditions and persistence-weighted forecasting
to predict AQI over the specified time horizon.
**Pricing:** Included in subscription tiers (legacy list price: GET /api/v1/billing/pricing).

Parameters (JSON body):
- lat: float -- Latitude
- lon: float -- Longitude
- forecast_hours: int -- Forecast horizon (1-72, default 24)

## Query parameters

- `x_api_key` string, nullable

## Request body

- object

## 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)
