Tides Stations

Tides Stations

URL Path
https://api.aerisapi.com/tides/stations/
Data Coverage
US, Guam, Puerto Rico
Update Interval
N/A
Time Range
N/A

The tides/stations dataset provides access to the complete station information that tides are available for.

Requests

Every request to the endpoint must include one of the supported actions in the url.

https://api.aerisapi.com/tides/stations/{action}?client_id={client_id}&client_secret={client_secret}&{params}

Supported Actions

The following actions are supported with the /tides/stations endpoint:

ActionDescription
:idType: stringTypically used for passing a geographical location name or identifier such as city name, lat/long, or even US and Canadian postal codes. Learn more.
closestType: stringBased on a location search, the results will be returned in order from closest to farthest. Learn more.
withinType: stringUses a circle or polygon, define an area to search for results. Learn more.
searchType: stringA generalized action that is determined with the endpoints query parameters. Learn more.

Response

The following is an example of what each object in the response will consist of. Depending on your requested action, the response may contain multiple instances of this object within an array.

Properties

id (string)

loc (object)

The location of the record.

loc.long (number)

The place or nearest place to the record.

loc.lat (number)

The latitude coordinate of the record.

place (object)

Object containing information about the place or nearest place to the record.

place.name (string)

The place or nearest place to the record.

place.state (string)

The state abbreviation in which the response is located. This may be null or an empty string depending on the country.

place.country (string)

The 2 letter ISO-3166 country abbreviation in which the response is located.

profile (object)

Object containing information about the location or event.

profile.tz (string)

Timezone name of the location, such as America/New_York.

profile.type (string)

The station type, "harmonic" or "subordinate".

profile.typeCode (number)

The numeric representation of the station type: - 1 = harmonic - 2 = subordinate

profile.refStationId (string)

ID of the reference station used to calculate the harmonic constants.

relativeTo (object)

Object containing information about the location used for the request compared to the record"s actual location.

relativeTo.lat (number)

Latitude coordinate of the location used for the request. This may be different than the record"s loc.lat value if there was no record exactly at the request location.

relativeTo.long (number)

Longitude coordinate of the location used for the request. This may be different than the record"s loc.long value if there was no record exactly at the request location.

relativeTo.bearing (number)

Bearing in degrees of the record"s location relative to the location used for the request.

relativeTo.bearingENG (string)

Cardinal direction of the record relative to the location used for the request.

relativeTo.distanceKM (number)

Distance, in kilometers, from the requested location to the record"s actual location.

relativeTo.distanceMI (number)

Distance, in miles, from the requested location to the record"s actual location.

[
  {
    "id": "8723165",
    "loc": {
      "long": -80.185,
      "lat": 25.7783
    },
    "place": {
      "name": "miami miamarina, biscayne bay",
      "state": "fl",
      "country": "us"
    },
    "profile": {
      "tz": "America/New_York",
      "type": "harmonic",
      "typeCode": 1,
      "refStationId": "8723178"
    },
    "relativeTo": {
      "lat": 25.77427,
      "long": -80.19366,
      "bearing": 63,
      "bearingENG": "ENE",
      "distanceKM": 0.976,
      "distanceMI": 0.606
    }
  }
]