Skip to main content
GET
/
api
/
asset
/
{asset_id}
Get Asset
curl --request GET \
  --url https://api.sewagedata.co.uk/api/asset/{asset_id}
{
  "asset_id": "ABC123",
  "company": "Example Water Ltd",
  "receiving_watercourse": "River Thames",
  "latitude": 51.5074,
  "longitude": -0.1278,
  "status": 1,
  "latest_event_start": "2026-04-24T22:46:00Z",
  "latest_event_end": "2026-04-25T01:00:00Z",
  "polled_at": "2026-04-25T06:00:00Z",
  "nearest_bathing_water_name": "Southend-on-Sea",
  "nearest_bathing_water_id": "GB123456",
  "nearest_bathing_water_classification": "Excellent",
  "nearest_bathing_water_distance": 4230
}

Documentation Index

Fetch the complete documentation index at: https://api-docs.sewagedata.co.uk/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

asset_id
string
required
The unique asset identifier.

Response

asset_id
string
Unique asset identifier.
company
string
Name of the company that owns the asset.
receiving_watercourse
string
The watercourse the asset discharges into.
latitude
number
Asset latitude.
longitude
number
Asset longitude.
status
number
Current discharge status. One of -1 (offline), 0 (not discharging), or 1 (discharging).
latest_event_start
string (ISO 8601)
Start time of the most recent discharge event. Example: 2026-04-24T22:46:00Z.
latest_event_end
string (ISO 8601)
End time of the most recent discharge event.
polled_at
string (ISO 8601)
Timestamp of the last data update.
nearest_bathing_water_name
string | null
EA name of the nearest bathing water. null if no bathing water is within 10 miles.
nearest_bathing_water_id
string | null
EA identifier for the nearest bathing water. null if no bathing water is within 10 miles.
nearest_bathing_water_classification
string | null
EA water quality classification for the nearest bathing water. null if no bathing water is within 10 miles.
nearest_bathing_water_distance
number | null
Distance to the nearest bathing water in metres. null if no bathing water is within 10 miles.
Bathing water fields are only populated when the nearest bathing water is within 10 miles of the asset. They return null otherwise.
{
  "asset_id": "ABC123",
  "company": "Example Water Ltd",
  "receiving_watercourse": "River Thames",
  "latitude": 51.5074,
  "longitude": -0.1278,
  "status": 1,
  "latest_event_start": "2026-04-24T22:46:00Z",
  "latest_event_end": "2026-04-25T01:00:00Z",
  "polled_at": "2026-04-25T06:00:00Z",
  "nearest_bathing_water_name": "Southend-on-Sea",
  "nearest_bathing_water_id": "GB123456",
  "nearest_bathing_water_classification": "Excellent",
  "nearest_bathing_water_distance": 4230
}