For developers
Tideline Marin's forecast, official closures and neighbor report counts as plain JSON, plus a connector for AI assistants. Free for anyone, including commercial apps and news stories. No key, no sign-in, no cookies.
Credit "Tideline Marin (tidelinemarin.com)" wherever the data is shown or republished. The data are estimates, not official closures: see Using Tideline data in other apps.
Endpoints
All are GET (also HEAD and OPTIONS), open to any origin (CORS), under https://tidelinemarin.com/api/v1.
| Path | What |
|---|---|
/api/v1/spots | Every road, path and tide card: name, area, county, a point on the map, who closes it, its levels, the usual detour, and its page. |
/api/v1/forecast | One day's San Francisco high tides and each spot's flood windows. date from today to 6 days ahead, default today. |
/api/v1/now | Each spot's card right now, official closures in effect, neighbor reports in the last 2 hours, the latest gauge reading and the tide cards. mode is drive (default) or walk. |
/api/v1/day/YYYY-MM-DD | A day's report card, from Oct 1 2026 to today: each high tide's forecast against what the gauge measured, report counts, official closures, and up to three quotes. |
/api/v1/day/YYYY-MM-DD.csv | The same day as map pins: title,county,latitude,longitude,pin_at,note, one row per road or path with a water report or a closure that day. |
spot and area narrow any of them. Both take an id (miller, corte-madera-larkspur) or a name people use ("Miller Ave", "Corte Madera"). spot wins over area; neither means every spot.
Examples
A spot
curl "https://tidelinemarin.com/api/v1/spots?spot=miller"
{
"v": 1,
"generated_at": "2026-11-24T01:42:00-08:00",
"generated_at_local": "Tue Nov 24, 1:42 am PT",
"time_zone": "America/Los_Angeles",
"sources": ["Tideline Marin spot list"],
"notice": "Estimates. Follow official closures and barricades.",
"attribution": "Source: Tideline Marin (tidelinemarin.com)",
"count": 1,
"spots": [{
"id": "miller", "kind": "spot", "name": "Miller Ave",
"full_name": "Miller Ave at Tam High",
"area": { "id": "mill-valley", "name": "Mill Valley" },
"county": "Marin", "lat": 37.89016, "lon": -122.52751,
"mode": "road", "closes": true, "closed_by": ["Mill Valley PD"],
"levels": { "possible": 7, "likely": 7.3, "closure": 7.3 },
"detour": "Use E Blithedale Ave to reach 101.",
"calibrating": false,
"url": "https://tidelinemarin.com/spots/miller/?s=api"
}]
}
The forecast for a day
curl "https://tidelinemarin.com/api/v1/forecast?spot=miller&date=2026-11-24"
{
"v": 1, "generated_at": "...", "sources": ["..."], "notice": "...", "attribution": "...",
"date": "2026-11-24", "label": "Tue Nov 24",
"sf_gauge": {
"station": "9414290", "units": "ft MLLW",
"high_tides": [{
"at": "2026-11-24T10:06:00-08:00", "ft": 8.2, "table_ft": 6.94,
"nws": { "ft": 8.2, "raise_ft": 0.15 }, "big_tide_add_ft": 0.15, "observed": false
}]
},
"spots": [{
"id": "miller", "name": "Miller Ave", "area": "mill-valley", "calibrating": false,
"status": "Likely closed",
"windows": [{
"start": "2026-11-24T08:33:00-08:00", "end": "2026-11-24T11:40:00-08:00",
"around": null, "likely_from": "2026-11-24T08:33:00-08:00",
"status": "Likely closed", "depth": null, "level": "deep",
"new_spot_capped": false, "detour": "Use E Blithedale Ave to reach 101."
}],
"url": "https://tidelinemarin.com/spots/miller/?s=api"
}]
}
Right now
curl "https://tidelinemarin.com/api/v1/now?spot=miller&mode=walk"
Each spot carries now (the card's own words: text, word, advice, when, state, valid_until), official_closure (text, source, posted_at and a link to the agency's post, or null), reports_last_2h (flooded, passable, dry, latest_at), detour and up to two next_windows within 48 hours.
A day's report card
curl "https://tidelinemarin.com/api/v1/day/2026-11-23?spot=frontage-mv"
{
"v": 1, "generated_at": "...", "sources": ["...", "Mill Valley PD on Nixle", "CHP via 511.org"],
"date": "2026-11-23", "label": "Mon Nov 23", "complete": true, "data_checked": true,
"sf_gauge": {
"peak": {
"table": { "ft": 6.72, "at": "2026-11-23T09:24:00-08:00" },
"observed": { "ft": 7.94, "at": "2026-11-23T09:30:00-08:00" },
"above_table_ft": 1.22,
"forecast": {
"day_before": { "ft": 8.02, "by": "tideline", "taken_at": "2026-11-22T06:30:00-08:00" },
"two_hours_before": { "ft": 8, "by": "nws", "taken_at": "2026-11-23T04:40:00-08:00" }
}
},
"high_tides": ["..."]
},
"reports": { "total": 56, "flooded": 25, "passable": 14, "dry": 17, "last_at": "2026-11-23T20:48:00-08:00" },
"spots": [{
"id": "frontage-mv", "name": "Frontage Rd",
"reports": { "flooded": 4, "passable": 1, "dry": 0,
"first_flooded_at": "2026-11-23T08:34:00-08:00", "last_flooded_at": "2026-11-23T10:28:00-08:00",
"first_water_at": "2026-11-23T08:34:00-08:00" },
"closures": {
"closed_at": "2026-11-23T09:12:00-08:00", "closed_by": "Mill Valley PD",
"reopened_at": "2026-11-23T12:21:00-08:00", "reopened_by": "Mill Valley PD",
"lifted_by_about": null,
"line": "Closed by Mill Valley PD at 9:12 a.m., reopened at 12:21 p.m. (Mill Valley PD).",
"events": ["..."]
}
}],
"tomorrow": null,
"quotes": ["..."]
}
The day as map pins
curl "https://tidelinemarin.com/api/v1/day/2026-11-23.csv"
title,county,latitude,longitude,pin_at,note
Frontage Rd (Redwood Hwy, Mill Valley to Strawberry),Marin,37.88911,-122.51676,2026-11-23T08:34:00-08:00,"5 water reports (Flooded or Passable), first at 8:34 a.m.; 0 Dry. Closed by Mill Valley PD at 9:12 a.m., reopened at 12:21 p.m. (Mill Valley PD)."
Every response
v | The version, 1. |
generated_at | When the data was made, ISO 8601 with the Pacific offset. generated_at_local says it as people read it. |
sources | Where this response's data came from: the NOAA San Francisco gauge (9414290) and tide predictions, National Weather Service coastal flood statements, the Tideline Marin forecast, the agencies' posts ("Mill Valley PD on Nixle", "CHP via 511.org") and Tideline neighbor reports. |
notice | "Estimates. Follow official closures and barricades." Show it with the data. |
attribution | The credit line to show. |
All times are ISO 8601 with the Pacific offset. Heights are feet MLLW at the San Francisco gauge, never water depth at a spot.
Words and statuses
- A window's
statusis the site's own word: Water possible, Flooded or Likely closed. Hwy 1 at Manzanita says Ramp may close where another road says Likely closed (Caltrans closes that ramp at its own discretion), and the Bridgeway on-ramp says Ramp is under water (no agency is known to close it).levelispossible,likelyordeep. - A spot with no window that day has the status Dry. That is an estimate: say "the forecast shows no water", never that a road is clear, safe or open.
- "Closed now" is an agency's post. "Likely closed" is our forecast.
- A tide card (
kind: "tide") gives a high tide's time and height only, never a verdict. - Spots marked
calibratingare new and their levels are still first guesses.
Reopen times
A reopen time (reopened_at) appears only when an agency posted it. When we only saw an alert turn off, lifted_by_about is when we saw it and the line says "alert lifted by about". A closure that ran out with no reopening posted is never shown as a reopening. Never invent one in your app either.
Errors
Always JSON: { "v", "error", "message", "generated_at" }.
| 400 | bad_date, unknown_mode, unknown_version |
| 404 | unknown_spot, unknown_area, no_forecast, no_day, not_found |
| 405 | method_not_allowed |
| 429 | rate_limited, with Retry-After |
| 503 | tide_data_unavailable, when NOAA's predictions can't be read. Try again in a few minutes. |
Caching and limits
- The forecast, now and today's report card change every 10 minutes. Asking more often than that gets the same answer.
- A past day's report card is cached for an hour, and the spot list for an hour.
- Please keep it to about 60 requests a minute from one address. Past that you get a 429 with
Retry-After. For an app with many users, cache on your side and call us once per 10 minutes.
Versions
This is version 1. It only gains things your app can ignore: a new area, spot, source or optional field. Anything that would break a v1 app (a field removed or renamed, a meaning changed, a new level or kind value) will be version 2, asked for with ?v=2 at the same address, with version 1 still served while apps move. Until then ?v=2 answers unknown_version.
Privacy
Neighbor reports are counts and times only. The API never shows who sent a report, their device or anything they typed.
For AI assistants
The same data works as an MCP connector, with no sign-in, at https://tidelinemarin.com/mcp. The steps for Claude and ChatGPT are on Ask Tideline in Claude or ChatGPT.
Questions
[email protected]. Building something with the data? We would love to hear about it.