Get High And Low Tide Predictions From The NOAA API
Notes
- There is generally 10 years worth of data available, but don't try to get it all at the same time for a single station. It often causes a gateway timeout as it looks like the data doesn't get generated fast enough. Going year by year instead seems to work fine.
Example URL:
https://api.tidesandcurrents.noaa.gov/api/prod/datagetter?begin_date=20250101&end_date=20251231&station=8720218&product=predictions&datum=STND&time_zone=gmt&units=english&format=json&interval=hilo
Get stations IDs from:
https://api.tidesandcurrents.noaa.gov/mdapi/prod/webapi/stations.json?type=tidepredictions&units=english
Via:
https://www.tidesandcurrents.noaa.gov/
Docs:
https://api.tidesandcurrents.noaa.gov/api/prod/
Other APIs to play with:
https://www.tidesandcurrents.noaa.gov/api-helper/url-generator.html
-- end of line --