{"uid":"cap_7Szfz3ZeVSGnwn86Z9sln","slug":"sunrise-sunset-madrid-db6b66a5","name":"Sunrise Sunset Madrid","description":"Sunrise, sunset, solar noon, day length, civil/nautical/astronomical twilight and golden hour for Madrid today (and tomorrow), computed for the city's coordinates and local timezone. Photography, outdoor scheduling and prayer-time helpers for Madrid. $0.01 per call.","url":"https://data.intel.rallylive.ca/data/sun/madrid?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_EQaJapcqStCMKv2iBRNHG","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 Madrid today and tomorrow based on the city's coordinates and local timezone.","exampleAgentPrompt":"What time is sunrise, sunset, and golden hour in Madrid today — I want to plan a photography shoot?","exampleUseCases":[{"title":"Golden hour photography shoot planning","prompt":"I'm doing a photo shoot in Madrid tomorrow — can you tell me exactly when golden hour is, both in the morning and evening, so I can plan my schedule?"},{"title":"Outdoor event scheduling in Madrid","prompt":"We're organizing an outdoor event in Madrid today and need to know when sunset and civil twilight are so we know when to set up lighting."},{"title":"Madrid prayer time reference","prompt":"What are the exact sunrise and sunset times in Madrid today? I need them for daily prayer scheduling."}],"resultDescription":"The agent receives precise times for sunrise, sunset, solar noon, day length, civil twilight, nautical twilight, astronomical twilight, and golden hour for Madrid for today and tomorrow, all expressed in Madrid's local timezone.","failureModes":["Service unavailable or 402 payment issue if USDC payment fails","Stale or incorrect data if the underlying solar computation source is unreachable","No query parameters accepted — the endpoint is fixed to Madrid coordinates so no location customization is possible","If called near midnight, 'today' and 'tomorrow' values may not align with the caller's local day"],"whenToPreferThis":"Use this endpoint when you specifically need solar event times for Madrid without providing coordinates or timezone — the city, coordinates, and timezone are already baked in. Prefer this over a generic solar API when you want a fast, low-cost ($0.01) single-city lookup for Madrid with no configuration required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-21T00:32:35.087Z","isFirstParty":false,"canonicalSlug":"sunrise-sunset-madrid-db6b66a5"}