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.
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
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.
Error: Payment required (quota exceeded)
Forbidden
Error: Unprocessable Entity
Reference (plain text)
GET /tide/stations/area — Stations Area
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
box | query | string | yes |
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
| Field | Type | Required | Description |
|---|---|---|---|
data | object(name: string, lat: number, lng: number, …)[] | no | A list containing all the available stations within the given area. |
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 |