{"uid":"cap_Jjff7ll7ZIwyv70zwl6pL","slug":"sunrise-sunset-barcelona-acb0b4db","name":"Sunrise Sunset Barcelona","description":"Sunrise, sunset, solar noon, day length, civil/nautical/astronomical twilight and golden hour for Barcelona today (and tomorrow), computed for the city's coordinates and local timezone. Photography, outdoor scheduling and prayer-time helpers for Barcelona. $0.01 per call.","url":"https://data.intel.rallylive.ca/data/sun/barcelona?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_oOzfLyisiGyFVrWLoL3cA","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 today's and tomorrow's sunrise, sunset, solar noon, day length, twilight times, and golden hour for Barcelona using the city's exact coordinates and local timezone.","exampleAgentPrompt":"What time is sunrise, sunset, and golden hour in Barcelona today? I also want tomorrow's times.","exampleUseCases":[{"title":"Golden hour photography planning","prompt":"I'm shooting portraits in Barcelona tomorrow — when exactly is golden hour in the morning and evening so I can plan my shoot?"},{"title":"Outdoor event scheduling","prompt":"We're hosting a rooftop event in Barcelona tonight. When does the sun set and how long until it gets fully dark?"},{"title":"Prayer time coordination","prompt":"Can you give me today's sunrise and sunset times for Barcelona so I can work out prayer schedule timings?"}],"resultDescription":"Returns today's and tomorrow's precise solar event times for Barcelona: sunrise, sunset, solar noon, day length in hours and minutes, civil twilight (start/end), nautical twilight (start/end), astronomical twilight (start/end), and golden hour windows — all in Barcelona's local timezone (Europe/Madrid).","failureModes":["Service unavailable or upstream data error returns an HTTP error code","Payment not processed or insufficient USDC balance returns a 402 Payment Required response","Rate limiting may return a 429 error if called excessively in a short period"],"whenToPreferThis":"Choose this endpoint when you specifically need Barcelona solar event data — sunrise, sunset, twilight phases, golden hour, or day length — for today or tomorrow, especially for photography scheduling, outdoor event planning, or prayer time calculations. It is pre-configured for Barcelona's coordinates and timezone, so no geolocation or timezone lookup is needed.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T18:48:22.135Z","isFirstParty":false,"canonicalSlug":"sunrise-sunset-barcelona-acb0b4db"}