Spiral gives your agent every tool with one account. Browse the tools →

Zapier · Industry Data

How to Use USNO daily Sun and Moon times in Zapier

Returns Sun and Moon rise, set, and transit times, civil twilight, and lunar phase information for one place and date. Use it for daily observing or daylight planning; lunar illumination describes local noon.

Prompts to try with USNO daily Sun and Moon times in Zapier

Copy an example into Zapier, or ask in your own words.

Each morning, use USNO daily Sun and Moon times for Paris, France, for today's date. Give me local sunrise, sunset, civil twilight, and Moon events.

USNO daily Sun and Moon timesZapier
Try asking
  • Every Monday at 9am: use USNO daily Sun and Moon times to look this up and give me the result as a table.

  • Pull the latest numbers from USNO daily Sun and Moon times and tell me what changed since last week.

  • Check USNO daily Sun and Moon times and summarize what you find in three bullet points.

  • Pull the newest data from USNO daily Sun and Moon times and give me the result as a table.

How to set up USNO daily Sun and Moon times in Zapier

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send Zapier this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Add an MCP Client connection

    In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

    https://api.spiral.ai/mcp
  2. Sign in to Spiral and approve

    Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

  3. Run a Spiral tool in a Zap

    Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: discover finds the right model for a task, estimate_cost prices it and run runs it. For example, run with:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run USNO daily Sun and Moon times in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds USNO daily Sun and Moon times, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run USNO daily Sun and Moon times

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "aa-usno-navy-mil/astronomy/sun_moon_day",
        "input": {
          "date": "<date>",
          "latitude": -90,
          "longitude": -180
        }
      }'

Then paste one of the prompts above: Zapier finds USNO daily Sun and Moon times on Spiral, shows the price and runs it.

USNO daily Sun and Moon times providers and prices

Spiral runs USNO daily Sun and Moon times through Alexandria. Open a card for today's price, with every fee included.

AlexandriaIndustry Data

Settings you can ask for

Ask Zapier for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Latitude-90 to 90

Decimal degrees, north positive.

Longitude-180 to 180

Decimal degrees, east positive.

Dston or off

Apply US daylight saving time rules (1967 onward) on top of tz_offset_hours. Defaults to false. USNO only knows the US rules, so for other countries pass the offset in force on the date instead.

Tz offset hours-12 to 14

Hours east of Greenwich (UT offset), -12 to 14: -5 for US Eastern Standard Time, 1 for Central European Time, 5.5 for India. Defaults to 0 (UT). Times are on this fixed offset unless dst applies.

Every API field of USNO astronomical data (Sun, Moon, eclipses, seasons) · Sun moon day is on its tool page: open its card above.

What can you do with USNO daily Sun and Moon times in Zapier?

Prepare recurring astronomy briefings around USNO's calculated events. A scheduled agent can select approaching milestones or retrieve supported historical eclipse details for anniversary programs.

Historical eclipse reconstruction

Build an April 8, 2024 timeline for Dallas using the annual eclipse record, local contact times, and that day's Sun and Moon events.

Planetarium program research

Prepare a planetarium program with lunar milestones, seasonal events, and eclipse dates. Add daily sky times for the venue and a supported historical eclipse as a worked example.

Astronomy classroom exercises

Give students calculated event times to sort, compare, and plot. Exercises can compare lunar cycles, seasonal dates, daylight intervals, and how one eclipse appears from different cities.

Astronomy article fact-checking

Check a draft's full Moon dates, seasonal milestones, eclipse classifications, local eclipse timing, or sunrise claims against the corresponding USNO calculation.

Outdoor photography research

Find lunar milestones and local sunrise, sunset, and Moonrise times for a shoot. For an archived eclipse photograph, compare its timestamp with calculated local eclipse contacts.

Seasonal daylight comparison

Identify equinox and solstice dates, then compare sunrise and sunset intervals in Paris on those dates. Add primary lunar phases to an exhibit explaining separate solar and lunar cycles.

Questions about USNO daily Sun and Moon times in Zapier

Can Zapier use USNO daily Sun and Moon times?

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run USNO daily Sun and Moon times like any built-in tool.

How much does USNO daily Sun and Moon times cost in Zapier?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Zapier plan is separate.

Do I need an Alexandria account to use USNO daily Sun and Moon times in Zapier?

No. Spiral runs USNO daily Sun and Moon times on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up USNO daily Sun and Moon times in Zapier?

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

Does Zapier wait while USNO daily Sun and Moon times runs?

USNO daily Sun and Moon times runs in the background. Zapier starts the run, checks on it and gives you the json when it's ready.

Are USNO event times observations or calculations?

USNO calculates astronomical events for requested dates. Its Moon phase calculations cover 1700 through 2100, so the results include historical events and future predictions.

How far back does USNO's eclipse coverage go?

The yearly solar eclipse list covers 1800 through 2050. Local coverage is less clear: the API guide specifies 2017–2024, while the calculator page lists 2017–2026.

Does an eclipse in the yearly list mean it was visible from my city?

The yearly service identifies eclipse dates and types. Location-specific contact times, the Sun's position, and obscuration come from the local circumstances calculation.

What does USNO mean by a primary Moon phase?

It means one of four events: new Moon, first quarter, full Moon, or last quarter. A date-based list contains at most 99 such events, rather than 99 daily illumination readings.

Can calculated sunrise and sunset times differ from what I see?

USNO says rise and set times can be off by a minute or more even under ideal conditions because atmospheric refraction varies. Mountains, observer height, and high latitudes can increase the difference.

Get started

Start using USNO daily Sun and Moon times in Zapier

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Zapier:

Set up Zapier

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options