There are many convenient ways to add tides data to your website, whether it's through the WordPress plugin or by embedding the JavaScript widget.
Adding tide and weather data to a software project? Use the Tides API to integrate up-to-date tide, weather, and moon data into your software projects.
Adding tide data to your website
Whether you are using WordPress or some other CMS, there are ways to add tide times and weather to your website.
Using the JavaScript widget
By embedding the JavaScript widget, you can add tide times and weather data into your website on almost all content management systems or directly into your code.
To begin using the JavaScript widget, follow these simple steps:
🔍 Step 1 - Search for a location
Simply search for a location at the top of this page and choose a location.
⚙️ Step 2 - Configure your widget
Choose what to include, including how many day's worth of data to show. Choose whether to show a map, the height and temperature units, and whether to include weather data.
🧑💻 Step 3 - Copy the embed code
After you've configured your widget, the code snippet updates automatically. Copy this, ready to paste into your website.
📋 Step 4 - Paste the embed code
Most content management systems allow you to paste raw HTML to integrate services, seek support with your content management system to find out how. If you're writing your own HTML, simply paste the embed code where you want the widget to appear.
Using the WordPress plugin
If your site is based in the UK or Ireland, you can use the Tides Today UK and Ireland WordPress plugin to add tide times to your website.
Advanced integrations using the Tides Today API
If you are writing a software project, an app, or integrating tide and weather data into a smart home automation, you can do so using the Tides Today API.
Version 1 of the API provides all the data that powers this site, including:
- Countries, Regions, and Locations from across the world.
- Search for Countries, Regions, and Locations.
- Tide extremes (high and low tide times and heights) for over 8,000 locations worldwide, up to 7 days.
- Daily weather summaries for the same 8,000+ locations across the world.
- Moon phase data
- Available in many languages, including English, French, Spanish, Portuguese, Italian, Swedish, Norwegian, Danish, Finnish, German, and Icelandic.
Version 2 of the Tides Today API is in active development, and some endpoints are available by request. The new API provides all the capabilities of V1, but with additional capabilities:
- Hourly weather data for over 8,000 locations worldwide.
- Live tide height and times for all locations served.
- 10-minute interval tide height data.
- Spring and Neap tide dates.
Request access and read documentation
Frequently asked questions
Is it free to add tide data to my website?
Yes! Using the WordPress plugin or JavaScript widget is completely free to use on your website.
What locations are available to add to my website?
If you're using the WordPress UK and Ireland plugin, you can add tide times to your site for most UK and Ireland tidal locations. If you're using the widget, you can add tide and weather for over 8,000 locations to your website.
How do I embed the JavaScript widget in my website?
Every CMS (Content Management System) is different and has its own ways that you can add custom HTML snippets to your site. Please see the support documentation for the CMS you use. If you're writing your own HTML, it's a case of copying and pasting the embed code into your site.
How do I sign up for the Tides Today API?
Each request is considered on a case-by-case basis. This is to manage the load on the backend systems that power Tides Today. In the future, you will be able to sign up for access, but for the time being, it's by request only.
Is the Tides Today API free?
At the moment, yes, providing your project meets certain criteria. This may change in the future.