A clearer view.
One place at a time.
Explore current conditions and a three-day outlook for locations around the world.
Start with a location
Use the weather explorer to search for a city and country, such as London, UK, or a coordinate pair, such as 51.51,-0.13. When the provider connection is active, SunX Weather retrieves its latest available observation.
GET /api/weather?q=London
The on-site explorer uses this endpoint. Public developer API subscriptions are not available yet.
Reading the data
Temperatures are in Celsius, wind speed is in km/h, and humidity is a percentage. The example below illustrates the response structure; it is not a live observation.
{
"live": true,
"source": "WeatherAPI.com",
"updated_at": "PROVIDER_OBSERVATION_TIME",
"location": { "name": "London", "country": "United Kingdom" },
"current": {
"temperature": 18,
"feels_like": 17,
"humidity": 65,
"wind_kph": 12,
"condition": "Partly cloudy"
},
"forecast": []
}Clear about availability
Readings come from WeatherAPI.com. Local coverage, freshness, and forecast availability depend on the provider. The explorer refreshes every five minutes while the page is visible and shows the observation time.
If live data cannot be retrieved, SunX Weather displays an error rather than substituting a sample reading. Operators connect the provider by setting weather.apiKey in the server's config.json. No database is required.
| Status | Meaning |
|---|---|
| 400 | A location is required. |
| 404 | The location could not be found. |
| 429 | Please wait before trying again. |
| 502 | The weather provider is temporarily unavailable. |
| 503 | Live weather is not connected yet. |
Accounts and developer plans
Account screens and developer plans are previews. They do not create accounts, collect payments, or issue API keys. EuropeTV payments use a separate, signed Whop checkout flow and are identified as EuropeTV payments.