oslew docs
Console
Menu

Satellite scenes

/v1/scenes searches a STAC catalogue — Sentinel-2, as indexed by Earth Search, in the answer below — for the scenes that cover a place in a time range, under a cloud limit if you give one, newest first. It answers with each scene's metadata and the links to its files.

The window moves: a scene older than 120 days is no longer listed, so the dates in the examples below eventually fall out of it.

It does not answer with pixels. The imagery is read from each asset's href, on the host that stores it, not through this API: finding the right scene is the part a catalogue is for, and the gigabytes stay where they already are.

curl
curl -G "https://api.oslew.com/v1/scenes" \
  -H "Authorization: Bearer $GEO_API_KEY" \
  --data-urlencode 'at=19.4326,-99.1332' \
  --data-urlencode 'from=1793491200' \
  --data-urlencode 'to=1795132799' \
  --data-urlencode 'max_cloud=20' \
  --data-urlencode 'limit=2'
Python
from oslew import Client

# The key is read from GEO_API_KEY.
client = Client(base_url="https://api.oslew.com")

answer = client.scenes(
    at="19.4326,-99.1332",
    from_=1793491200,
    to=1795132799,
    max_cloud=20,
    limit=2,
)
TypeScript
import { Client } from "@oslew/client";

// The key is read from GEO_API_KEY.
const client = new Client({ baseUrl: "https://api.oslew.com" });

const answer = await client.scenes({
  at: "19.4326,-99.1332",
  from: 1793491200,
  to: 1795132799,
  max_cloud: 20,
  limit: 2,
});
Response
HTTP/1.1 200 OK
content-type: application/json
ratelimit-limit: 100
ratelimit-remaining: 294
ratelimit-reset: 1

