API

Endpoints

No API key is currently required. Public endpoints use HTTPS and return JSON.

GET

Current conditions

https://stnicholasweather.co.uk/api/v1/current

Returns the latest available station observation with descriptive field names and units.

Open raw JSON ↗


GET

Station information

https://stnicholasweather.co.uk/api/v1/station

Returns public station metadata, including general location, elevation and equipment.

Open raw JSON ↗


GET

Recent observations

https://stnicholasweather.co.uk/api/v1/graph

Returns a recent series of observations supplied through WOW-BE, intended primarily for graphs, analysis and visualisation.

Open raw JSON ↗


Schema

Current observation fields

FieldMeaningUnit
timestampObservation timeISO 8601
temperature_cAir temperature°C
humidity_percentRelative humidity%
pressure_sea_level_hpaAtmospheric pressure reduced to sea levelhPa
wind_speed_kmhWind speedkm/h
wind_direction_degreesWind directiondegrees
rain_rate_mm_hRainfall intensitymm/h
rain_accumulation_mmUpstream rainfall accumulation fieldmm
solar_radiation_w_m2Solar radiationW/m²

Quick start

Use the API

JavaScript

fetch("https://stnicholasweather.co.uk/api/v1/current")
  .then(response => response.json())
  .then(data => console.log(data));

Python

import requests

response = requests.get(
    "https://stnicholasweather