Satellite before/after: two clearest Sentinel-2 scenes, images and NDVI change for any place
satellite_compareUse when checking what changed at a place between two dates (construction, deforestation, flooding, crops). Input: lat, lon, radius_m (200-10000), before and after dates (20+ days apart). Output: JSON per date: clearest scene, area cloud %, NDVI mean/median, true color, NDVI and false color PNG URLs; NDVI change and reliability. No scene: 404, not charged. Example: ?lat=37.5665&lon=126.978&before=2026-04-15&after=2026-10-08 Price: $0.018 USDC (Base or Solana) via x402.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | Yes | Latitude, WGS84 decimal degrees | |
| lon | Yes | Longitude, WGS84 decimal degrees | |
| size | No | Image width/height in px (default 768) | |
| after | Yes | Later date YYYY-MM-DD, at least 20 days after before | |
| before | Yes | Earlier date YYYY-MM-DD (2017-01-01 or later) | |
| radius_m | No | Half-width of the square area in meters (default 2000) | |
| window_days | No | Search ± days around each date (default 15) |