{
  "bbox": [
    -99.1332,
    19.4326,
    -99.1332,
    19.4326
  ],
  "from": 1793491200,
  "to": 1795132799,
  "max_cloud": 20,
  "results": [
    {
      "id": "S2C_14QMG_20261106_0_L2A",
      "collection": "sentinel-2-l2a",
      "datetime": 1793985504,
      "bbox": [
        -99.955675,
        18.901714,
        -98.906767,
        19.896394
      ],
      "geometry": [
        [
          [
            -99.955675,
            19.893852
          ],
          [
            -99.949899,
            18.901714
          ],
          [
            -98.907331,
            18.904119
          ],
          [
            -98.906767,
            19.896394
          ],
          [
            -99.955675,
            19.893852
          ]
        ]
      ],
      "properties": {
        "constellation": "sentinel-2",
        "created": "2026-11-06T23:00:11.468Z",
        "datetime": "2026-11-06T17:18:24.635000Z",
        "earthsearch:boa_offset_applied": true,
        "earthsearch:payload_id": "roda-sentinel2/workflow-sentinel2-to-stac/e09a71bb8a7055afe68c20d06ce2e82c",
        "earthsearch:s3_path": "s3://sentinel-cogs/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A",
        "eo:cloud_cover": 9.0653,
        "grid:code": "MGRS-14QMG",
        "instruments": [
          "msi"
        ],
        "mgrs:grid_square": "MG",
        "mgrs:latitude_band": "Q",
        "mgrs:utm_zone": 14,
        "platform": "sentinel-2c",
        "processing:software": {
          "sentinel2-to-stac": "2026.08.16"
        },
        "proj:centroid": {
          "lat": 19.39952,
          "lon": -99.42991
        },
        "proj:epsg": 32614,
        "s2:cloud_shadow_percentage": 3.3665,
        "s2:datastrip_id": "S2C_OPER_MSI_L2A_DS_2CPS_20261106T214008_S20261106T171422_N05.13",
        "s2:datatake_id": "GS2C_20261106T170511_011336_N05.13",
        "s2:datatake_type": "INS-NOBS",
        "s2:degraded_msi_data_percentage": 0.0523,
        "s2:generation_time": "2026-11-06T21:40:08.000000Z",
        "s2:high_proba_clouds_percentage": 5.3914,
        "s2:medium_proba_clouds_percentage": 3.6739,
        "s2:nodata_pixel_percentage": 0,
        "s2:not_vegetated_percentage": 31.7709,
        "s2:processing_baseline": "05.13",
        "s2:product_type": "S2MSI2A",
        "s2:product_uri": "S2C_MSIL2A_20261106T170511_N0513_R069_T14QMG_20261106T214008.SAFE",
        "s2:reflectance_conversion_factor": 1.0164,
        "s2:saturated_defective_pixel_percentage": 0,
        "s2:sequence": "0",
        "s2:snow_ice_percentage": 0,
        "s2:thin_cirrus_percentage": 0,
        "s2:tile_id": "S2C_OPER_MSI_L2A_TL_2CPS_20261106T214008_A011336_T14QMG_N05.13",
        "s2:unclassified_percentage": 0.6163,
        "s2:vegetation_percentage": 54.2923,
        "s2:water_percentage": 0.3874,
        "updated": "2026-11-06T23:00:11.468Z",
        "view:azimuth": 115.2919,
        "view:incidence_angle": 3.7988,
        "view:sun_azimuth": 155.41,
        "view:sun_elevation": 51.2441
      },
      "assets": {
        "aot": {
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/AOT.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": 0,
              "scale": 0.001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Aerosol optical thickness (AOT)",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "aot-jp2": {
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R20m/AOT.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": 0,
              "scale": 0.001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Aerosol optical thickness (AOT)",
          "type": "image/jp2"
        },
        "blue": {
          "eo:bands": [
            {
              "center_wavelength": 0.49,
              "common_name": "blue",
              "full_width_half_max": 0.098,
              "name": "B02"
            }
          ],
          "gsd": 10,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B02.tif",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Blue - 10m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "blue-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.49,
              "common_name": "blue",
              "full_width_half_max": 0.098,
              "name": "B02"
            }
          ],
          "gsd": 10,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R10m/B02.jp2",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Blue - 10m",
          "type": "image/jp2"
        },
        "cloud": {
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/qi/CLD_20m.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "cloud"
          ],
          "title": "Cloud Probabilities",
          "type": "image/jp2"
        },
        "coastal": {
          "eo:bands": [
            {
              "center_wavelength": 0.443,
              "common_name": "coastal",
              "full_width_half_max": 0.027,
              "name": "B01"
            }
          ],
          "gsd": 60,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B01.tif",
          "proj:shape": [
            1830,
            1830
          ],
          "proj:transform": [
            60,
            0,
            399960,
            0,
            -60,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 60
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Coastal - 60m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "coastal-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.443,
              "common_name": "coastal",
              "full_width_half_max": 0.027,
              "name": "B01"
            }
          ],
          "gsd": 60,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R60m/B01.jp2",
          "proj:shape": [
            1830,
            1830
          ],
          "proj:transform": [
            60,
            0,
            399960,
            0,
            -60,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 60
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Coastal - 60m",
          "type": "image/jp2"
        },
        "granule_metadata": {
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/granule_metadata.xml",
          "roles": [
            "metadata"
          ],
          "type": "application/xml"
        },
        "green": {
          "eo:bands": [
            {
              "center_wavelength": 0.56,
              "common_name": "green",
              "full_width_half_max": 0.045,
              "name": "B03"
            }
          ],
          "gsd": 10,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B03.tif",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Green - 10m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "green-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.56,
              "common_name": "green",
              "full_width_half_max": 0.045,
              "name": "B03"
            }
          ],
          "gsd": 10,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R10m/B03.jp2",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Green - 10m",
          "type": "image/jp2"
        },
        "nir": {
          "eo:bands": [
            {
              "center_wavelength": 0.842,
              "common_name": "nir",
              "full_width_half_max": 0.145,
              "name": "B08"
            }
          ],
          "gsd": 10,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B08.tif",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 1 - 10m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "nir-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.842,
              "common_name": "nir",
              "full_width_half_max": 0.145,
              "name": "B08"
            }
          ],
          "gsd": 10,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R10m/B08.jp2",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 1 - 10m",
          "type": "image/jp2"
        },
        "nir08": {
          "eo:bands": [
            {
              "center_wavelength": 0.865,
              "common_name": "nir08",
              "full_width_half_max": 0.033,
              "name": "B8A"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B8A.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 2 - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "nir08-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.865,
              "common_name": "nir08",
              "full_width_half_max": 0.033,
              "name": "B8A"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R20m/B8A.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 2 - 20m",
          "type": "image/jp2"
        },
        "nir09": {
          "eo:bands": [
            {
              "center_wavelength": 0.945,
              "common_name": "nir09",
              "full_width_half_max": 0.026,
              "name": "B09"
            }
          ],
          "gsd": 60,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B09.tif",
          "proj:shape": [
            1830,
            1830
          ],
          "proj:transform": [
            60,
            0,
            399960,
            0,
            -60,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 60
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 3 - 60m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "nir09-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.945,
              "common_name": "nir09",
              "full_width_half_max": 0.026,
              "name": "B09"
            }
          ],
          "gsd": 60,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R60m/B09.jp2",
          "proj:shape": [
            1830,
            1830
          ],
          "proj:transform": [
            60,
            0,
            399960,
            0,
            -60,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 60
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 3 - 60m",
          "type": "image/jp2"
        },
        "product_metadata": {
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/product_metadata.xml",
          "roles": [
            "metadata"
          ],
          "type": "application/xml"
        },
        "red": {
          "eo:bands": [
            {
              "center_wavelength": 0.665,
              "common_name": "red",
              "full_width_half_max": 0.038,
              "name": "B04"
            }
          ],
          "gsd": 10,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B04.tif",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red - 10m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "red-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.665,
              "common_name": "red",
              "full_width_half_max": 0.038,
              "name": "B04"
            }
          ],
          "gsd": 10,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R10m/B04.jp2",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red - 10m",
          "type": "image/jp2"
        },
        "rededge1": {
          "eo:bands": [
            {
              "center_wavelength": 0.704,
              "common_name": "rededge",
              "full_width_half_max": 0.019,
              "name": "B05"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B05.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 1 - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "rededge1-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.704,
              "common_name": "rededge",
              "full_width_half_max": 0.019,
              "name": "B05"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R20m/B05.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 1 - 20m",
          "type": "image/jp2"
        },
        "rededge2": {
          "eo:bands": [
            {
              "center_wavelength": 0.74,
              "common_name": "rededge",
              "full_width_half_max": 0.018,
              "name": "B06"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B06.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 2 - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "rededge2-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.74,
              "common_name": "rededge",
              "full_width_half_max": 0.018,
              "name": "B06"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R20m/B06.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 2 - 20m",
          "type": "image/jp2"
        },
        "rededge3": {
          "eo:bands": [
            {
              "center_wavelength": 0.783,
              "common_name": "rededge",
              "full_width_half_max": 0.028,
              "name": "B07"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B07.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 3 - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "rededge3-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.783,
              "common_name": "rededge",
              "full_width_half_max": 0.028,
              "name": "B07"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R20m/B07.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 3 - 20m",
          "type": "image/jp2"
        },
        "scl": {
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/SCL.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Scene classification map (SCL)",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "scl-jp2": {
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R20m/SCL.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Scene classification map (SCL)",
          "type": "image/jp2"
        },
        "snow": {
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/qi/SNW_20m.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "snow-ice"
          ],
          "title": "Snow Probabilities",
          "type": "image/jp2"
        },
        "swir16": {
          "eo:bands": [
            {
              "center_wavelength": 1.61,
              "common_name": "swir16",
              "full_width_half_max": 0.143,
              "name": "B11"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B11.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "SWIR 1.6μm - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "swir16-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 1.61,
              "common_name": "swir16",
              "full_width_half_max": 0.143,
              "name": "B11"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R20m/B11.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "SWIR 1.6μm - 20m",
          "type": "image/jp2"
        },
        "swir22": {
          "eo:bands": [
            {
              "center_wavelength": 2.19,
              "common_name": "swir22",
              "full_width_half_max": 0.242,
              "name": "B12"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/B12.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "SWIR 2.2μm - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "swir22-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 2.19,
              "common_name": "swir22",
              "full_width_half_max": 0.242,
              "name": "B12"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R20m/B12.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "SWIR 2.2μm - 20m",
          "type": "image/jp2"
        },
        "thumbnail": {
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/preview.jpg",
          "roles": [
            "thumbnail"
          ],
          "title": "Thumbnail of preview image",
          "type": "image/jpeg"
        },
        "tileinfo_metadata": {
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/tileinfo_metadata.json",
          "roles": [
            "metadata"
          ],
          "type": "application/json"
        },
        "visual": {
          "eo:bands": [
            {
              "center_wavelength": 0.665,
              "common_name": "red",
              "full_width_half_max": 0.038,
              "name": "B04"
            },
            {
              "center_wavelength": 0.56,
              "common_name": "green",
              "full_width_half_max": 0.045,
              "name": "B03"
            },
            {
              "center_wavelength": 0.49,
              "common_name": "blue",
              "full_width_half_max": 0.098,
              "name": "B02"
            }
          ],
          "gsd": 10,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/TCI.tif",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            },
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            },
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "visual"
          ],
          "title": "True color image",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "visual-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.665,
              "common_name": "red",
              "full_width_half_max": 0.038,
              "name": "B04"
            },
            {
              "center_wavelength": 0.56,
              "common_name": "green",
              "full_width_half_max": 0.045,
              "name": "B03"
            },
            {
              "center_wavelength": 0.49,
              "common_name": "blue",
              "full_width_half_max": 0.098,
              "name": "B02"
            }
          ],
          "gsd": 10,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R10m/TCI.jp2",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            },
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            },
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "visual"
          ],
          "title": "True color image",
          "type": "image/jp2"
        },
        "wvp": {
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2C_14QMG_20261106_0_L2A/WVP.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": 0,
              "scale": 0.001,
              "spatial_resolution": 20,
              "unit": "cm"
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Water Vapour (WVP)",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "wvp-jp2": {
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/6/0/R20m/WVP.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": 0,
              "scale": 0.001,
              "spatial_resolution": 20,
              "unit": "cm"
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Water Vapour (WVP)",
          "type": "image/jp2"
        }
      }
    },
    {
      "id": "S2B_14QMG_20261101_0_L2A",
      "collection": "sentinel-2-l2a",
      "datetime": 1793553509,
      "bbox": [
        -99.955675,
        18.901714,
        -98.906767,
        19.896394
      ],
      "geometry": [
        [
          [
            -99.955675,
            19.893852
          ],
          [
            -99.949899,
            18.901714
          ],
          [
            -98.907331,
            18.904119
          ],
          [
            -98.906767,
            19.896394
          ],
          [
            -99.955675,
            19.893852
          ]
        ]
      ],
      "properties": {
        "constellation": "sentinel-2",
        "created": "2026-11-01T23:44:47.020Z",
        "datetime": "2026-11-01T17:18:29.936000Z",
        "earthsearch:boa_offset_applied": true,
        "earthsearch:payload_id": "roda-sentinel2/workflow-sentinel2-to-stac/be278563e08761ded94c6ee156a97c4d",
        "earthsearch:s3_path": "s3://sentinel-cogs/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A",
        "eo:cloud_cover": 14.4754,
        "grid:code": "MGRS-14QMG",
        "instruments": [
          "msi"
        ],
        "mgrs:grid_square": "MG",
        "mgrs:latitude_band": "Q",
        "mgrs:utm_zone": 14,
        "platform": "sentinel-2b",
        "processing:software": {
          "sentinel2-to-stac": "2026.08.16"
        },
        "proj:centroid": {
          "lat": 19.39952,
          "lon": -99.42991
        },
        "proj:epsg": 32614,
        "s2:cloud_shadow_percentage": 3.3189,
        "s2:datastrip_id": "S2B_OPER_MSI_L2A_DS_2BPS_20261101T221909_S20261101T171250_N05.13",
        "s2:datatake_id": "GS2B_20261101T170449_050431_N05.13",
        "s2:datatake_type": "INS-NOBS",
        "s2:degraded_msi_data_percentage": 0.0261,
        "s2:generation_time": "2026-11-01T22:19:09.000000Z",
        "s2:high_proba_clouds_percentage": 8.706,
        "s2:medium_proba_clouds_percentage": 5.7694,
        "s2:nodata_pixel_percentage": 0,
        "s2:not_vegetated_percentage": 28.0673,
        "s2:processing_baseline": "05.13",
        "s2:product_type": "S2MSI2A",
        "s2:product_uri": "S2B_MSIL2A_20261101T170449_N0513_R069_T14QMG_20261101T221909.SAFE",
        "s2:reflectance_conversion_factor": 1.0137,
        "s2:saturated_defective_pixel_percentage": 0,
        "s2:sequence": "0",
        "s2:snow_ice_percentage": 0,
        "s2:thin_cirrus_percentage": 0,
        "s2:tile_id": "S2B_OPER_MSI_L2A_TL_2BPS_20261101T221909_A050431_T14QMG_N05.13",
        "s2:unclassified_percentage": 1.1843,
        "s2:vegetation_percentage": 52.0775,
        "s2:water_percentage": 0.3741,
        "updated": "2026-11-01T23:44:47.020Z",
        "view:azimuth": 118.1506,
        "view:incidence_angle": 3.708,
        "view:sun_azimuth": 154.4276,
        "view:sun_elevation": 52.6605
      },
      "assets": {
        "aot": {
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/AOT.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": 0,
              "scale": 0.001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Aerosol optical thickness (AOT)",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "aot-jp2": {
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R20m/AOT.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": 0,
              "scale": 0.001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Aerosol optical thickness (AOT)",
          "type": "image/jp2"
        },
        "blue": {
          "eo:bands": [
            {
              "center_wavelength": 0.49,
              "common_name": "blue",
              "full_width_half_max": 0.098,
              "name": "B02"
            }
          ],
          "gsd": 10,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B02.tif",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Blue - 10m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "blue-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.49,
              "common_name": "blue",
              "full_width_half_max": 0.098,
              "name": "B02"
            }
          ],
          "gsd": 10,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R10m/B02.jp2",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Blue - 10m",
          "type": "image/jp2"
        },
        "cloud": {
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/qi/CLD_20m.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "cloud"
          ],
          "title": "Cloud Probabilities",
          "type": "image/jp2"
        },
        "coastal": {
          "eo:bands": [
            {
              "center_wavelength": 0.443,
              "common_name": "coastal",
              "full_width_half_max": 0.027,
              "name": "B01"
            }
          ],
          "gsd": 60,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B01.tif",
          "proj:shape": [
            1830,
            1830
          ],
          "proj:transform": [
            60,
            0,
            399960,
            0,
            -60,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 60
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Coastal - 60m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "coastal-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.443,
              "common_name": "coastal",
              "full_width_half_max": 0.027,
              "name": "B01"
            }
          ],
          "gsd": 60,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R60m/B01.jp2",
          "proj:shape": [
            1830,
            1830
          ],
          "proj:transform": [
            60,
            0,
            399960,
            0,
            -60,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 60
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Coastal - 60m",
          "type": "image/jp2"
        },
        "granule_metadata": {
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/granule_metadata.xml",
          "roles": [
            "metadata"
          ],
          "type": "application/xml"
        },
        "green": {
          "eo:bands": [
            {
              "center_wavelength": 0.56,
              "common_name": "green",
              "full_width_half_max": 0.045,
              "name": "B03"
            }
          ],
          "gsd": 10,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B03.tif",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Green - 10m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "green-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.56,
              "common_name": "green",
              "full_width_half_max": 0.045,
              "name": "B03"
            }
          ],
          "gsd": 10,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R10m/B03.jp2",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Green - 10m",
          "type": "image/jp2"
        },
        "nir": {
          "eo:bands": [
            {
              "center_wavelength": 0.842,
              "common_name": "nir",
              "full_width_half_max": 0.145,
              "name": "B08"
            }
          ],
          "gsd": 10,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B08.tif",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 1 - 10m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "nir-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.842,
              "common_name": "nir",
              "full_width_half_max": 0.145,
              "name": "B08"
            }
          ],
          "gsd": 10,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R10m/B08.jp2",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 1 - 10m",
          "type": "image/jp2"
        },
        "nir08": {
          "eo:bands": [
            {
              "center_wavelength": 0.865,
              "common_name": "nir08",
              "full_width_half_max": 0.033,
              "name": "B8A"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B8A.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 2 - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "nir08-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.865,
              "common_name": "nir08",
              "full_width_half_max": 0.033,
              "name": "B8A"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R20m/B8A.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 2 - 20m",
          "type": "image/jp2"
        },
        "nir09": {
          "eo:bands": [
            {
              "center_wavelength": 0.945,
              "common_name": "nir09",
              "full_width_half_max": 0.026,
              "name": "B09"
            }
          ],
          "gsd": 60,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B09.tif",
          "proj:shape": [
            1830,
            1830
          ],
          "proj:transform": [
            60,
            0,
            399960,
            0,
            -60,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 60
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 3 - 60m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "nir09-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.945,
              "common_name": "nir09",
              "full_width_half_max": 0.026,
              "name": "B09"
            }
          ],
          "gsd": 60,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R60m/B09.jp2",
          "proj:shape": [
            1830,
            1830
          ],
          "proj:transform": [
            60,
            0,
            399960,
            0,
            -60,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 60
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "NIR 3 - 60m",
          "type": "image/jp2"
        },
        "product_metadata": {
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/product_metadata.xml",
          "roles": [
            "metadata"
          ],
          "type": "application/xml"
        },
        "red": {
          "eo:bands": [
            {
              "center_wavelength": 0.665,
              "common_name": "red",
              "full_width_half_max": 0.038,
              "name": "B04"
            }
          ],
          "gsd": 10,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B04.tif",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red - 10m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "red-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.665,
              "common_name": "red",
              "full_width_half_max": 0.038,
              "name": "B04"
            }
          ],
          "gsd": 10,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R10m/B04.jp2",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red - 10m",
          "type": "image/jp2"
        },
        "rededge1": {
          "eo:bands": [
            {
              "center_wavelength": 0.704,
              "common_name": "rededge",
              "full_width_half_max": 0.019,
              "name": "B05"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B05.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 1 - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "rededge1-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.704,
              "common_name": "rededge",
              "full_width_half_max": 0.019,
              "name": "B05"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R20m/B05.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 1 - 20m",
          "type": "image/jp2"
        },
        "rededge2": {
          "eo:bands": [
            {
              "center_wavelength": 0.74,
              "common_name": "rededge",
              "full_width_half_max": 0.018,
              "name": "B06"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B06.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 2 - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "rededge2-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.74,
              "common_name": "rededge",
              "full_width_half_max": 0.018,
              "name": "B06"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R20m/B06.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 2 - 20m",
          "type": "image/jp2"
        },
        "rededge3": {
          "eo:bands": [
            {
              "center_wavelength": 0.783,
              "common_name": "rededge",
              "full_width_half_max": 0.028,
              "name": "B07"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B07.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 3 - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "rededge3-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.783,
              "common_name": "rededge",
              "full_width_half_max": 0.028,
              "name": "B07"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R20m/B07.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "Red Edge 3 - 20m",
          "type": "image/jp2"
        },
        "scl": {
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/SCL.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Scene classification map (SCL)",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "scl-jp2": {
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R20m/SCL.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Scene classification map (SCL)",
          "type": "image/jp2"
        },
        "snow": {
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/qi/SNW_20m.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "snow-ice"
          ],
          "title": "Snow Probabilities",
          "type": "image/jp2"
        },
        "swir16": {
          "eo:bands": [
            {
              "center_wavelength": 1.61,
              "common_name": "swir16",
              "full_width_half_max": 0.143,
              "name": "B11"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B11.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "SWIR 1.6μm - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "swir16-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 1.61,
              "common_name": "swir16",
              "full_width_half_max": 0.143,
              "name": "B11"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R20m/B11.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "SWIR 1.6μm - 20m",
          "type": "image/jp2"
        },
        "swir22": {
          "eo:bands": [
            {
              "center_wavelength": 2.19,
              "common_name": "swir22",
              "full_width_half_max": 0.242,
              "name": "B12"
            }
          ],
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/B12.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "SWIR 2.2μm - 20m",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "swir22-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 2.19,
              "common_name": "swir22",
              "full_width_half_max": 0.242,
              "name": "B12"
            }
          ],
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R20m/B12.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": -0.1,
              "scale": 0.0001,
              "spatial_resolution": 20
            }
          ],
          "roles": [
            "data",
            "reflectance"
          ],
          "title": "SWIR 2.2μm - 20m",
          "type": "image/jp2"
        },
        "thumbnail": {
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/preview.jpg",
          "roles": [
            "thumbnail"
          ],
          "title": "Thumbnail of preview image",
          "type": "image/jpeg"
        },
        "tileinfo_metadata": {
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/tileinfo_metadata.json",
          "roles": [
            "metadata"
          ],
          "type": "application/json"
        },
        "visual": {
          "eo:bands": [
            {
              "center_wavelength": 0.665,
              "common_name": "red",
              "full_width_half_max": 0.038,
              "name": "B04"
            },
            {
              "center_wavelength": 0.56,
              "common_name": "green",
              "full_width_half_max": 0.045,
              "name": "B03"
            },
            {
              "center_wavelength": 0.49,
              "common_name": "blue",
              "full_width_half_max": 0.098,
              "name": "B02"
            }
          ],
          "gsd": 10,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/TCI.tif",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            },
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            },
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "visual"
          ],
          "title": "True color image",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "visual-jp2": {
          "eo:bands": [
            {
              "center_wavelength": 0.665,
              "common_name": "red",
              "full_width_half_max": 0.038,
              "name": "B04"
            },
            {
              "center_wavelength": 0.56,
              "common_name": "green",
              "full_width_half_max": 0.045,
              "name": "B03"
            },
            {
              "center_wavelength": 0.49,
              "common_name": "blue",
              "full_width_half_max": 0.098,
              "name": "B02"
            }
          ],
          "gsd": 10,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R10m/TCI.jp2",
          "proj:shape": [
            10980,
            10980
          ],
          "proj:transform": [
            10,
            0,
            399960,
            0,
            -10,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            },
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            },
            {
              "data_type": "uint8",
              "nodata": 0,
              "spatial_resolution": 10
            }
          ],
          "roles": [
            "visual"
          ],
          "title": "True color image",
          "type": "image/jp2"
        },
        "wvp": {
          "gsd": 20,
          "href": "https://sentinel-cogs.s3.us-west-2.amazonaws.com/sentinel-s2-l2a-cogs/14/Q/MG/2026/11/S2B_14QMG_20261101_0_L2A/WVP.tif",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": 0,
              "scale": 0.001,
              "spatial_resolution": 20,
              "unit": "cm"
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Water Vapour (WVP)",
          "type": "image/tiff; application=geotiff; profile=cloud-optimized"
        },
        "wvp-jp2": {
          "gsd": 20,
          "href": "s3://sentinel-s2-l2a/tiles/14/Q/MG/2026/11/1/0/R20m/WVP.jp2",
          "proj:shape": [
            5490,
            5490
          ],
          "proj:transform": [
            20,
            0,
            399960,
            0,
            -20,
            2200020
          ],
          "raster:bands": [
            {
              "data_type": "uint16",
              "nodata": 0,
              "offset": 0,
              "scale": 0.001,
              "spatial_resolution": 20,
              "unit": "cm"
            }
          ],
          "roles": [
            "data"
          ],
          "title": "Water Vapour (WVP)",
          "type": "image/jp2"
        }
      }
    }
  ],
  "provenance": {
    "name": "earth-search",
    "release": "v1",
    "license": "various (per collection; Sentinel-2: CC-BY-SA-3.0-IGO)"
  },
  "took_us": 612
}

