# NOAA Tides and Currents API

> Returns water levels, tide predictions, station details, datums, harmonic constituents and sensor readings from CO-OPS stations.

Category: Travel, Maps & Weather. Region: US. 8 endpoints at `https://api.hoshime.com/v1/noaatides/<endpoint>`, `GET` with query parameters, answering `{data, meta}` (see https://hoshime.com/docs/responses.md). Reference: https://hoshime.com/docs/platforms/noaatides
## GET /v1/noaatides/latest

The latest water level reading of a station, in metres above MLLW.

Scope: `social:read` · Units: 1 · Cached: 3 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `station` | string | yes | Seven digit CO-OPS station id, such as 8518750 (The Battery, New York). (e.g. 8518750) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (Reading[]), `items[].levelMeters` (number (double)), `items[].observedAt` (string), `items[].type` (string), `name` (string), `station` (string)

```bash
curl "https://api.hoshime.com/v1/noaatides/latest?station=8518750" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/noaatides/predictions

Predicted tide levels of a station between two dates, at hourly steps or as highs and lows.

Scope: `social:read` · Units: 1 · Cached: 360 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `station` | string | yes | Seven digit CO-OPS station id, such as 8518750 (The Battery, New York). (e.g. 8518750) |
| `beginDate` | string | yes | First day, YYYYMMDD (GMT). At most 31 days after endDate. (e.g. 20230206) |
| `endDate` | string | yes | Last day, YYYYMMDD (GMT). (e.g. 20230207) |
| `interval` | string | no | h for hourly levels, hilo for the highs and lows only. (one of h, hilo; default h) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (Reading[]), `items[].levelMeters` (number (double)), `items[].observedAt` (string), `items[].type` (string), `name` (string), `station` (string)

```bash
curl "https://api.hoshime.com/v1/noaatides/predictions?station=8518750&beginDate=20230206&endDate=20230207" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/noaatides/station

Details of a CO-OPS station: name, state, position, time zone and whether it is a tide station.

Scope: `social:read` · Units: 1 · Cached: 1440 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `station` | string | yes | Seven digit CO-OPS station id, such as 8518750 (The Battery, New York). (e.g. 8518750) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `latitude` (number (double)), `longitude` (number (double)), `name` (string), `state` (string), `tidal` (boolean), `timezone` (string)

```bash
curl "https://api.hoshime.com/v1/noaatides/station?station=8518750" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/noaatides/datums

The tidal datums of a CO-OPS station (MLLW, MSL, MHHW and others) in its units, usually feet.

Scope: `social:read` · Units: 1 · Cached: 1440 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `station` | string | yes | Seven digit CO-OPS station id, such as 8518750 (The Battery, New York). (e.g. 8518750) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (Datum[]), `items[].description` (string), `items[].name` (string), `items[].value` (number (double)), `units` (string)

```bash
curl "https://api.hoshime.com/v1/noaatides/datums?station=8518750" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/noaatides/harmonics

The harmonic constituents of a CO-OPS tide station: the tidal waves that the tide predictions are built from.

Scope: `social:read` · Units: 1 · Cached: 1440 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `station` | string | yes | Seven digit CO-OPS station id, such as 8518750 (The Battery, New York). (e.g. 8518750) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (Constituent[]), `items[].amplitude` (number (double)), `items[].description` (string), `items[].name` (string), `items[].number` (integer (int64)), `items[].phaseGmt` (number (double)), `items[].speedDegPerHour` (number (double)), `units` (string)

```bash
curl "https://api.hoshime.com/v1/noaatides/harmonics?station=8518750" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/noaatides/observation

The latest reading of one sensor at a CO-OPS station: air or water temperature, air pressure, humidity and more.

Scope: `social:read` · Units: 1 · Cached: 6 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `station` | string | yes | Seven digit CO-OPS station id, such as 8518750 (The Battery, New York). (e.g. 8518750) |
| `product` | string | no | Sensor: air_temperature, water_temperature, air_pressure, humidity, visibility, conductivity or salinity. (one of air_temperature, water_temperature, air_pressure, humidity, visibility, conductivity, salinity; default air_temperature; e.g. air_temperature) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `observedAt` (string), `product` (string), `station` (string), `value` (number (double))

```bash
curl "https://api.hoshime.com/v1/noaatides/observation?station=8518750&product=air_temperature" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/noaatides/stations

The CO-OPS water level stations, optionally in one state, such as NY.

Scope: `social:read` · Units: 1 · Cached: 1440 min · Paginated: cursor

| Parameter | Type | Required | Description |
|---|---|---|---|
| `state` | string | no | Two-letter state code, such as NY or HI. (e.g. HI) |
| `limit` | integer | no | Items per page, 1 to 500. (default 50; e.g. 5) |
| `cursor` | string | no | meta.pagination.nextCursor of the previous page. Omit it for the first page. |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `id` (string), `latitude` (number (double)), `longitude` (number (double)), `name` (string), `state` (string)

```bash
curl "https://api.hoshime.com/v1/noaatides/stations?state=HI&limit=5" -H "Authorization: Bearer $HOSHIME_TOKEN"
```

## GET /v1/noaatides/currentPredictions

Predicted tidal current turns of a CO-OPS current station between two dates: each slack, flood and ebb with its speed in knots and its mean directions.

Scope: `social:read` · Units: 1 · Cached: 360 min

| Parameter | Type | Required | Description |
|---|---|---|---|
| `station` | string | yes | CO-OPS current station id: three letters and four digits, such as ACT0091 (Eastport, Friar Roads). (e.g. ACT0091) |
| `beginDate` | string | yes | First day, YYYYMMDD (GMT). At most 31 days before endDate. (e.g. 20260301) |
| `endDate` | string | yes | Last day, YYYYMMDD (GMT). (e.g. 20260302) |
| `tunnel` | string | no | Id or name of one of your tunnels: the call reads the source from the machine that runs `hoshime tunnel`, through its own connection. Fails with 409 tunnel_unavailable when no machine is connected. Cannot be combined with proxy. |
| `proxy` | string | no | Your own http:// or https:// proxy, such as http://user:pass@proxy.example.com:8080, on a public address. The call reads the source only through it. |
| `profileId` | string | no | Browser profile whose login the call sends (its cookies), so the source answers as that account. Without tunnel or proxy it leaves through the profile's own residential IP. Needs the browser:read scope. Data read logged in is for your account only. |

Response data fields: `items` (CurrentEvent[]), `items[].meanEbbDirection` (any), `items[].meanFloodDirection` (any), `items[].observedAt` (string), `items[].speedKnots` (number (double)), `items[].type` (string), `station` (string)

```bash
curl "https://api.hoshime.com/v1/noaatides/currentPredictions?station=ACT0091&beginDate=20260301&endDate=20260302" -H "Authorization: Bearer $HOSHIME_TOKEN"
```
