GET /api/sentinel2/search
Searches the Microsoft Planetary Computer STAC API for the most recent Sentinel-2 L2A scene covering the given point. Returns scene metadata, cloud cover percentage, a thumbnail URL, and a full-resolution link.
Rate limit: 30 requests per minute per IP.
Caching
Results are cached for 1 hour keyed on a 0.02° grid (approximately 2 km). Repeated requests within the same grid cell return immediately from the cache.Data source
Imagery is retrieved from the Microsoft Planetary Computer STAC catalog (sentinel-2-l2a collection). The search window is the last 30 days with a cloud cover filter of less than 30%.
Query parameters
Latitude in decimal degrees (−90 to 90).
Longitude in decimal degrees (−180 to 180).
Response
true if a qualifying scene was found, false otherwise.Unique STAC item ID for the scene. Present only when
found is true.ISO 8601 capture timestamp of the scene.
Cloud cover percentage at time of capture (0–100).
URL of the scene thumbnail. Suitable for display in a map popup.
URL of the full-resolution rendered preview PNG. Opens in the browser or a GIS tool.
Bounding box of the scene as
[west, south, east, north].Satellite platform identifier (e.g.
"Sentinel-2A" or "Sentinel-2B").Human-readable reason when
found is false (e.g. "No clear scenes in last 30 days").Error detail when the search failed due to a dependency or network issue.