{"uid":"cap_QO0QAV-dMRNWjIdDfAgyZ","slug":"x402-forgemesh-io-sun-moon-times-8cba79de","name":"x402.forgemesh.io Sun & Moon Times","description":"Sun & moon API: sunrise, sunset, solar noon, evening golden hour, moon phase name, and moon illumination fraction for any latitude/longitude and date — computed locally, instant, no upstream. For photography scheduling, agriculture, solar estimation, astronomy content, and outdoor-event agents.","url":"https://x402.forgemesh.io/sun-moon-times","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_MeNUS3DD2OjxWB8porGRG","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, moon phase, illumination fraction, moonrise, moonset, next full moon, and next new moon for any lat/lon and date — computed locally with no upstream dependency.","exampleAgentPrompt":"What are the sunrise, sunset, golden hour, and moon phase details for latitude 47.6062, longitude -122.3321 on July 4th?","exampleUseCases":null,"resultDescription":"A JSON object containing: sunrise and sunset times, solar noon, evening golden hour window, moon phase name (e.g. 'Waxing Gibbous'), moon illumination fraction (0–1), moonrise and moonset times, date of next full moon, and date of next new moon — all computed for the given coordinates and date.","failureModes":["Missing latitude or longitude returns a validation error","Invalid date format (non-ISO) returns a parsing error","Coordinates out of valid range (-90 to 90 lat, -180 to 180 lon) may return an error","Payment not included or insufficient USDC results in 402 Payment Required"],"whenToPreferThis":"Prefer this endpoint when you need comprehensive solar and lunar data in a single call — especially sunrise/sunset, golden hour, and moon phase together — without relying on third-party astronomy APIs. Ideal for photography scheduling, agricultural planning, or outdoor event coordination when low latency and no upstream dependency are priorities.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:56:16.063Z","isFirstParty":false}