A real response, captured from the service at commit b8f4bde-dirty. Timing fields such as took_us differ on every call.

Asking

ParameterDefaultIs
bbox—lng_lo,lat_lo,lng_hi,lat_hi: the area, longitude first.
at—lat,lon: a point, latitude first, used when there is no bbox.
from0Unix seconds, inclusive: scenes acquired at or after.
tono boundUnix seconds, inclusive: scenes acquired at or before.
max_cloudno filterPercent. Keeps scenes whose eo:cloud_cover is at most this.
limit20Scenes to return, clamped to 1–500.
  • Give one of the two; bbox wins if both are sent. Neither is a 400, bbox or at is required.
  • A box that is not four numbers, or whose low corner is not south-west of its high corner, is refused withbbox is lng_lo,lat_lo,lng_hi,lat_hi. That includes a box across the antimeridian: ask twice, one box each side of 180°.
  • A point becomes a box of no size — echoed above as bbox [-99.1332, 19.4326, -99.1332, 19.4326], in STAC order. The answer echoes the window and cloud limit it used as well.
  • Times are unix seconds in 32 bits, compared with each scene's acquisition time. Above, from andto are the first second of 1 November 2026 and the last of 19 November.

What matches, and in what order

A scene matches when its bounding box overlaps yours, and the matches come back newest first, cut to limit. Three consequences are worth building for:

  • A bounding box is not a footprint. The match is on the rectangle around each scene. A Sentinel-2 tile at the edge of a satellite's swath is partly empty, so a point can be inside its rectangle and outside its data. geometry is the actual footprint, and s2:nodata_pixel_percentage says how much of the tile is empty; for a point, test it against geometry before you trust a scene.
  • max_cloud is the whole scene's cloud, not your site's. A tile 110 km across at 7% cloud can be overcast exactly where you are looking. The scene classification asset, scl, labels every 20 m pixel — clear ground, water, cloud, cloud shadow — and reading it at your point is the only way to know.
  • Newest first, then cut. A year at limit=20 is the latest twenty scenes of it. To go further back, set to to just before the oldest scene you have and ask again — or ask for up to 500 at once.

