GET/tide/extremes/sea-level/point
Sea Level Point
Retrieve the relative sea level in meters hour by hour for a single coordinate. If nothing is specified the returned values will be in relative to Mean Sea Level - MSL. Read more about tide under Resources.
Query Parameters
These are the available query parameters for this endpoint. Required parameters are pre-checked and must be included. Tick any additional parameters to update the sample request and code snippets.
Response
The response contains a data array. Each item has the following fields.
Response Meta
As part of the response, you will find an object called meta with the following content.
Responses
- 200
- 402
- 403
- 422
Tide sea level data
Error: Payment required (quota exceeded)
Forbidden
Error: Unprocessable Entity
Reference (plain text)
GET /tide/extremes/sea-level/point — Sea Level Point
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
lat | query | number | yes | Latitude in decimal degrees |
lng | query | number | yes | Longitude in decimal degrees |
start | query | string | no | Timestamp in UTC for the first hour to include in the forecast |
end | query | string | no | Timestamp in UTC for the last hour to include in the forecast |
datum | query | string | no | Datum values will be relative to. Either LAT, MLLW, MLW, MSL, MHW, MHHW or HAT. |
Responses
200 — Tide sea level data
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | object(time: string, sg: number)[] | no | |
meta | object(lat: number, lng: number, start: string, …) | no |
402 — Error: Payment required (quota exceeded)
application/json
| Field | Type | Required | Description |
|---|---|---|---|
errors | object(key: string) | no | |
meta | object(dailyQuota: number, requestCount: number) | no |
403 — Forbidden
application/json
| Field | Type | Required | Description |
|---|---|---|---|
errors | object(key: string) | no |
422 — Error: Unprocessable Entity
application/json
| Field | Type | Required | Description |
|---|---|---|---|
errors | object(key: string) | no |
Response
| Field | Type | Required | Description |
|---|---|---|---|
time | string | no | Timestamp in UTC (ISO 8601), always rounded to full hours. |
sg | number | no | Sea level given in metres where the key itself is the name of the source |
Response Meta
| Field | Type | Required | Description |
|---|---|---|---|
lat | number | no | |
lng | number | no | |
start | string | no | The first timestamp of data returned |
end | string | no | The last timestamp of data returned |
dailyQuota | number | no | The number of requests you are allowed to make each day |
requestCount | number | no | The number of successful requests you have made since 00:00 UTC |
station | object(distance: number, lat: number, lng: number, …) | no | The tide station used to calculate the tide |