Platform: API iOS Android

Global tidal data for the next 10 days, including tide table and hourly tide forecast data.

Interface Code Interface Class
getOceanTide Tide data TideBean


  • location(required)The tide station to be queried, need LocationID and LocationID can be obtained by POI Lookup. For example: location=P2951
  • date(required)Set the date, up to 10 days in the future (including today). The date format is yyyyMMdd. Eexample: date=20200531

Sample Code

QWeather.getOceanTide(Context context, String location, String date, OnResultOceanTideListener listener);


Properties of TideBean

Property Description Example
getCode Status code, please refer to Status Code Status Code
getBasic Basic Informatio Basic
getRefer Reference data, includes data source, statements and license Refer
getTideHourlyList Hourly data List<TideHourlyBase>
getTideTable Tide table List<TideTableBase>


Property Description Example
getUpdateTime Last updated time 2017-10-25T04:34+08:00
getFxLink Responsive web page of this data, for embedded in website or APP https://www.qweather.com


Property Description Example
getSourcesList Data source and other statements QWeather
getLicenseList Data license QWeather Developers License


Property Description Example
getFxTime High tide or Low tide time 2017-10-25T04:34+08:00
getHeight The height of the wave, in meters 1.23
getType High tide (H) or Low tide (L) H


Property Description Example
getFxTime Hourly forecast time 2017-10-25T04:34+08:00
getHeight The height of the wave, in meters 1.23