HOME > OPEN API > 조류예보

조류예보

  • 설명검색기준날짜의 조류예보 데이터를 조회한다.
  • 분류 조류 > 해양예측-예보
  • 요청주소http://www.khoa.go.kr/api/oceangrid/DataType/search.do?ServiceKey=인증키&ObsCode=예보점 번호&Date=검색기준날짜&ResultType=json

※ 본 API를 제공하는 관측소목록을 조회할 수 있습니다 관측소 목록보기

요청변수

항목명(영문) 항목명(국문) 샘플데이터 비고
DataType 데이터 종류 fcTidalCurrent
ServiceKey 인증키 wldhxng34hkddbsgm81lwldhxng34hkddbsgm81l==
ObsCode 예보점 16LTC13
Date 검색 기준 날짜 20191025
ResultType 결과타입 json, xml

출력결과

항목명(영문) 항목명(국문) 샘플데이터 비고
obs_location 예보점명 부산항입구
obs_last_req_cnt 금일요청가능횟수 800/20000 남은요청수/할당요청수
obs_lon 경도 129.11722
obs_lat 위도 35.08277
obs_code 예보점코드 16LTC13
pred_time 예보일시 09:00~12:03
current_dir 유향 북북동
current_speed 유속 53.5 cm/s

사용예제

REST(URL)

응답메시지 ( JSON )

  • {
    "result" :{
    "meta": {
    "obs_location": "부산항입구",
    "obs_code": "16LTC13",
    "obs_last_req_cnt":"800/20000"
    },
    "data": [
    {
    "pred_time": "2019-10-25 00:00:00",
    "current_dir": "북북동",
    "current_speed": "53.5"
    },
    {
    "pred_time": "2019-10-26 00:00:00",
    "current_dir": "북",
    "current_speed": "27.1"
    },
    {
    "pred_time": "2019-10-27 00:00:00",
    "current_dir": "북북동",
    "current_speed": "24.1"
    },
    ]
    }
    }