dev.uk.app
REST · JSON · v1

Weather API

Current conditions and forecasts up to 16 days. Temperature, precipitation, wind and daily sunrise and sunset.

Authorization

Send your key in the Authorization header. Never include it in a URL or publish it in frontend code.

Authorization: Bearer dev_live_YOUR_KEY

https://dev.uk.app/api/v1

Weather API

Current conditions and forecasts up to 16 days. Temperature, precipitation, wind and daily sunrise and sunset.

MethodEndpointParameters
GET/weather/currentlat, lon
GET/weather/forecastlat, lon, days=1..16
curl 'https://dev.uk.app/api/v1/weather/forecast?lat=50.45&lon=30.52&days=7' \
  -H 'Authorization: Bearer YOUR_API_KEY'

current, hourly, daily: temperature_2m, weather_code, wind_speed_10m, precipitation; daily: temperature_2m_max, temperature_2m_min, sunrise, sunset. timezone: UTC, auto, Europe/Kyiv…

Quotas and billing

Quotas are shared across all your projects and keys, with a separate allowance for each API.

Monthly quotas reset on the first day of the UTC calendar month. Subscriptions renew monthly from purchase. Excess requests are blocked with HTTP 429.

X-Quota-Limit: 10000
X-Quota-Remaining: 9999
X-Quota-Reset: 1793491200
X-Request-ID: 00000000-0000-0000-0000-000000000000

400 invalid input · 401 invalid key · 403 API scope denied · 409 idempotency conflict · 429 quota/rate limit · 503 upstream unavailable. Quota failures include Retry-After.

Optional Idempotency-Key protects retries for the same account, API, endpoint and input. Replays are free for ten minutes. The temporarily cached response is encrypted, then deleted. Request history retains only endpoint, status, units and timing for 30 days.

Data sources

Weather: Open-Meteo · IP: DB-IP Lite · CC BY 4.0. Retain attribution when displaying or redistributing data. Source information is included in API responses.

Try an API request

Send your key in the Authorization header. Never include it in a URL or publish it in frontend code.

This sends one real request and uses your quota. Your key is kept only in this form.

Our partners

VultrVultrUptimeRobot