Yr · Example Payload

Yr No Sunrise Example

WeatherForecastMeteorologyClimateNorwayNordicOpen DataAviation WeatherMarine WeatherAlerts

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

Top-level fields

sunmoon

Example Payload

Raw ↑
{
  "sun": {
    "type": "Feature",
    "geometry": {
      "type": "Point",
      "coordinates": [10.7522, 59.9139]
    },
    "when": {
      "interval": [
        "2024-06-21T00:00:00+02:00",
        "2024-06-22T00:00:00+02:00"
      ]
    },
    "properties": {
      "body": "Sun",
      "sunrise": {
        "time": "2024-06-21T03:51:00+02:00",
        "azimuth": 43.22
      },
      "sunset": {
        "time": "2024-06-21T22:04:00+02:00",
        "azimuth": 317.86
      },
      "solarnoon": {
        "time": "2024-06-21T12:57:00+02:00",
        "elevation": 54.11
      },
      "solarmidnight": {
        "time": "2024-06-21T00:57:00+02:00",
        "elevation": -6.18
      }
    }
  },
  "moon": {
    "type": "Feature",
    "geometry": {
      "type": "Point",
      "coordinates": [10.7522, 59.9139]
    },
    "when": {
      "interval": [
        "2024-06-21T00:00:00+02:00",
        "2024-06-22T00:00:00+02:00"
      ]
    },
    "properties": {
      "body": "Moon",
      "moonrise": {
        "time": "2024-06-21T14:32:00+02:00",
        "azimuth": 62.45
      },
      "moonset": {
        "time": "2024-06-22T01:18:00+02:00",
        "azimuth": 298.30
      },
      "high_moon": {
        "time": "2024-06-21T19:55:00+02:00",
        "elevation": 40.25
      },
      "low_moon": {
        "time": "2024-06-21T07:30:00+02:00",
        "elevation": -20.1
      },
      "phase": {
        "time": "2024-06-21T12:57:00+02:00",
        "value": 0.65,
        "illumination": 72.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-sunrise-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 email required.

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