GET /lightpollution
Получение оценочного класса Бортла (1–9) для любого местоположения на основе плотности населения. Это оценка, а не спутниковое измерение — используется взвешенное население в радиусе 100 км для приближения яркости неба. Возвращает класс Бортла, оценку качества неба, предполагаемое количество звёзд, видимых невооружённым глазом, оценку SQM и пригодность для наблюдения северного сияния. Точно для крупных городов и удалённых районов; менее точно для пригородов. Полезно для астрономических приложений, туризма северного сияния, планирования астрофотографии и осведомлённости о тёмном небе.
lat
обязательный
Latitude
lon
обязательный
Longitude
| Название | Обязательный | По умолчанию | Описание |
|---|---|---|---|
lat |
Да | - | Latitude |
lon |
Да | - | Longitude |
curl "https://nordapi.ee/api/v1/lightpollution?lat=59.437&lon=24.754"
curl "https://nordapi.ee/api/v1/lightpollution?lat=59.437&lon=24.754"
curl "https://nordapi.ee/api/v1/lightpollution?lat=68.2&lon=14.6"
curl "https://nordapi.ee/api/v1/lightpollution?lat=51.51&lon=-0.13"
curl "https://nordapi.ee/api/v1/lightpollution?lat=65.0&lon=-18.0"
{
"data": {
"aurora_suitability": "fair",
"bortle_class": 6,
"bortle_description": "Bright suburban sky. Milky Way only visible near zenith. Sky glow extends to 35° above horizon.",
"disclaimer": "This is an estimate based on nearby population density, not satellite measurements. Actual light pollution may vary due to terrain, local lighting, and atmospheric conditions.",
"latitude": 59.437,
"longitude": 24.754,
"methodology": "Bortle class estimated from weighted population within 100km. Closer cities contribute more. Accurate for major cities and remote areas; less precise for suburbs and small towns.",
"naked_eye_stars": "200+",
"nearby_population": {
"nearby_cities": [
{
"country": "",
"distance_km": 0.0,
"name": "nearby city",
"population": 450000
}
],
"nearest_city": "nearby city",
"nearest_distance_km": 0.0,
"total_population": 450000,
"weighted_population": 450000
},
"recommendations": [
"Drive 30-60 minutes away from the city for significantly darker skies"
],
"sky_quality": "poor",
"sqm_estimate": 18.94
},
"success": true
}