capabilities.work

Search to Astronomy

A 2-step recipe with WeatherAPI. We can help you get access.

Recipe · 2 steps

Search to Astronomy

Search for a location and return astronomy data for a date.

  1. Resolve the free-text query into the best matching location.
  2. Fetch sunrise, sunset, moonrise, moonset, and moon phase for the resolved location on the requested date.
What you'll need to have ready
  • query: Partial city name, postcode, or coordinates to search for.
  • date: Date in yyyy-MM-dd format for the astronomy lookup.
For your developer

Arazzo workflow weatherapi:search-to-astronomy, 2 operations: searchLocations → getAstronomy. Specs on APIs.io.