{"uid":"cap_unbXEokM9bwuip_7_Yv-p","slug":"sunrise-sunset-casablanca-8c489307","name":"sunrise-sunset-casablanca","description":"Sunrise, sunset, solar noon, day length, civil/nautical/astronomical twilight and golden hour for Casablanca today (and tomorrow), computed for the city's coordinates and local timezone. Photography, outdoor scheduling and prayer-time helpers for Casablanca. $0.01 per call.","url":"https://data.intel.rallylive.ca/data/sun/casablanca?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","properties":{}}},"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_Ah8aqccSjDTKIWDFMMOVp","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 sunrise, sunset, solar noon, day length, twilight times, and golden hour for Casablanca today and tomorrow.","exampleAgentPrompt":"What time is sunrise, sunset, and golden hour in Casablanca today, and how long will the day be?","exampleUseCases":[{"title":"Golden hour photography planning in Casablanca","prompt":"I'm doing a photoshoot in Casablanca tomorrow — can you tell me when golden hour starts in the morning and evening so I can plan my shots?"},{"title":"Islamic prayer time scheduling helper","prompt":"I need the solar noon and twilight times for Casablanca today to help align with prayer scheduling — can you pull that for me?"},{"title":"Outdoor event scheduling at dusk","prompt":"We're planning an outdoor evening event in Casablanca and need to know exactly when sunset and civil twilight end today so we know when to set up lighting."}],"resultDescription":"Returns precise times for sunrise, sunset, solar noon, day length, civil twilight, nautical twilight, astronomical twilight, and golden hour windows for Casablanca — for today and tomorrow — computed from the city's geographic coordinates and local timezone.","failureModes":["Service unavailable or timeout if upstream data source is down","Stale data if cached results are not refreshed for the new day","No user-supplied parameters accepted, so no per-query customization errors","Payment failure (x402) if USDC balance is insufficient"],"whenToPreferThis":"Choose this endpoint when you specifically need solar event times for Casablanca without needing to supply coordinates or timezone yourself — it is pre-configured for Casablanca and includes a broad set of solar events (twilight phases, golden hour) beyond basic sunrise/sunset, making it ideal for photography, event planning, and prayer-time assistance in that city.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T23:43:27.059Z","isFirstParty":false,"canonicalSlug":"sunrise-sunset-casablanca-8c489307"}