{"uid":"cap_2d8NNrHv3yla2vgrnemtV","slug":"lilambd-koyomi-sun-position-api-0ccd122e","name":"Lilambd Koyomi Sun Position API","description":"A crossing for play, feeling, language, science and computation — creating states that do not have names yet.","url":"https://api.lilambd.com/koyomi/sun?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","queryParams"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["lat","lon"],"properties":{"tz":{"type":"string","description":"tz (number)"},"lat":{"type":"string","description":"lat (number)"},"lon":{"type":"string","description":"lon (number)"},"date":{"type":"string","description":"date (string)"}},"additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":[],"count":0,"attribution":"source licence line"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BVAd8E53bseXrFxxCOJlr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns sun position and solar event data (sunrise, sunset, solar noon, etc.) for a given latitude, longitude, date, and timezone.","exampleAgentPrompt":"What are the sunrise and sunset times for Paris, France (lat 48.8566, lon 2.3522) on June 21st in the Europe/Paris timezone?","exampleUseCases":[{"title":"Sunrise time for outdoor event planning","prompt":"Can you get me the exact sunrise and sunset times for lat 34.0522, lon -118.2437 on July 4th in the America/Los_Angeles timezone? I need to know when it gets light and dark."},{"title":"Solar noon for photography golden hour","prompt":"I'm shooting photos in Tokyo (lat 35.6895, lon 139.6917) tomorrow — can you tell me the solar noon and any sun position data for that location so I can plan my golden hour shots? Use the Asia/Tokyo timezone."},{"title":"Daylight hours for northern latitude research","prompt":"What's the daylight duration and sun schedule at lat 69.6489, lon 18.9551 on December 21st in the Europe/Oslo timezone? I want to understand how short winter days are that far north."}],"resultDescription":"A JSON object containing an array of solar event data (such as sunrise, sunset, solar noon, dawn, dusk times) for the specified location and date, along with a count of entries and an attribution/license line for the data source.","failureModes":["Missing required lat or lon parameters returns an error","Invalid or out-of-range coordinates may return empty data or an error","Unsupported or malformed timezone string may cause incorrect results or an error","Invalid date format may result in no data returned","Network or service unavailability returns a non-200 response","Payment failure via x402 protocol blocks access"],"whenToPreferThis":"Choose this endpoint when you need accurate solar event times (sunrise, sunset, solar noon, twilight) or sun position data for any geographic coordinate and date. Prefer it over generic weather APIs when the specific need is solar/astronomical timing rather than atmospheric conditions. It is well-suited for scheduling outdoor activities, photography planning, agricultural applications, or any context where precise sun position relative to a location is required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:33:39.115Z","isFirstParty":false,"canonicalSlug":"lilambd-koyomi-sun-position-api-0ccd122e"}