Neighbouring Sentinel-2 tiles overlap, so a place near a tile edge is in two items for the same pass, one per tile. The tile is in the id — 14QMG above — along with the satellite and the date.

An item

Each result is a STAC item, reconstructed whole from the catalogue:

FieldIs
idThe item's id in its catalogue: satellite, grid tile, date, sequence and processing level, for Sentinel-2.
collectionThe collection it belongs to — sentinel-2-l2a, surface reflectance, above.
datetimeAcquisition time, unix seconds. properties.datetime has the exact ISO 8601 string.
bbox[lng_lo, lat_lo, lng_hi, lat_hi], STAC order.
geometryThe footprint, as polygon rings of [lng, lat]. These are the coordinates of a GeoJSON polygon, not a GeoJSON object: wrap them as {"type": "Polygon", "coordinates": geometry} to hand to a GeoJSON tool.
propertiesEvery property the catalogue gives, unchanged in name: eo:cloud_cover, platform, proj:epsg, sun and view angles, and the s2: percentages of water, vegetation, snow, shadow and no-data. Numbers are kept to four decimals.
assetsEvery file of the scene, keyed by name: href, media type, roles, title, ground sample distance gsd in metres, and band metadata.

The two scenes above are the same tile, 14QMG, seen by two satellites five days apart: Sentinel-2C on 6 November at 9.1% cloud, and Sentinel-2B on 1 November at 14.5%. provenance is null when nothing matched.

