Units of Measurement

We define three unit localisation groups. These groups are:

UK (ft, mph, c)
US (ft, mph, f)
EU (m, kph, c)

The groupings define the set of units for the measurements we provide that our commonly used by that area. Unfortunately it’s not as clear cut as metric or imperial, because wave height and tidal height don’t conform to this across these three areas and they don’t all use just metric or just imperial, it’s can be a mixture. By default the API will return UK units, unless you specify otherwise and you need to specify with every request. In the places where units are used the API will return the unit for the given measurement.

Units can be set by appending:

units=eu

To the request. For example:

http://magicseaweed.com/api/YOURAPIKEY/forecast/?spot_id=10&units=eu

Will returns heights in Meters, wind speeds in Kilometers per hour and temperatures on degrees centigrade.