GET/tide/extremes/point
Extremes Point
Retrieve information about high and low tide times and the corresponding relative sea level in meters for a single coordinate. If nothing is specified, the returned values will be in relative to Mean Sea Level - MSL.
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 extremes data
Error: Payment required (quota exceeded)
Forbidden
Error: Unprocessable Entity
Reference (plain text)
GET /tide/extremes/point — Extremes 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 extremes data
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | object(time: string, height: number, type: string)[] | 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 for extreme in UTC. |
height | number | no | Height of extreme given in meters |
type | string | no | Type of extreme. Either "low" or "high" |
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 |