{"uid":"cap_vpdpgyixvgOMrigUkG9QG","slug":"sunrise-sunset-shanghai-597df8f2","name":"sunrise-sunset-shanghai","description":"Sunrise, sunset, solar noon, day length, civil/nautical/astronomical twilight and golden hour for Shanghai today (and tomorrow), computed for the city's coordinates and local timezone. Photography, outdoor scheduling and prayer-time helpers for Shanghai. $0.01 per call.","url":"https://data.intel.rallylive.ca/data/sun/shanghai?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_iRYiuJpBVygMUuJQMqRQS","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 phases, and golden hour times for Shanghai today and tomorrow, computed for the city's coordinates and local timezone.","exampleAgentPrompt":"What time is sunrise, sunset, and golden hour in Shanghai today? I also want to know the civil twilight times and how long the day is.","exampleUseCases":[{"title":"Golden hour photography planning","prompt":"I'm doing a photo shoot in Shanghai tomorrow — what time is golden hour, and when does civil twilight start and end so I know exactly when to be on location?"},{"title":"Outdoor event scheduling","prompt":"I'm planning an outdoor event in Shanghai today and need to know when sunrise and sunset are, and how many hours of daylight we'll have."},{"title":"Daily prayer time reference","prompt":"Can you tell me the sunrise and solar noon times in Shanghai for today? I use the sun position to help time my prayers."}],"resultDescription":"A JSON object containing today's (and optionally tomorrow's) solar event times for Shanghai: sunrise, sunset, solar noon, day length (hours/minutes), civil twilight start/end, nautical twilight start/end, astronomical twilight start/end, and golden hour window — all expressed in Shanghai local time (Asia/Shanghai timezone).","failureModes":["Network or upstream data source unavailability returns a 5xx error","Payment not attached or insufficient — returns 402 Payment Required","Malformed request returns 400 Bad Request","Data may be slightly stale if cached; real-time recomputation not guaranteed on every call"],"whenToPreferThis":"Choose this endpoint when you need precise solar event times specifically for Shanghai without having to supply coordinates or timezone manually. It is ideal for photography scheduling, outdoor activity planning, or solar-based prayer time reference in Shanghai. Prefer this over general sun-position APIs when you want a zero-configuration, city-specific answer at low cost ($0.01/call).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T23:43:33.063Z","isFirstParty":false,"canonicalSlug":"sunrise-sunset-shanghai-597df8f2"}