The imagery is at the asset's href

An href points at the host that stores the file, and that host's rules apply to reading it. It needs no oslew key — do not send your Authorization header to it. In the answer above the assets are on two hosts:

HostAssetsReading them
https://sentinel-cogs.s3.us-west-2.amazonaws.com/…Each band as a Cloud-Optimised GeoTIFF (blue, green, red,nir, the red edges and SWIRs, visual, scl, aot,wvp), the thumbnail JPEG, and metadata filesPublic HTTPS. A COG is laid out to be read a window at a time with HTTP range requests, so looking at a few square kilometres does not mean downloading the band.
s3://sentinel-s2-l2a/…The same bands as JPEG 2000 (the -jp2 keys), the cloud and snowprobability masks, product_metadataAn S3 bucket, read with an S3 client and AWS credentials. It is a requester-pays bucket: the reader pays for the transfer.

The rasters are in the scene's own projection, not in degrees: proj:epsg 32614 above is UTM zone 14N, and a point has to be transformed into it before it can be read. gsd says which bands are 10, 20 or 60 m.

Python
import urllib.request
from oslew import Client

client = Client(base_url="https://api.oslew.com")
lat, lon = 19.4326, -99.1332

def contains(rings, x, y):
    """Even–odd point in polygon over [lng, lat] rings; a hole is a ring too."""
    inside = False
    for ring in rings:
        for (x1, y1), (x2, y2) in zip(ring, ring[1:] + ring[:1]):
            if (y1 > y) != (y2 > y) and x < x1 + (y - y1) * (x2 - x1) / (y2 - y1):
                inside = not inside
    return inside

