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. Behavior: each date is matched to the clearest Sentinel-2 L2A scene within ±window_days (default 15) by cloud share inside your square, not the whole tile; dates under 20 days apart: 400, not charged. NDVI is not cloud-masked, so reliability=low when either scene is over 20% cloud in the area. PNG URLs are rendered on open by Microsoft Planetary Computer, not stored by us; scene statistics are cached 30 days. Can take several seconds. Use instead: satellite_image for one date or other bands (NDWI, moisture); satellite_trend for month-by-month numbers. Example: ?lat=37.5665&lon=126.978&before=2026-04-15&after=2026-10-08 Price: $0.018 per call, paid in USDC (Base, Monad, Polygon, Arbitrum or Solana) via x402.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"lat": "<lat>",
"lon": "<lon>",
"before": "<before>",
"after": "<after>"
},
"name": "satellite_compare"
}
}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) |