Currents (Deprecated)
Global currents data for the next 10 days, including currents speed and direction.
Note: The Currents API is deprecated and is expected to be out of service on 2025-11-01.
| Interface code | Interface | Class |
|---|---|---|
| oceanCurrents | Currents data | OceanCurrentsResponse |
Parameters
OceanParameter
-
location(required)The currents station to be queried, need LocationID and LocationID can be obtained by POI Lookup. For example:location=P66981 -
date(required)Set the date, up to 10 days in the future (including today). The date format is yyyyMMdd. Eexample:date=20200531
Sample code
public void oceanCurrents(OceanParameter parameter, Callback<OceanCurrentsResponse> callback)
Response
OceanCurrentsResponse
-
codeSee Status Code -
updateTimeAPI last update time -
fxLinkResponsive web page of this data, for embedded in website or APP -
currentsTable.fxTimeMaximum speed time -
currentsTable.speedMaxMaximum speed, cm/sec -
currentsTable.dir360Currents direction in azimuth degree -
currentsHourly.fxTimeHourly forecast time -
currentsHourly.speedCurrents speed, cm/sec -
currentsHourly.dir360Currents direction in azimuth degree -
refer.sourcesData source and other statements, may be null -
refer.licenseData license, may be null