SOP검색
즐겨찾기

사용자 요청 검색어 이용 SOP 정보 제공 API

요청주소

https://sgisapi.kostat.go.kr/OpenAPI3/search/sop.json

요청정보(Body)

요청변수 Optional 설명
accessToken String 필수 액세스토큰
searchword String 필수 검색어
pagenum default : 0 선택 검색페이지
resultcount min : 1, max : 50 (default : 5) 선택 현재 페이지 검색결과 수

응답정보

출력변수 설명
totalcount String 전체 데이터 수
pagenum String 현재 페이지 넘버
returncount String 현재 페이지 결과 수
resultData List 결과정보
stat_id String 통계ID
data_base_year String 데이터연도
nm String 명칭
url String URL

호출결과 예제

                            {"id": "API_0502",
                                    "result": {
                                        "totalcount": "1",
                                        "resultdata": [
                                            {
                                                "stat_id": "0306",
                                                "url": "/OpenAPI3/stats/household",
                                                "nm": "주택통계"
                                            }
                                        ],
                                        "pagenum": 0,
                                        "resultcount": 1
                                    },
                                    "errMsg": "Success",
                                    "errCd": 0,
                                    "trId": "34hD_API_0502_1419311836549"
                            }