{"uid":"cap_o4EPJbD-ExIYhvjDLpoCp","slug":"agentstoolshub-sun-position-7f2f2013","name":"AgentsToolsHub Sun Position","description":"Where the sun is in the sky right now — or at any timestamp — for any coordinates: azimuth (compass bearing), elevation angle, cardinal direction, right ascension and declination, from the NOAA solar equations. Deterministic astronomy for shadow math, solar-panel orientation and photo planning. Use this when an agent needs to azimuth, altitude and cardinal direction, now or any time.","url":"https://agentstoolshub.com/api/v1/geo-time/sun-position?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"},"atIso":{"type":"string","description":"At (ISO, optional)"}}}},"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_a6PyOYhnv6dL47h_qYOlA","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":"Returns the sun's azimuth, elevation angle, cardinal direction, right ascension, and declination for any geographic coordinates at any timestamp using NOAA solar equations.","exampleAgentPrompt":"What's the sun's azimuth and elevation angle right now at coordinates 37.7749° N, 122.4194° W in San Francisco?","exampleUseCases":[{"title":"Solar panel orientation check","prompt":"What's the sun's azimuth and elevation angle at latitude 34.05, longitude -118.24 right now so I can figure out the best angle to tilt my solar panels?"},{"title":"Golden-hour photo shoot planning","prompt":"I'm shooting photos in Paris at the Eiffel Tower on June 21st at 7:30 PM — what direction will the sun be coming from and how high will it be in the sky?"},{"title":"Shadow length estimation for architecture","prompt":"I need to know the sun's elevation and compass bearing at latitude 51.5074, longitude -0.1278 tomorrow at 2pm to estimate how long the shadows will be from a building."}],"resultDescription":"Returns the sun's current or historical position including azimuth (compass bearing in degrees), altitude/elevation angle (degrees above or below horizon), cardinal direction (e.g. SW, NNE), right ascension, and declination — all computed deterministically from NOAA solar equations for the given lat/lon and optional timestamp.","failureModes":["Missing required lat or lon parameters returns a 400 error","Invalid ISO timestamp format causes a parsing error","Coordinates outside valid range (lat -90 to 90, lon -180 to 180) may return an error or undefined behavior","Network timeout or service unavailability returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need precise, deterministic solar position data (azimuth, elevation, cardinal direction, RA/Dec) for any coordinates and time — especially for shadow calculations, solar panel orientation, or photography planning. Prefer over general astronomy APIs when NOAA-equation accuracy and low cost per call matter. Use the sibling sunrise/sunset endpoint when you only need daily solar event times rather than instantaneous position.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:38:16.084Z","isFirstParty":false,"canonicalSlug":"agentstoolshub-sun-position-7f2f2013"}