{"id":"astronomy/solunar","method":"POST","url":"https://astro-agent.dev/v1/astronomy/solunar","price_usd":"0.01","tier":"call","title":"Solunar periods: lunar transits, moonrise and moonset","summary":"The day's solunar periods for a place: major periods centred on the Moon's upper and lower meridian transits, minor periods centred on moonrise and moonset, with the Moon's phase.","description":"For fishing, hunting and outdoor apps that use the solunar timing convention: for one local day at a place, each major period (centred on the Moon's upper transit overhead and lower transit underfoot, 2 h by default) and minor period (centred on moonrise and moonset, 1 h by default) with its start, centre and end in local time, the Moon's altitude at its transits and its phase. The events are exact (astronomy/rise-set conventions); the windows are the convention's, adjustable. No rating attached.","input_schema":{"type":"object","required":["date","latitude","longitude"],"properties":{"date":{"type":"string","description":"The local calendar day at the place, YYYY-MM-DD (1800-01-02..2199-12-30)."},"latitude":{"type":"number","minimum":-90,"maximum":90,"description":"Decimal degrees, north positive."},"longitude":{"type":"number","minimum":-180,"maximum":180,"description":"Decimal degrees, east positive."},"elevation_m":{"type":"number","minimum":-500,"maximum":9000,"default":0,"description":"Height above the WGS84 ellipsoid, metres (no terrain or horizon dip is modelled)."},"timezone":{"type":"string","description":"IANA zone for local times, e.g. 'Europe/Paris'. Optional: resolved from the coordinates (with its historical DST rules)."},"options":{"type":"object","properties":{"major_minutes":{"type":"integer","minimum":10,"maximum":360,"default":120,"description":"Length of a major period, centred on a lunar transit."},"minor_minutes":{"type":"integer","minimum":10,"maximum":360,"default":60,"description":"Length of a minor period, centred on moonrise or moonset."}},"description":"Window lengths."}}},"example_request":{"date":"2026-06-21","latitude":48.8566,"longitude":2.3522},"example_response":{"endpoint":"astronomy/solunar","result":{"subject":{"location":{"latitude":48.8566,"longitude":2.3522,"elevation_m":0.0},"timezone":"Europe/Paris","timezone_source":"resolved_from_coordinates","date":"2026-06-21","window_utc":{"start":"2026-06-20T22:00:00Z","end":"2026-06-21T22:00:00Z"}},"settings":{"major_minutes":120,"minor_minutes":60,"conventions":{"major":"centred on the Moon's upper transit (meridian, overhead) and lower transit (opposite meridian, underfoot)","minor":"centred on moonrise and moonset (upper limb, 34' refraction)","windows":"major 120 min, minor 60 min (the solunar convention's 2 h and 1 h by default)","nature":"a timing convention built on the Moon's exact rise, set and transit times; no rating or prediction"}},"moon":{"name":"first quarter","illuminated_fraction":0.44962,"age_days":6.2957},"periods":[{"type":"minor","event":"moonset","centre":{"utc":"2026-06-20T23:23:02Z","local":"2026-06-21T01:23:02+02:00","timestamp":1781997782},"start":{"utc":"2026-06-20T22:53:02Z","local":"2026-06-21T00:53:02+02:00","timestamp":1781995982},"end":{"utc":"2026-06-20T23:53:02Z","local":"2026-06-21T01:53:02+02:00","timestamp":1781999582}},{"type":"major","event":"lower_transit","centre":{"utc":"2026-06-21T05:19:19Z","local":"2026-06-21T07:19:19+02:00","timestamp":1782019159},"start":{"utc":"2026-06-21T04:19:19Z","local":"2026-06-21T06:19:19+02:00","timestamp":1782015559},"end":{"utc":"2026-06-21T06:19:19Z","local":"2026-06-21T08:19:19+02:00","timestamp":1782022759},"moon_altitude":-40.11},{"type":"minor","event":"moonrise","centre":{"utc":"2026-06-21T11:30:05Z","local":"2026-06-21T13:30:05+02:00","timestamp":1782041405},"start":{"utc":"2026-06-21T11:00:05Z","local":"2026-06-21T13:00:05+02:00","timestamp":1782039605},"end":{"utc":"2026-06-21T12:00:05Z","local":"2026-06-21T14:00:05+02:00","timestamp":1782043205}}],"counts":{"major":2,"minor":2}},"meta":{"engine":"astro-agents/1.10.0","ephemeris":"NASA/JPL DE440 (1800-01-01..2200-01-01)","astronomy_library":"skyfield/1.55","frame":"geocentric apparent positions, true ecliptic and equinox of date (IAU 2006/2000A)","deterministic":true,"llm_used":false,"input_sha256":"e4866b27d73ea18af699b3ac36329fda1425dd286dfdc3c57dd5529e9fdc2928","result_sha256":"c8f0596d7099d76daaeada87b6f76118f8a79e376d130a18bc4932c08857d796","reproducibility":"result_sha256 = SHA-256 of the result serialized as JSON with sorted keys, no whitespace, UTF-8, floats rounded to 6 decimals. Same input + same engine version => same hash."},"example_note":"real output of engine 1.10.0; lists shortened to 3 items"},"payment":"x402 or MPP; 1 free call per client on the $0.01-0.02 routes, this one included. POST without payment to receive the 402 challenge.","catalog":"https://astro-agent.dev/v1/catalog"}