{"uid":"cap_RvXsY-zWc8mHdow8HrHLT","slug":"fittings-lunar-moon-times-2135fe2e","name":"fittings Lunar Moon Times","description":"Moon phase, illuminated fraction, distance and UTC moonrise/moonset for a date and coordinate.","url":"https://fittings.sh/v1/lunar/moon-times","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["date","lat","lon"],"properties":{"lat":{"type":"number","description":"Latitude, -90 to 90"},"lon":{"type":"number","description":"Longitude, -180 to 180"},"date":{"type":"string","description":"ISO date YYYY-MM-DD, interpreted in UTC"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ztzFJY-J6KmiAsw14F2S6","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns moon phase, illuminated fraction, distance, and UTC moonrise/moonset times for a given date and geographic coordinate.","exampleAgentPrompt":"What's the moon phase, how much of it is illuminated, and when does it rise and set on July 4th 2025 at latitude 40.7128, longitude -74.0060?","exampleUseCases":[{"title":"Astrophotography session planning","prompt":"I'm shooting the night sky at Joshua Tree on August 12th 2025 — latitude 33.8734, longitude -115.9010. What's the moon phase, how bright is it, and when does it rise and set that night?"},{"title":"Full moon event scheduling","prompt":"Can you check if there's a full moon on September 20th 2025 in London (latitude 51.5074, longitude -0.1278) and tell me exactly when it rises and sets?"},{"title":"Remote camping darkness window","prompt":"We're camping in the Boundary Waters on October 3rd 2025 at lat 48.0, lon -91.5 — when does the moon rise and set, and how much of it will be lit up that night?"}],"resultDescription":"Returns the moon's current phase name, the illuminated fraction (0–1), the Earth–Moon distance in kilometers, and the UTC times of moonrise and moonset for the specified date and geographic coordinate.","failureModes":["Missing required query parameters (date, lat, or lon) returns a 400 error","Date not in ISO YYYY-MM-DD format returns a parsing error","Latitude outside -90 to 90 or longitude outside -180 to 180 returns a validation error","Payment not provided or insufficient funds returns a 402 Payment Required response","Dates far in the past or future may return no moonrise/moonset if the moon doesn't rise or set at polar coordinates on that date"],"whenToPreferThis":"Choose this endpoint when you need precise lunar data (phase, illumination, distance, rise/set times) for a specific geographic location and date — especially useful for astrophotography planning, outdoor event scheduling, fishing/hunting trip optimization, or any application requiring accurate moonrise/moonset times correlated with a coordinate. It combines multiple lunar metrics in one call, avoiding the need to query separate astronomy APIs.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:40:37.154Z","isFirstParty":false}