tides

Next high/low tide predictions near a coordinate.

Next high/low tide predictions near a coordinate. Query: lat (-90..90), lon (-180..180), radius_km (1-500, default 100), hours (1-72, default 24). Returns { query, station:{ id, name, latitude, longitude, state, distanceKm }, predictions[{ time (station local), type: "high"|"low", heightMeters }], source }. Returns 404 NO_STATION if no NOAA tide station is within radius. Heights are referenced to MLLW (Mean Lower-Low Water).

get/api/tides/now

Request

  • Base URL: https://2s.io
  • URL: https://2s.io/api/tides/now
  • Auth: API key in header PAYMENT-SIGNATURE

Query parameters

latnumber required

Latitude in decimal degrees (WGS84).

lonnumber required

Longitude in decimal degrees (WGS84).

radius_kmnumber

Search radius in kilometers.

hoursnumber

Look-back window, in hours.

trial1

Try before you buy. Set to 1 for one free real call per endpoint per hour — no wallet or payment needed — to verify the endpoint before paying. Equivalent to sending the "X-2s-Trial: 1" request header. Listed only on operations that offer a trial; the others always answer 402.

Response

(unresolved $ref)

Changes

No recorded changes to this operation across all 1 revision of this API.