{"openapi":"3.0.3","info":{"title":"APICK 주소 동일성 판정","version":"1.0.0","description":"두 주소를 각각 좌표로 바꿔 같은 필지·같은 건물인지, 거리와 주소 표기 유사도는 얼마인지 판정합니다. 고객·매물·배송지 중복을 정리할 때 씁니다."},"servers":[{"url":"https://apick.app"}],"paths":{"/rest/geo_compare_address":{"post":{"summary":"주소 동일성 판정","description":"두 주소를 각각 좌표로 바꿔 같은 필지·같은 건물인지, 거리와 주소 표기 유사도는 얼마인지 판정합니다. 고객·매물·배송지 중복을 정리할 때 씁니다.","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"서비스별 성공·처리 상태 응답","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"verdict":{"type":"string","description":"same_parcel·near·different 중 하나입니다."},"sameParcel":{"type":"boolean","description":"필지번호가 같으면 true 입니다."},"sameBuilding":{"type":"boolean","description":"같은 필지이면서 건물명이 같으면 true 입니다."},"distanceM":{"type":"number","description":"두 지점의 거리(m)입니다."},"similarity":{"type":"number","description":"두 주소 표기의 유사도(0~1)입니다."},"a":{"type":"object","properties":{"input":{"type":"string"},"normalized":{"type":"object","properties":{"full":{"type":"string","description":"첫 주소의 표준 주소입니다."}}},"codes":{"type":"object","properties":{"pnu":{"type":"string","description":"첫 주소의 필지번호입니다."}}},"point":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}}}}},"b":{"type":"object","properties":{"input":{"type":"string"},"normalized":{"type":"object","properties":{"full":{"type":"string","description":"두 번째 주소의 표준 주소입니다."}}},"codes":{"type":"object","properties":{"pnu":{"type":"string","description":"두 번째 주소의 필지번호입니다."}}},"point":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"}}}}},"reasons":{"type":"array","items":{"type":"string"},"description":"판정 근거 문장입니다. 화면에 그대로 보여 줄 수 있습니다."},"error":{"type":"string","description":"실패 사유입니다. 이 필드가 있으면 과금되지 않습니다."}}},"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":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"addressA":{"type":"string","description":"첫 번째 주소 문자열로 보내며, 생략하면 서버 기본값이 적용되거나 해당 조건이 해제됩니다. (string)","example":"서울특별시 강남구 역삼동 808"},"addressB":{"type":"string","description":"두 번째 주소 문자열로 보내며, 생략하면 서버 기본값이 적용되거나 해당 조건이 해제됩니다. (string)","example":"서울특별시 강남구 테헤란로 152"},"addrType":{"type":"string","description":"주소 유형 (기본 auto) 문자열로 보내며, 생략하면 서버 기본값이 적용되거나 해당 조건이 해제됩니다. 가능한 값은 3가지입니다. auto = 서버·모델이 상황에 맞춰 자동으로 정하는 값입니다. 별도 지정이 필요 없습니다. parcel = 지번 주소를 기준으로 조회하는 값입니다. road = 도로명 주소를 기준으로 조회하는 값입니다. (string)","enum":["auto","parcel","road"]}},"required":["addressA","addressB"]}}}}}}},"x-code-tables":[{"title":"오류 코드","columns":["상황","data.error 예","대처"],"rows":[["입력 누락·형식 오류","검색어가 필요합니다. / 주소 유형이 잘못됐습니다. / 좌표가 올바르지 않습니다. …","문구가 가리키는 입력을 고쳐 다시 요청합니다. 조회 전에 끝나며 과금되지 않습니다."],["개수·길이 초과","주소가 너무 깁니다. / 한 요청에 주소를 50개까지 보낼 수 있습니다. …","표의 최대값 안으로 줄이거나 나눠서 요청합니다."],["위치를 찾지 못함","입력한 위치를 찾지 못했습니다.","주소 표기(시도·시군구 포함 여부, 오탈자)를 확인합니다. 과금되지 않습니다."],["처리 시간 초과","처리 시간이 초과됐습니다. 범위를 줄여 다시 시도해 주세요.","목록 건수·반경·분류 수를 줄여 다시 요청합니다. 과금되지 않습니다."],["일시적 실패","공간정보를 일시적으로 가져오지 못했습니다. 잠시 후 다시 시도해 주세요.","잠시 뒤 같은 요청을 다시 보냅니다. 과금되지 않습니다."]]}],"x-service-errors":[],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}