← Ciencia y espacio

Huella de carbono de vuelos

GET /carbon/flight

Calculate the CO2 emissions for a specific flight route by proporcionando origin and destination coordenadas. Uses great-circle distance and aviation emission factors to estimate the huella de carbono in kilograms of CO2. Útil para travel booking aplicaciones that display environmental impact, carbon offset calculators, and corporate travel sustainability reporting. Supports any two points on Earth.

Parametros

from_lat requerido

Origin lat

from_lon requerido

Origin lon

to_lat requerido

Dest lat

to_lon requerido

Dest lon

Ejemplos de solicitudes

Uso basico
curl "https://nordapi.ee/api/v1/carbon/flight?from_lat=59.9&from_lon=10.7&to_lat=40.7&to_lon=-74"
Oslo to New York flight emissions
curl "https://nordapi.ee/api/v1/carbon/flight?from_lat=59.9&from_lon=10.7&to_lat=40.7&to_lon=-74"
London to Tokyo flight emissions
curl "https://nordapi.ee/api/v1/carbon/flight?from_lat=51.47&from_lon=-0.46&to_lat=35.76&to_lon=140.39"
Stockholm to Berlin flight emissions
curl "https://nordapi.ee/api/v1/carbon/flight?from_lat=59.65&from_lon=17.92&to_lat=52.56&to_lon=13.29"

Respuesta en vivo

{
  "data": {
    "co2_per_person_kg": 1153.1,
    "distance_km": 5913.0,
    "flight_type": "long_haul",
    "passengers": 1,
    "total_co2_kg": 1153.1,
    "train_equivalent_co2_kg": 242.5,
    "trees_to_offset": 53.0
  },
  "success": true
}