---
title: "Get survey by ID"
method: GET
path: "/ecology/api/v1/surveys/{survey-id}"
tags: ["surveys"]
---

# Get survey by ID

`GET /ecology/api/v1/surveys/{survey-id}`

## 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/surveys/{survey-id}`
- Auth: none declared

Note that the survey ID ends with the numeric ID you'd recognise from the source data, but _preprended_ with ecology data sampling URL and `fish/` or `bio/` e.g. `http://environment.data.gov.uk/ecology/sampling/bio/558124`

Only a single survey can be returned using this endpoint.

Example queries:

`/ecology/api/v1/surveys/http%3A%2F%2Fenvironment.data.gov.uk%2Fecology%2Fsampling%2Fbio%2F558124`

Surveys with many hundreds of results may take longer to return a response

## Path parameters

- `survey-id` string, required

## 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)
