CanopySat Forest Intelligence API

Integrate forest intelligence into your applications — real-time satellite analysis, forest integrity scores, deforestation detection and NASA GEDI canopy height for any zone on Earth.

Plans & Pricing

Free
0€ / month
  • 10 calls / month
  • All endpoints
  • 6 satellites
  • NASA GEDI LiDAR
  • Community support
Get Started — Free
Enterprise
299€ / month
  • Unlimited
  • All endpoints
  • Dedicated deployment
  • Priority support
  • SLA 99.9%
Contact Us

Authentication

All API requests require a Bearer token in the Authorization header:

Authorization: Bearer YOUR_API_KEY

Create your free API key via the endpoint below or contact us.

Endpoints

POST /api/v1/analyze
Analyze a forest zone using 6 real satellites — ESA Sentinel-2/1, NASA Landsat 8/9, NASA Landsat 4/5, NASA FIRMS and NASA GEDI LiDAR

Parameters:

latfloatrequired
Latitude (-90 to 90)
lngfloatrequired
Longitude (-180 to 180)
sizeintoptional
Zone size in km (default: 10)
langstringoptional
Response language: "en" or "fr" (default: "en")

Example:

curl -X POST https://www.canopysat.org/api/v1/analyze \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat": -3.4653, "lng": -62.2159, "size": 10}'

Response:

{
  "success": true,
  "score": 87,
  "ndvi_current": 0.823,
  "forest_cover": 98.5,
  "canopy_height": 24.3,
  "canopy_height_rh50": 12.1,
  "gedi_cover": 99.2,
  "canopy_height_source": "NASA GEDI LiDAR",
  "ai_forest_type": "Dense Tropical Forest",
  "deforestation_alert": "STABLE",
  "active_fires": 0,
  "sentinel1_vv": -8.234,
  "trend": "improving",
  "satellites_used": ["ESA Sentinel-2", "NASA FIRMS", "ESA Sentinel-1", "NASA Landsat 8/9", "NASA Landsat 4/5", "NASA GEDI LiDAR"]
}
POST /api/v1/key/create
Create a new free API key
namestringrequired
Your name
emailstringrequired
Your email
use_casestringoptional
Your use case
curl -X POST https://www.canopysat.org/api/v1/key/create \
  -H "Content-Type: application/json" \
  -d '{"name": "John Doe", "email": "john@example.com"}'
GET /api/v1/key/status
Check your API key usage and remaining calls
curl https://www.canopysat.org/api/v1/key/status \
  -H "Authorization: Bearer YOUR_API_KEY"
POST /api/v1/compare
Compare two time periods to detect forest changes
lat, lng, sizefloatrequired
date1_start, date1_endstringrequired
Period 1 (YYYY-MM-DD format)
date2_start, date2_endstringrequired
Period 2 (YYYY-MM-DD format)

Satellites Used

ESA Sentinel-2
10m · NDVI, NDRE, NBR, cover
ESA Sentinel-1
10m · VV radar, classification
NASA Landsat 8/9
30m · 10-year trend
NASA Landsat 4/5
30m · 40-year trend since 1984
NASA FIRMS
375m · Active fires VIIRS/MODIS
NASA GEDI (ISS)
25m→10m fusion · LiDAR canopy height

Code Examples

Install the official SDK:

pip install canopysat

📦 pypi.org/project/canopysat · github.com/SautiRay/canopysat

Python:

from canopysat import Forest

# Simple — no API key needed (10 free analyses/month)
result = Forest.analyze(lat=-3.4653, lng=-62.2159, size=10)
print(result.score)           # 80
print(result.canopy_height)   # 13.2m (NASA GEDI LiDAR)
print(result.summary())

# With API key
import requests

API_KEY = "YOUR_API_KEY"
BASE_URL = "https://www.canopysat.org/api/v1"

response = requests.post(f"{BASE_URL}/analyze",
    headers={"Authorization": f"Bearer {API_KEY}"},
    json={"lat": -3.4653, "lng": -62.2159, "size": 10}
)
data = response.json()
print(f"Forest Score: {data['score']}/100")
print(f"Canopy Height: {data['canopy_height']}m (NASA GEDI)")
print(f"Deforestation Alert: {data['deforestation_alert']}")

JavaScript:

const response = await fetch('https://www.canopysat.org/api/v1/analyze', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({lat: -3.4653, lng: -62.2159, size: 10})
});
const data = await response.json();
console.log(`Forest Score: ${data.score}/100`);
console.log(`Canopy Height: ${data.canopy_height}m (NASA GEDI)`);

📞 Get an API Key

Contact us to get your free API key or to upgrade to a higher plan.

✉️ Get API Key