GetAstronomyAshxResponse

Company

Properties

Name Type Description
request.type string The type of query that was matched, e.g. City, LatLon, IP, Postcode.
request.query string The resolved location string that was used to look up the data.
nearest_area.areaName string Name of the resolved city or town.
nearest_area.country string Country name.
nearest_area.region string State, province, or region name (where available).
nearest_area.latitude number Latitude of the resolved location in decimal degrees.
nearest_area.longitude number Longitude of the resolved location in decimal degrees.
time_zone.localtime string Current local date and time at the requested location (yyyy-MM-dd HH:mm).
time_zone.utcOffset number UTC offset in decimal hours (positive east of UTC, negative west).
time_zone.zone string IANA timezone name, e.g. Europe/London.
time_zone.sunrise string Time of sunrise at the location in 12‑hour format.
time_zone.sunset string Time of sunset at the location in 12‑hour format.
time_zone.moonrise string Time of moonrise at the location in 12‑hour format (or "No moonrise").
time_zone.moonset string Time of moonset at the location in 12‑hour format (or "No moonset").
time_zone.moon_phase string Descriptive moon phase name.
time_zone.moon_illumination integer Percentage of the moon's visible surface that is illuminated (0‑100).
View JSON Schema on GitHub

JSON Schema

worldweatheronline-com-get-astronomy-ashx-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/worldweatheronline-com/json-schema/worldweatheronline-com-get-astronomy-ashx-response-schema.json",
  "title": "GetAstronomyAshxResponse",
  "x-generated": "2026-10-31",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/worldweatheronline-com-openapi-generated.yml#/components/schemas/GetAstronomyAshxResponse",
  "type": "object",
  "properties": {
    "request.type": {
      "type": "string",
      "description": "The type of query that was matched, e.g. City, LatLon, IP, Postcode."
    },
    "request.query": {
      "type": "string",
      "description": "The resolved location string that was used to look up the data."
    },
    "nearest_area.areaName": {
      "type": "string",
      "description": "Name of the resolved city or town."
    },
    "nearest_area.country": {
      "type": "string",
      "description": "Country name."
    },
    "nearest_area.region": {
      "type": "string",
      "description": "State, province, or region name (where available)."
    },
    "nearest_area.latitude": {
      "type": "number",
      "description": "Latitude of the resolved location in decimal degrees."
    },
    "nearest_area.longitude": {
      "type": "number",
      "description": "Longitude of the resolved location in decimal degrees."
    },
    "time_zone.localtime": {
      "type": "string",
      "description": "Current local date and time at the requested location (yyyy-MM-dd HH:mm)."
    },
    "time_zone.utcOffset": {
      "type": "number",
      "description": "UTC offset in decimal hours (positive east of UTC, negative west)."
    },
    "time_zone.zone": {
      "type": "string",
      "description": "IANA timezone name, e.g. Europe/London."
    },
    "time_zone.sunrise": {
      "type": "string",
      "description": "Time of sunrise at the location in 12‑hour format."
    },
    "time_zone.sunset": {
      "type": "string",
      "description": "Time of sunset at the location in 12‑hour format."
    },
    "time_zone.moonrise": {
      "type": "string",
      "description": "Time of moonrise at the location in 12‑hour format (or \"No moonrise\")."
    },
    "time_zone.moonset": {
      "type": "string",
      "description": "Time of moonset at the location in 12‑hour format (or \"No moonset\")."
    },
    "time_zone.moon_phase": {
      "type": "string",
      "description": "Descriptive moon phase name."
    },
    "time_zone.moon_illumination": {
      "type": "integer",
      "description": "Percentage of the moon's visible surface that is illuminated (0‑100)."
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/worldweatheronline-com-get-astronomy-ashx-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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.