{"uid":"cap_CsfEWy_1G2IOGkdxH4yLZ","slug":"x402-forgemesh-io-sunrise-sunset-moon-phase-api-3606b146","name":"x402.forgemesh.io Sunrise-Sunset & Moon Phase API","description":"Sunrise and sunset API: sun times (sunrise, sunset, solar noon, golden hour) plus moon phase and illumination for any coordinates and date, computed instantly. For photography, agriculture, solar, and outdoor-planning agents.","url":"https://x402.forgemesh.io/sunrise-sunset","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"date":{"type":"string","description":"ISO date, default today"},"latitude":{"type":"string"},"longitude":{"type":"string"}}},"responseSchema":{"type":"json","example":{"sunset":"2026-07-16T01:24:00.000Z","moonset":"2026-07-16T02:44:50.146Z","sunrise":"2026-07-15T11:26:00.000Z","moonrise":"2026-07-16T13:57:29.603Z","moon_phase":"new moon","next_new_moon":"2026-08-13","next_full_moon":"2026-07-30","moon_illumination":0.02}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_dsZlma1TG2lBv2_YRlaeM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns sunrise, sunset, solar noon, golden hour times, moon phase, and moon illumination for any coordinates and date, computed instantly.","exampleAgentPrompt":"What are the sunrise, sunset, golden hour, and moon phase details for coordinates 48.8566° N, 2.3522° E on June 21, 2025?","exampleUseCases":null,"resultDescription":"Returns computed sun event times (sunrise, sunset, solar noon, golden hour start/end) and moon data (phase name, illumination percentage) for the requested latitude/longitude and date — all calculated server-side with no external dependency.","failureModes":["Missing latitude or longitude returns a validation error","Invalid date format (non-ISO) may return a parse error or unexpected result","Coordinates out of valid range (-90 to 90 lat, -180 to 180 lon) may cause computation errors","Payment failure via x402 protocol blocks the request","No result for dates far in the past or future if computation bounds are exceeded"],"whenToPreferThis":"Choose this endpoint when you need precise solar event times (sunrise, sunset, golden hour, solar noon) or moon phase/illumination data for any geographic coordinates and date — especially for photography scheduling, agricultural planning, solar energy calculations, or outdoor event planning. Prefer over weather APIs when the need is specifically astronomical/solar rather than meteorological.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:01:02.925Z","isFirstParty":false}