---
title: "fetch features"
method: GET
path: "/collections/{collectionId}/items"
tags: ["Features"]
---

# fetch features

`GET /collections/{collectionId}/items`

Fetch features of the feature collection with id `collectionId`.

Every feature in a dataset belongs to a collection. A dataset may
consist of multiple feature collections. A feature collection is often a
collection of features of a similar type, based on a common schema.

Use content negotiation to request HTML or GeoJSON.

## Path parameters

- `collectionId` string, required

## Query parameters

- `limit` integer
- `bbox` number[]
- `datetime` string

## Response `200`

The response is a document consisting of features in the collection.
The features included in the response are determined by the server
based on the query parameters of the request. To support access to
larger collections without overloading the client, the API supports
paged access with links to the next page, if more features are selected
that the page size.

The `bbox` and `datetime` parameter can be used to select only a
subset of the features in the collection (the features that are in the
bounding box or time interval). The `bbox` parameter matches all features
in the collection that are not associated with a location, too. The
`datetime` parameter matches all features in the collection that are
not associated with a time stamp or interval, too.

The `limit` parameter may be used to control the subset of the
selected features that should be returned in the response, the page size.
Each page may include information about the number of selected and
returned features (`numberMatched` and `numberReturned`) as well as
links to support paging (link relation `next`).

## Other responses

- `400` — A query parameter has an invalid value.
- `404` — The requested URI was not found.
- `500` — A server error occurred.

## Changes

- **2023-03-08** `8e3ee5e94f6a` — 2 info
  - api tag `Features` added
  - api tag `Data` removed
- **2022-06-26** `3220e9993904` — 1 breaking, 9 info
  - added the new path request parameter `collectionId`
  - added the new optional `query` request parameter `bbox`
  - added the new optional `query` request parameter `datetime`
  - added the new optional `query` request parameter `limit`
  - …6 more
- **2022-06-24** `ce8e28fd78b3` — 6 breaking, 4 warning, 2 info
  - removed the media type `application/geo+json` for the response with the status `200`
  - removed the media type `application/json` for the response with the status `400`
  - removed the media type `application/json` for the response with the status `500`
  - removed the media type `text/html` for the response with the status `200`
  - …8 more

[Change history](https://skmtc.dev/bbox-services/apis/ogc-api-features-part-1-core/changes/collections/:collectionId/items/get.md)

---

[API](https://skmtc.dev/bbox-services/apis/ogc-api-features-part-1-core.md) · [All operations](https://skmtc.dev/bbox-services/apis/ogc-api-features-part-1-core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bbox-services/ogc-api-features-part-1-core/revisions/4fcf037d9626/schema)
