OPEN-API 이용신청
농수축산물 유통에 대한 Open-API를 제공합니다.
월평균 가격추이 조회(상품 기준) ※ 6번 API와 연동해서 사용가능 (품목코드 연계)
요청 URL (request url)
http://www.kamis.or.kr/service/price/xml.do?action=monthlyPriceTrendList
요청 변수 (request parameter)
요청변수 |
값 |
설명 |
p_cert_key |
string |
인증Key |
p_cert_id |
string |
요청자id |
p_returntype |
string |
Return Type (json:Json 데이터 형식, xml:XML데이터형식) |
productno |
string |
품목코드(필수) |
p_regday |
string |
검색일자 (default : 최근 가격조사일자) |
샘플 URL
http://www.kamis.or.kr/service/price/xml.do?action=monthlyPriceTrendList&p_productno=212&p_regday=2015-10-01&p_cert_key=111&p_cert_id=222&p_returntype=xml
출력 결과 필드 (response field)
필드 |
값 |
설명 |
condition |
string |
요청 메세지 |
price |
string |
응답 메세지 |
yyyymm |
string |
연월 |
max |
string |
최고가격 |
min |
string |
최저가격 |
샘플페이지
비고/에러 메세지
code |
Message |
000 |
Success. |
001 |
no data |
200 |
Wrong Parameters. |
900 |
Unauthenticated request. |
첨부파일