Currents

Currents data for the next 10 days, including currents speed, direction and hourly forecast.

Request URL

  • Prohttps://api.qweather.com/v7/ocean/currents?[params]

Request Parameters

All parameters are separated by &. If no optional parameters are set, the default value will be used.

location

The currents station to be queried, need LocationID and LocationID can be obtained by POI Lookup.

For example: location=P66981

date

Set the date, up to 10 days in the future (including today). The date format is yyyyMMdd

For example: date=20200531

key

API authentication key, please refer to How To Get Your Key. Support Signature Authentication.

For example: key=12334567890ABC

Response

// ZHUJIANG ESTURAY‘s currents on 2021-02-16 
// Business API: https://api.qweather.com/v7/ocean/currents?location=P63744&date=20210310&key=YOUR_KEY

{
  "code": "200",
  "updateTime": "2021-02-16T05:02+07:00",
  "fxLink": "http://hfx.link/1",
  "currentsTable": [
    {
      "dir360": "293",
      "fxTime": "2021-03-10T02:27+07:00",
      "speedMax": "6.0"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T08:03+07:00",
      "speedMax": "60.0"
    },
    {
      "dir360": "113",
      "fxTime": "2021-03-10T15:33+07:00",
      "speedMax": "91.0"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T22:40+07:00",
      "speedMax": "41.0"
    }
  ],
  "currentsHourly": [
    {
      "dir360": "293",
      "fxTime": "2021-03-10T00:00+07:00",
      "speed": "22.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T01:00+07:00",
      "speed": "13.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T02:00+07:00",
      "speed": "7.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T03:00+07:00",
      "speed": "7.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T04:00+07:00",
      "speed": "15.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T05:00+07:00",
      "speed": "28.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T06:00+07:00",
      "speed": "43.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T07:00+07:00",
      "speed": "55.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T08:00+07:00",
      "speed": "60.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T09:00+07:00",
      "speed": "55.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T10:00+07:00",
      "speed": "39.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T11:00+07:00",
      "speed": "13.000"
    },
    {
      "dir360": "113",
      "fxTime": "2021-03-10T12:00+07:00",
      "speed": "19.000"
    },
    {
      "dir360": "113",
      "fxTime": "2021-03-10T13:00+07:00",
      "speed": "49.000"
    },
    {
      "dir360": "113",
      "fxTime": "2021-03-10T14:00+07:00",
      "speed": "75.000"
    },
    {
      "dir360": "113",
      "fxTime": "2021-03-10T15:00+07:00",
      "speed": "89.000"
    },
    {
      "dir360": "113",
      "fxTime": "2021-03-10T16:00+07:00",
      "speed": "90.000"
    },
    {
      "dir360": "113",
      "fxTime": "2021-03-10T17:00+07:00",
      "speed": "77.000"
    },
    {
      "dir360": "113",
      "fxTime": "2021-03-10T18:00+07:00",
      "speed": "54.000"
    },
    {
      "dir360": "113",
      "fxTime": "2021-03-10T19:00+07:00",
      "speed": "25.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T20:00+07:00",
      "speed": "3.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T21:00+07:00",
      "speed": "26.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T22:00+07:00",
      "speed": "38.000"
    },
    {
      "dir360": "293",
      "fxTime": "2021-03-10T23:00+07:00",
      "speed": "40.000"
    }
  ],
  "refer": {
    "sources": [
      "qweather.com"
    ],
    "license": [
      "commercial license"
    ]
  }
}
Parameters Description
code

API status code, please refer to Status Code

updateTime

API last update time

fxLink

Responsive web page of this data, for embedded in website or APP

currentsTable.fxTime

Maximum speed time

currentsTable.speedMax

Maximum speed, cm/sec

currentsTable.dir360

Currents direction in azimuth degree

currentsHourly.fxTime

Hourly forecast time

currentsHourly.speed

Currents speed, cm/sec

currentsHourly.dir360

Currents direction in azimuth degree

refer.sources

Data source and other statements, may be null

refer.license

Data license, may be null