---
title: "Item Geojson Statistics"
method: POST
path: "/data/mosaic/collections/{collectionId}/items/{itemId}/statistics"
tags: ["Tiles for STAC Items"]
---

# Item Geojson Statistics

`POST /data/mosaic/collections/{collectionId}/items/{itemId}/statistics`

## Request

- Base URL: `{endpoint}`
- URL: `{endpoint}/data/mosaic/collections/{collectionId}/items/{itemId}/statistics`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `https://geocatalog.spatio.azure.com/.default`

Get statistics from a GeoJSON feature for a STAC item.

## Path parameters

- `collectionId` string, required
- `itemId` string, required

## Query parameters

- `api-version` string, required
- `bidx` integer[]
- `assets` string[]
- `expression` string
- `asset_bidx` string[]
- `asset_as_band` boolean
- `nodata` string
- `unscale` boolean
- `reproject` 'nearest' | 'bilinear' | 'cubic' | 'cubic_spline' | 'lanczos' | 'average' | 'mode' | 'max' | 'min' | 'med' | 'q1' | 'q3' | 'sum' | 'rms'
- `coord_crs` string
- `resampling` 'nearest' | 'bilinear' | 'cubic' | 'cubic_spline' | 'lanczos' | 'average' | 'mode' | 'gauss' | 'rms'
- `max_size` integer
- `categorical` boolean
- `c` integer[]
- `p` integer[]
- `histogram_bins` string
- `histogram_range` string
- `dst_crs` string
- `subdataset_name` string
- `subdataset_bands` integer[]
- `crs` string
- `datetime` string
- `sel` string[]
- `sel_method` 'nearest' | 'linear' | 'bilinear' | 'cubic' | 'cubic_spline' | 'lanczos' | 'area' | 'mode'
- `algorithm` string
- `algorithm_params` string
- `height` integer
- `width` integer

## Request body

- Feature: GeoJSON Feature object representing a geographic entity
  - `geometry` Geometry, required: Represents a GeoJSON geometry object as defined by RFC 7946. Supported geometry types include: - **Point**: A single geographic coordinate. - **LineString**: A sequence of geographic coordinates forming a line. - **Polygon**: A closed shape defined by linear rings. - **MultiPoint**: A collection of Points. - **MultiLineString**: A collection of LineStrings. - **MultiPolygon**: A collection of Polygons. Used for spatial filtering in STAC.
    - `type` string, required: Discriminator property for Geometry.
    - `bbox` number[]: Optional bounding box of the geometry.
  - `type` 'Feature', required: Type identifier for GeoJSON Feature objects
  - `properties` object: Feature properties

## Response `200`

The request has succeeded.

- StacItemStatisticsGeoJson: STAC Item representing a spatiotemporal asset with statistical information
  - `geometry` Geometry, required: Represents a GeoJSON geometry object as defined by RFC 7946. Supported geometry types include: - **Point**: A single geographic coordinate. - **LineString**: A sequence of geographic coordinates forming a line. - **Polygon**: A closed shape defined by linear rings. - **MultiPoint**: A collection of Points. - **MultiLineString**: A collection of LineStrings. - **MultiPolygon**: A collection of Polygons. Used for spatial filtering in STAC.
    - `type` string, required: Discriminator property for Geometry.
    - `bbox` number[]: Optional bounding box of the geometry.
  - `type` 'Feature', required: Type identifier for GeoJSON Feature objects
  - `properties` StacItemStatisticsGeoJsonProperties: Properties for STAC Item statistics GeoJSON Feature
    - `statistics` object, required: Statistical information for each band in the asset

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-07-13** (2025-04-30-preview) `42447be18bc5`: 1 info
  - endpoint added
- **2025-05-15** (2025-04-30-preview) `00cbc3d6d8e0`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/azure/apis/orbital-microsoft-planetarycomputer/changes/data/mosaic/collections/:collectionId/items/:itemId/statistics/post.md)

---

[API](https://skmtc.dev/azure/apis/orbital-microsoft-planetarycomputer.md) - [All operations](https://skmtc.dev/azure/apis/orbital-microsoft-planetarycomputer/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/orbital-microsoft-planetarycomputer/revisions/42447be18bc5?raw)
