Yr · Example Payload

Yr No Oceanforecast Example

WeatherForecastMeteorologyClimateNorwayNordicOpen DataAviation WeatherMarine WeatherAlerts

Yr No Oceanforecast Example is an example object payload from Yr, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

typegeometryproperties

Example Payload

Raw ↑
{
  "type": "Feature",
  "geometry": {
    "type": "Point",
    "coordinates": [5.0, 60.0]
  },
  "properties": {
    "meta": {
      "updated_at": "2024-01-15T06:00:00Z",
      "units": {
        "sea_surface_wave_height": "m",
        "sea_surface_wave_from_direction": "degrees",
        "sea_surface_swell_wave_height": "m",
        "sea_surface_swell_wave_from_direction": "degrees",
        "sea_surface_wave_period": "s",
        "sea_water_temperature": "celsius",
        "sea_water_speed": "m/s",
        "sea_water_to_direction": "degrees",
        "sea_water_salinity": "psu"
      }
    },
    "timeseries": [
      {
        "time": "2024-01-15T07:00:00Z",
        "data": {
          "instant": {
            "details": {
              "sea_surface_wave_height": 2.4,
              "sea_surface_wave_from_direction": 270.0,
              "sea_surface_swell_wave_height": 1.8,
              "sea_surface_swell_wave_from_direction": 265.0,
              "sea_surface_wave_period": 8.5,
              "sea_water_temperature": 9.8,
              "sea_water_speed": 0.32,
              "sea_water_to_direction": 180.0,
              "sea_water_salinity": 34.5
            }
          }
        }
      },
      {
        "time": "2024-01-15T13:00:00Z",
        "data": {
          "instant": {
            "details": {
              "sea_surface_wave_height": 3.1,
              "sea_surface_wave_from_direction": 285.0,
              "sea_surface_swell_wave_height": 2.2,
              "sea_surface_swell_wave_from_direction": 275.0,
              "sea_surface_wave_period": 9.0,
              "sea_water_temperature": 9.7,
              "sea_water_speed": 0.28,
              "sea_water_to_direction": 175.0,
              "sea_water_salinity": 34.4
            }
          }
        }
      }
    ]
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/yr-no-oceanforecast-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.