found = client.scenes(at=f"{lat},{lon}", from_=1_793_491_200, to=1_795_132_799, max_cloud=20, limit=50)
usable = [s for s in found["results"] if contains(s["geometry"], lon, lat)]
best = min(usable, key=lambda s: s["properties"]["eo:cloud_cover"])

# The file is on the asset's host, not on this API: no key goes with it.
with urllib.request.urlopen(best["assets"]["thumbnail"]["href"]) as r:
    open(best["id"] + ".jpg", "wb").write(r.read())
TypeScript
import { writeFile } from "node:fs/promises";
import { Client } from "@oslew/client";

const client = new Client({ baseUrl: "https://api.oslew.com" });
const [lat, lon] = [19.4326, -99.1332];

/** Even–odd point in polygon over [lng, lat] rings; a hole is a ring too. */
function contains(rings: number[][][], x: number, y: number): boolean {
  let inside = false;
  for (const ring of rings) {
    for (let i = 0, j = ring.length - 1; i < ring.length; j = i++) {
      const [x1, y1] = ring[j], [x2, y2] = ring[i];
      if (y1 > y !== y2 > y && x < x1 + ((y - y1) * (x2 - x1)) / (y2 - y1)) inside = !inside;
    }
  }
  return inside;
}

const found = await client.scenes({ at: lat + "," + lon, from: 1_793_491_200, to: 1_795_132_799, max_cloud: 20, limit: 50 });
const usable = found.results.filter((s) => contains(s.geometry, lon, lat));
const best = usable.reduce((a, b) => (b.properties["eo:cloud_cover"] < a.properties["eo:cloud_cover"] ? b : a));

