{"openapi":"3.0.3","info":{"title":"APICK 주소 품질 진단","version":"1.0.0","description":"주소 목록의 유효성·완성도를 점수와 등급으로 진단하고, 찾지 못한 주소에는 대안 후보를 제시합니다. 고객 주소록·배송지 정리 품질을 수치로 확인할 때 씁니다."},"servers":[{"url":"https://apick.app"}],"paths":{"/rest/geo_address_quality":{"post":{"summary":"주소 품질 진단","description":"주소 목록의 유효성·완성도를 점수와 등급으로 진단하고, 찾지 못한 주소에는 대안 후보를 제시합니다. 고객 주소록·배송지 정리 품질을 수치로 확인할 때 씁니다.","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"서비스별 성공·처리 상태 응답","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"summary":{"type":"object","properties":{"total":{"type":"integer","description":"진단한 주소 수입니다."},"valid":{"type":"integer","description":"찾은 주소 수입니다."},"invalid":{"type":"integer","description":"찾지 못하거나 시간이 초과된 주소 수입니다."},"averageScore":{"type":"integer","description":"모든 주소(찾지 못한 주소는 0점)의 평균 점수(소수 1자리)입니다."},"partial":{"type":"boolean","description":"시간 초과로 일부를 진단하지 못했으면 true입니다."},"elapsedMs":{"type":"integer","description":"처리에 걸린 시간(밀리초)입니다."}}},"items":{"type":"array","items":{"type":"object","properties":{"input":{"type":"string","description":"공백을 정리한 입력 주소입니다. 입력 순서와 같습니다."},"valid":{"type":"boolean","description":"주소를 찾았으면 true입니다."},"score":{"type":"integer","description":"0~100 점수입니다."},"grade":{"type":"string","description":"A·B·C·D·F 등급입니다."},"issues":{"type":"array","items":{"type":"string"},"description":"보완할 점입니다. 감점이 없으면 빈 배열입니다."},"normalized":{"type":"object","properties":{"full":{"type":"string"},"jibunAddress":{"type":"string"},"roadAddress":{"type":"string"},"sido":{"type":"string"},"sigungu":{"type":"string"},"eupmyeondong":{"type":"string"},"ri":{"type":"string"},"adminDong":{"type":"string"},"jibun":{"type":"string"},"detail":{"type":"string"}},"description":"찾은 주소의 정제 결과입니다. 항목 구성은 주소 표준화 API의 normalized와 같습니다. 찾은 주소에만 있습니다."},"codes":{"type":"object","properties":{"pnu":{"type":"string"},"bjdongCode":{"type":"string"},"lawdCd":{"type":"string"},"adminDongCode":{"type":"string"},"sidoCode":{"type":"string"},"sigunguCode":{"type":"string"}},"description":"찾은 주소의 코드입니다. 항목 구성은 주소 표준화 API의 codes와 같습니다. 찾은 주소에만 있습니다."},"point":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"crs":{"type":"string"}},"description":"찾은 주소의 좌표입니다. 찾은 주소에만 있습니다."},"suggestions":{"type":"array","items":{"type":"object","properties":{"roadAddress":{"type":"string","description":"후보의 도로명 주소입니다."},"parcelAddress":{"type":"string","description":"후보의 지번 주소입니다."},"zipcode":{"type":"string","description":"후보의 우편번호입니다."}}},"description":"찾지 못한 주소의 대안 후보(최대 3건)입니다. 후보가 없으면 빈 배열입니다."}}}}}},"api":{"type":"object","properties":{"cost":{"type":"integer","description":"차감된 포인트입니다. 실패한 응답은 0입니다."},"success":{"type":"boolean"},"ms":{"type":"integer","description":"처리 시간(밀리초)입니다."}}}}}}}},"default":{"description":"HTTP 상태 및 서비스 오류코드 확인","content":{"application/json":{"schema":{"type":"object"}}}}},"requestBody":{"required":false,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"addrType":{"type":"string","description":"주소 유형 (기본 auto) 문자열로 보내며, 생략하면 서버 기본값이 적용되거나 해당 조건이 해제됩니다. 가능한 값은 3가지입니다. auto = 서버·모델이 상황에 맞춰 자동으로 정하는 값입니다. 별도 지정이 필요 없습니다. parcel = 지번 주소를 기준으로 조회하는 값입니다. road = 도로명 주소를 기준으로 조회하는 값입니다. (string)","enum":["auto","parcel","road"]}}}}}}}}},"x-code-tables":[{"title":"addrType 허용값","columns":["값","의미"],"rows":[["auto","지번·도로명을 알아서 판단합니다 (기본값)."],["parcel (또는 jibun·지번)","지번 주소로만 찾습니다."],["road (또는 도로명)","도로명 주소로만 찾습니다."]]},{"title":"오류와 복구","columns":["상황","HTTP","data.error","해결"],"rows":[["주소 목록 누락","400","주소 목록이 필요합니다.","addresses에 주소를 한 건 이상 넣습니다."],["주소 수 초과","400","한 요청에 주소를 20개까지 진단할 수 있습니다.","20건씩 나눠 요청합니다."],["addrType 값 오류","400","주소 유형이 잘못됐습니다.","auto·parcel·road 중 하나로 보내거나 생략합니다."],["모든 주소가 시간 초과","424","처리 시간이 초과됐습니다. 범위를 줄여 다시 시도해 주세요.","건수를 줄여 다시 요청합니다."],["일시적 조회 실패","424","공간정보를 일시적으로 가져오지 못했습니다. 잠시 후 다시 시도해 주세요.","잠시 후 같은 요청을 다시 보냅니다."]]}],"x-service-errors":[],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}