Weather.gov · JSON Structure

Weather Gov Astronomical Data Structure

An object representing sunrise, sunset, and twilight information for a location.

Type: object Properties: 9
WeatherGovernmentUnited StatesForecastingAlertsOpen Data

AstronomicalData is a JSON Structure definition published by Weather.gov, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

sunrise sunset transit civilTwilightBegin civilTwilightEnd nauticalTwilightBegin nauticalTwilightEnd astronomicalTwilightBegin astronomicalTwilightEnd

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/weather-gov/refs/heads/main/json-structure/weather-gov-astronomical-data-structure.json",
  "name": "AstronomicalData",
  "description": "An object representing sunrise, sunset, and twilight information for a location.\n",
  "type": "object",
  "properties": {
    "sunrise": {
      "type": "datetime",
      "description": "The timestamp of sunrise, defined as when the sun angle is 90\u00b035' from vertical.\n"
    },
    "sunset": {
      "type": "datetime",
      "description": "The timestamp of sunset, defined as when the sun angle is 90\u00b035' from vertical.\n"
    },
    "transit": {
      "type": "datetime",
      "description": "The timestamp when the sun reaches its zenith.\n"
    },
    "civilTwilightBegin": {
      "type": "datetime",
      "description": "The timestamp of the onset of civil twilight, defined as when the sun angle is 96\u00b0 from vertical. This is the beginning of civil dawn and lasts until sunrise.\n"
    },
    "civilTwilightEnd": {
      "type": "datetime",
      "description": "The timestamp of the end of civil twilight, defined as when the sun angle is 96\u00b0 from vertical. This is the end of civil dusk, which begins at sunset.\n"
    },
    "nauticalTwilightBegin": {
      "type": "datetime",
      "description": "The timestamp of the onset of nautical twilight, defined as when the sun angle is 102\u00b0 from vertical. This is the beginning of nautical dawn and lasts until the civil dawn.\n"
    },
    "nauticalTwilightEnd": {
      "type": "datetime",
      "description": "The timestamp of the end of nautical twilight, defined as when the sun angle is 102\u00b0 from vertical. This is the end of nautical dusk, which begins at the end of civil twilight.\n"
    },
    "astronomicalTwilightBegin": {
      "type": "datetime",
      "description": "The timestamp of the onset of astronomical twilight, defined as when the sun angle is 108\u00b0 from vertical. This is the beginning of astronomical dawn and lasts until the nautical dawn.\n"
    },
    "astronomicalTwilightEnd": {
      "type": "datetime",
      "description": "The timestamp of the end of astronomical twilight, defined as when the sun angle is 108\u00b0 from vertical. This is the end of astronomical dusk, which begins at the end of nautical twilight.\n"
    }
  }
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 JSON Structure
curl "https://apis.io/api/v1/json-structures/weather-gov-astronomical-data-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.