---
title: "Weather - current conditions, forecast, and alerts"
method: GET
path: "/v1/weather"
tags: ["Conditions"]
---

# Weather - current conditions, forecast, and alerts

`GET /v1/weather`

## Request

- Base URL: `https://geo.thinair.co`
- URL: `https://geo.thinair.co/v1/weather`
- Auth: HTTP bearer

Current conditions + optional multi-day forecast and severe-weather alerts for a coordinate pair or place name.

## Query parameters

- `lat` number
- `lon` number
- `location` string: Free-text place name; geocoded server-side. Provide either lat+lon or location.
- `units` 'imperial' | 'metric': Temperature/wind units (default: imperial).
- `include_forecast` boolean, nullable: Include multi-day hourly forecast.
- `forecast_days` integer: Forecast horizon in days (1-16, default 5).
- `include_alerts` boolean, nullable: Include severe-weather alerts (default: true).
- `include_minutely` boolean, nullable: Include minute-by-minute precipitation for the next 60 minutes.

## Response `200`

Weather observations and forecasts.

- WeatherResponse: Pass-through of the typed WeatherResult. Field set varies with include_* flags.
  - `location` object, required
    - `lat` number, required
    - `lon` number, required
    - `label` string
  - `units` 'imperial' | 'metric', required
  - `current` object, required
  - `forecast` object[]
  - `forecast_days` number
  - `alerts` object[]
  - `alerts_error` string
  - `minutely_precipitation` object[]
  - `minutely_error` string
  - `source` string, required
  - `meta` object, required
    - `upstream_ms` number, required
    - `feature_count` number, required
    - `cacheHit` boolean
  - `upstream_error` string, nullable

## Other responses

- `400`: Validation error.
- `429`: Quota exceeded.
- `502`: Weather provider unavailable.
- `504`: Weather provider timed out.

---

[API](https://skmtc.dev/thinair/apis/thinair-geo-api.md) · [All operations](https://skmtc.dev/thinair/apis/thinair-geo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/thinair/apis/thinair-geo-api/revisions/8fac2d5e4b34?raw)
