skypeek: satellite image of a place (Sentinel-2 true color, NDVI, NDWI)
get_satellite_imageRetrieve a recent satellite image of a place or coordinates as a base64 PNG with capture date, cloud cover, source, and attribution.
Instructions
skypeek: Get a recent satellite image of a place or coordinates. For the forecast use get_weather. Returns a recent satellite picture of a place as a base64 PNG, with the capture date, cloud cover, source and attribution: the least cloudy recent Sentinel-2 L2A scene at 10 m per pixel as true colour, NDVI (vegetation) or NDWI (water), clouds painted grey in the index views; NASA GIBS true colour (about 250 m) for areas wider than 10 km or when Sentinel-2 has no scene. Not real time (date is the scene day); clouds can hide the ground (404 too_cloudy, no_scene, no_imagery: not charged). Sentinel-2 data is free to use with credit; NASA GIBS has no restrictions. Not for navigation or safety. Typically 5 to 25 s (a few Sentinel-2 tiles are read and rendered). Price: USD 0.01. Free: 5 skypeek calls per IP per UTC day. Docs: https://tanod.dev/learn/satellite-image-api.html
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | Latitude in degrees (-90 to 90). Send lat and lon, or place. | |
| lon | No | Longitude in degrees (-180 to 180). Send lat and lon, or place. | |
| date | No | Target day YYYY-MM-DD (2015-07 onward, not in the future): the nearest scene within 15 days that is clear enough. Default: the newest clear scene of the last 60 days. | |
| size | No | Width and height of the PNG in pixels (128-1024, default 512). | |
| view | No | true_color (a natural-colour picture), ndvi (vegetation) or ndwi (open water), both computed from the same Sentinel-2 scene with clouds painted grey. | true_color |
| place | No | City name, optionally with a country code (such as Manila, PH); cities of 15,000+ people. Send place, or lat and lon. | |
| radius_m | No | Half the side of the pictured square, in metres (250-100000, default 2560: about 10 m per pixel at 512 px). Over 10000 is NASA 250 m true colour only. | |
| max_cloud | No | Most cloud accepted, as a percent of the pictured area (0-100, default 30). No scene that clear is a 404 too_cloudy (not charged). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| bbox | No | ||
| date | No | ||
| note | No | ||
| view | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| image | No | ||
| place | No | ||
| scene | No | ||
| legend | No | ||
| source | No | ||
| fallback | No | ||
| radius_m | No | ||
| upstream | No | ||
| attribution | No | ||
| captured_at | No | ||
| resolution_m | No | ||
| cloud_cover_scene_pct | No | ||
| cloud_cover_window_pct | No | ||
| cloud_shadow_window_pct | No |