---
title: "Nearest Stations"
method: GET
path: "/api/stations/nearest"
tags: ["Stations and data"]
---

# Nearest Stations

`GET /api/stations/nearest`

## Request

- Base URL: `https://epw.tools`
- URL: `https://epw.tools/api/stations/nearest`
- Auth: none declared

Return the n closest active weather stations to (lat, lon).

## Query parameters

- `lat` number, required
- `lon` number, required
- `n` integer

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/epw/apis/epw-tools-api.md) · [All operations](https://skmtc.dev/epw/apis/epw-tools-api/llms.txt) · [OpenAPI document](https://skmtc.dev/epw/apis/epw-tools-api/revisions/e6b60fc7a6d7?raw)
