GET/tide/stations
Tide Stations
The Tide Stations List Request is used to list all available stations.
Query Parameters
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
- 200
- 402
- 403
- 422
List of tide stations
Error: Payment required (quota exceeded)
Forbidden
Error: Unprocessable Entity
Reference (plain text)
GET /tide/stations — Tide Stations
Responses
200 — List of tide stations
application/json
| Field | Type | Required | Description |
|---|---|---|---|
data | object(name: string, lat: number, lng: number, …)[] | no | |
meta | object(cost: number, dailyQuota: number, requestCount: number) | 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 |
|---|---|---|---|
name | string | no | Name of the tide station |
lat | number | no | Latitude of the tide station |
lng | number | no | Longitude of the tide station |
source | string | no | Tide station owner |
Response Meta
| Field | Type | Required | Description |
|---|---|---|---|
cost | number | no | The number of credits of your daily quota used for this request |
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 |