// The file is on the asset's host, not on this API: no key goes with it.
const jpeg = await fetch(best.assets.thumbnail.href);
await writeFile(best.id + ".jpg", new Uint8Array(await jpeg.arrayBuffer()));

Reading pixels is a job for a raster library. With rasterio, which reads a COG over HTTPS by range requests, checking whether your point was actually clear in the chosen scene is a few lines:

Python
import rasterio
from rasterio.warp import transform

with rasterio.open(best["assets"]["scl"]["href"]) as src:      # scene classification, 20 m
    xs, ys = transform("EPSG:4326", src.crs, [lon], [lat])      # degrees to the scene's UTM
    (label,) = next(src.sample([(xs[0], ys[0])]))

clear = label in (4, 5, 6)   # vegetation, bare ground, water; 3 is cloud shadow, 8–10 cloud and cirrus

Coverage and licence

The search runs over the catalogue that is loaded, not over every satellite: the answer above is Sentinel-2 level-2A over central Mexico, and whether a place elsewhere has scenes depends on what the deployment has indexed. An empty results means nothing loaded matched, not that no satellite passed.

The licence is the imagery's, and it is set per collection — the answer's provenance says so, and names Sentinel-2's: CC-BY-SA 3.0 IGO. It applies to what you make from the pixels. Seedata and licensing.

Endpoints

GET/v1/scenesplatform

STAC items over a box or point in a time range under a cloud cover, newest first, with asset hrefs.