---
title: "Get Weather"
method: GET
path: "/users/me/weather"
tags: ["proxy"]
---

# Get Weather

`GET /users/me/weather`

Get weather for the user's current location - prioritizes recent location pings, falls back to IP geolocation

## Query parameters

- `city` string, nullable — Override city for localhost testing
- `state` string, nullable — Override state for localhost testing
- `country` string, nullable — Override country for localhost testing

## Response `200`

Successful Response

- WeatherResponse
  - `city` string, required
  - `state` string, nullable
  - `country` string, nullable
  - `latitude` number, required
  - `longitude` number, required
  - `current` WeatherCurrent, required
    - `time` string, required
    - `temperature_2m` number, required
    - `weather_code` integer, required
    - `weather_description` string, required
  - `hourly` WeatherHourly, required
    - `time` string[], required
    - `temperature_2m` number[], required
    - `weather_code` integer[], required
    - `weather_description` string[], required
  - `temperature_unit` string
  - `cached` boolean

## Other responses

- `422` — Validation Error

---

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