Skip to main content
GET 

/tide/stations/area

Stations Area

The Tide Stations Area Request will list all available tide stations within a defined geographic area.

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.

box

Response​

The response contains a data array. Each item has the following fields.

name- Name of the tide station
lat- Latitude of the tide station
lng- Longitude of the tide station
source- Tide station owner

Response Meta​

As part of the response, you will find an object called meta with the following content.

cost- The number of credits of your daily quota used for this request
dailyQuota- The number of requests you are allowed to make each day
requestCount- The number of successful requests you have made since 00:00 UTC

Responses​

The response will be sent back in the form of a JSON object. The resource root contains two objects: data and meta. See Schema below.

Reference (plain text)

GET /tide/stations/area — Stations Area

Parameters​

NameInTypeRequiredDescription
boxquerystringyes

Responses​

200 — The response will be sent back in the form of a JSON object. The resource root contains two objects: data and meta. See Schema below.

application/json

FieldTypeRequiredDescription
dataobject(name: string, lat: number, lng: number, …)[]noA list containing all the available stations within the given area.
metaobject(cost: number, dailyQuota: number, requestCount: number)no

402 — Error: Payment required (quota exceeded)

application/json

FieldTypeRequiredDescription
errorsobject(key: string)no
metaobject(dailyQuota: number, requestCount: number)no

403 — Forbidden

application/json

FieldTypeRequiredDescription
errorsobject(key: string)no

422 — Error: Unprocessable Entity

application/json

FieldTypeRequiredDescription
errorsobject(key: string)no

Response​

FieldTypeRequiredDescription
namestringnoName of the tide station
latnumbernoLatitude of the tide station
lngnumbernoLongitude of the tide station
sourcestringnoTide station owner

Response Meta​

FieldTypeRequiredDescription
costnumbernoThe number of credits of your daily quota used for this request
dailyQuotanumbernoThe number of requests you are allowed to make each day
requestCountnumbernoThe number of successful requests you have made since 00:00 UTC