---
title: "Get sites"
method: GET
path: "/ecology/api/v1/sites"
tags: ["sites"]
---

# Get sites

`GET /ecology/api/v1/sites`

## Request

- Base URL: `https://environment.data.gov.uk` (the document declares no server; this is the origin it was published from)
- URL: `https://environment.data.gov.uk/ecology/api/v1/sites`
- Auth: none declared
- TypeScript: <https://skmtc.dev/environment-agency/apis/environment-agency-ecology-and-fish-data-api/docs/ecology/api/v1/sites/get.ts> (a function with typed inputs; its response is checked against the schema)

The possible values of `mode` are `minimal` (default) and `props`.
Example queries:

Get a list of sites:
`/ecology/api/v1/sites`

Get a list of sites within 5km of a lat/long point:
`/ecology/api/v1/sites?lat=51.44553&long=-2.54344&distance_km=5`

Get a list of sites within 5km of a lat/long point and include the biosys site information (such as altitude, slope etc):
`/ecology/api/v1/sites?lat=51.44553&long=-2.54344&distance_km=5&mode=props`

## Query parameters

- `skip` integer, required
- `take` integer, required
- `mode` string, required
- `type` string
- `lat` number, double
- `long` number, double
- `distance_km` number, double

## Response `default`

Default response

---

[API](https://skmtc.dev/environment-agency/apis/environment-agency-ecology-and-fish-data-api.md) - [All operations](https://skmtc.dev/environment-agency/apis/environment-agency-ecology-and-fish-data-api/llms.txt) - [OpenAPI document](https://skmtc.dev/environment-agency/apis/environment-agency-ecology-and-fish-data-api/revisions/12337a486753?raw)
