{"uid":"cap_-i7aIO5oeMe41I-5o7xd2","slug":"solar-position-day-length-oracle-5e59e928","name":"Solar Position & Day Length Oracle","description":"solar-position-oracle: Solar Position & Day Length Oracle – geocoded sunrise/sunset, declination, and UTC day-of-year for any city.","url":"https://store.cryptotradecalc.com/api/solar-position","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","properties":{"city":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.006","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.006/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.006","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_nAxDVwtQlZdN4uXDAvOsn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.006","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns geocoded sunrise/sunset times, solar declination, and UTC day-of-year for any named city","exampleAgentPrompt":"What are the sunrise and sunset times, solar declination, and total day length for Paris today? Give me the full solar position data including UTC day-of-year.","exampleUseCases":null,"resultDescription":"Returns geocoded solar position data for the specified city, including sunrise time, sunset time, solar declination angle, day length duration, and the UTC day-of-year number.","failureModes":["City name not recognized or geocoding fails — returns error or empty result","Missing required 'city' query parameter — returns validation error","Ambiguous city name with multiple matches — may return data for the most populous match","Network timeout or upstream geocoding service unavailable"],"whenToPreferThis":"Use this endpoint when you need structured solar position metrics (sunrise, sunset, declination, day-of-year) for a named city without providing coordinates yourself — it handles geocoding internally. Prefer this over generic weather APIs when the specific output needed is solar timing and astronomical data rather than temperature or precipitation forecasts.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:39:41.953Z","isFirstParty":false}