---
title: "Get features by ID"
method: GET
path: "/layers/{layerId}/features"
tags: ["Read Features"]
---

# Get features by ID

`GET /layers/{layerId}/features`

Returns all the features found for the provided list of IDs. The response is always a FeatureCollection, even if there are no features with the provided IDs.

## Path parameters

- `layerId` string, required

## Query parameters

- `id` string[]
- `selection` string[]
- `force2D` boolean
- `versionRef` string
- `author` string

## Response `200`

An array of features response.

## Other responses

- `401` — Unauthorized to perform the request.
- `403` — Forbidden request. Insufficient rights to perform the request.
- `404` — Not found.
- `513` — Response payload too large.

---

[API](https://skmtc.dev/here/apis/query-api-v1.md) · [All operations](https://skmtc.dev/here/apis/query-api-v1/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/here/query-api-v1/revisions/30e5d2645407/schema)
