{"uid":"cap_IMLt5WmTdx7J2Wl_1fiM7","slug":"agentstoolshub-sunrise-sunset-calculator-b6800113","name":"AgentsToolsHub Sunrise/Sunset Calculator","description":"Compute sunrise, sunset, solar noon, civil dawn/dusk, golden hours and day length for any latitude/longitude and date — with the exact NOAA solar equations, accurate to about a minute. Answers agents repeatedly get wrong from memory. Use this when an agent needs to sun times, golden hour and day length for any place.","url":"https://agentstoolshub.com/api/v1/geo-time/sunrise-sunset?utm_source=zero.xyz","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":["lat","lon"],"properties":{"lat":{"type":"number","description":"Latitude"},"lon":{"type":"number","description":"Longitude"},"date":{"type":"string","description":"Date"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_H4BV_pGdB50OrQarIEbni","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Computes sunrise, sunset, solar noon, civil dawn/dusk, golden hours, and day length for any latitude/longitude and date using NOAA solar equations","exampleAgentPrompt":"What time is sunrise, sunset, and golden hour in Lisbon, Portugal (38.7169° N, 9.1395° W) on March 21st?","exampleUseCases":[{"title":"Golden hour photography scheduling","prompt":"When is golden hour in Santorini, Greece (36.3932° N, 25.4615° E) this Saturday, June 14th? I want to plan a sunset photo shoot."},{"title":"Outdoor event daylight planning","prompt":"What time does the sun set and how many hours of daylight will there be in Denver, Colorado (39.7392° N, 104.9903° W) on the 4th of July?"},{"title":"Seasonal daylight research","prompt":"Can you tell me the sunrise and sunset times for Tromsø, Norway (69.6496° N, 18.9560° E) on December 21st — I'm trying to understand how much daylight they get during winter solstice."}],"resultDescription":"Returns precise times for sunrise, sunset, solar noon, civil dawn, civil dusk, golden hour start/end, and total day length for the specified location and date, computed using NOAA solar equations accurate to approximately one minute.","failureModes":["Missing required lat or lon parameters returns an error","Invalid latitude (outside -90 to 90) or longitude (outside -180 to 180) returns an error","Extreme polar locations during midnight sun or polar night may return special values or edge cases","Invalid date format may cause a parsing error","Payment failure (x402) prevents the call from completing"],"whenToPreferThis":"Choose this endpoint when an agent needs accurate, date-specific solar event times (sunrise, sunset, golden hour, civil twilight) for any geographic coordinate worldwide. Prefer this over relying on the LLM's parametric memory, which is frequently inaccurate for solar times. Use this instead of general weather APIs when solar event precision (to the minute) is required, or when golden hour and civil twilight data are needed in addition to basic sunrise/sunset.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:06:18.944Z","isFirstParty":false,"canonicalSlug":"agentstoolshub-sunrise-sunset-calculator-b6800113"}