← Science et espace

Estimation de la pollution lumineuse

GET /lightpollution

Obtenir an estimated Bortle class (1-9) for any location based on nearby population density. This is an estimate, not a satellite measurement - it uses weighted population within 100km to approximate sky brightness. Renvoie Bortle class, sky quality rating, estimated naked-eye star count, SQM (Sky Quality Meter) estimate, and aurore viewing suitability. Accurate for major cities and remote areas; less precise for suburbs. Utile pour astronomy apps, aurore tourism, astrophotography planning, and dark sky awareness.

Paramètres

lat requis

Latitude

lon requis

Longitude

Exemples de requêtes

Utilisation de base
curl "https://nordapi.ee/api/v1/lightpollution?lat=59.437&lon=24.754"
Tallinn, Estonia
curl "https://nordapi.ee/api/v1/lightpollution?lat=59.437&lon=24.754"
Lofoten, Norway (dark sky)
curl "https://nordapi.ee/api/v1/lightpollution?lat=68.2&lon=14.6"
Central London
curl "https://nordapi.ee/api/v1/lightpollution?lat=51.51&lon=-0.13"
Rural Iceland
curl "https://nordapi.ee/api/v1/lightpollution?lat=65.0&lon=-18.0"

Réponse en direct

{
  "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
}