{"openapi":"3.0.3","info":{"title":"APICK 법인 등기 검색","version":"1.0.0","description":"법인등록번호(13자리) 또는 사업자등록번호(10자리)로 법인 등기 대상을 찾습니다."},"servers":[{"url":"https://apick.app"}],"paths":{"/rest/registry_corporate_search":{"post":{"summary":"법인 등기 검색","description":"법인등록번호(13자리) 또는 사업자등록번호(10자리)로 법인 등기 대상을 찾습니다.","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"서비스별 성공·처리 상태 응답","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"corp_reg_no":{"type":"string","description":"검색에 쓴 법인등록번호(숫자 13자리)입니다. biz_no로 요청했으면 확인된 법인등록번호이니 저장해 두고 다음부터 직접 쓰세요."},"corp_name":{"type":"string","description":"법인 이름입니다. biz_no로 요청했을 때만 채워지고, corp_reg_no로 요청하면 빈 값입니다. 상호는 targets[].name을 쓰세요."},"targets":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","description":"행 번호(1부터)입니다."},"corp_reg_no":{"type":"string","description":"그 대상의 법인등록번호(숫자 13자리)입니다."},"name":{"type":"string","description":"등기상 상호입니다."},"registry_office":{"type":"string","description":"관할 등기소입니다."},"corp_type":{"type":"string","description":"법인 종류입니다. 예: 주식회사, 유한회사"},"status":{"type":"string","description":"등기기록 상태 표기입니다. 해산·폐쇄 등 열람 대상 밖 상태로 표시된 대상은 접수할 필요가 없습니다."},"address":{"type":"string","description":"본점 주소입니다."}}},"description":"등기 대상 목록입니다. 결과가 비어 있으면 빈 배열이고 data.message에 안내 문구가 옵니다."},"items":{"type":"array","description":"items 배열로 조회했을 때만 옵니다. 항목마다 corp_reg_no, corp_name, targets를 담고, 조회가 실패한 항목은 error에 오류 코드가 옵니다.","items":{}},"message":{"type":"string","description":"결과가 없을 때만 옵니다. 예: 법인 등기 검색 조건을 바꿔 다시 검색해 주세요."}}},"api":{"type":"object","properties":{"success":{"type":"boolean"},"cost":{"type":"integer","description":"차감된 포인트입니다. 단건은 40P, 배열(items) 조회는 항목 건수 × 40P 입니다. 결과가 없어도 검색이 정상으로 끝났으면 차감되고, 실패하면 0입니다."},"ms":{"type":"integer","description":"처리 시간(밀리초)입니다."},"pl_id":{"type":"integer"}}}}}}}},"default":{"description":"HTTP 상태 및 서비스 오류코드 확인","content":{"application/json":{"schema":{"type":"object"}}}}},"requestBody":{"required":false,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"corp_reg_no":{"type":"string","description":"법인등록번호 13자리(하이픈 제외) 문자열로 보내며, 생략하면 서버 기본값이 적용되거나 해당 조건이 해제됩니다. (string)","example":"1100000000001"},"biz_no":{"type":"string","description":"사업자등록번호 10자리(하이픈 제외). corp_reg_no가 없을 때 사용 (string)"},"items":{"type":"string","description":"법인 여러 곳을 한 번에 조회하는 배열입니다(최대 50건). 각 항목은 {\"corp_reg_no\":\"…\"} 또는 {\"biz_no\":\"…\"} 모양입니다. items를 보내면 단건 번호는 쓰지 않습니다. 응답은 data.items[]에 항목별 결과가 순서대로 옵니다. 과금은 항목 건수만큼(40P × 건수) 차감됩니다. (string)"}}}}}}}}},"x-code-tables":[{"title":"오류와 복구","columns":["상황","HTTP","data.error_code","해결"],"rows":[["번호가 둘 다 없거나 자릿수가 맞지 않음","400","REGISTRY_BAD_REQUEST","법인등록번호 13자리 또는 사업자등록번호 10자리를 보냅니다."],["사업자등록번호로 법인을 확인하지 못함","422","REGISTRY_CORP_NO_NOT_FOUND","개인사업자이거나 등록되지 않은 번호입니다. 법인등록번호(13자리)로 다시 요청합니다."],["대상 없음","200","없음(targets: [])","번호를 다시 확인합니다."],["등기 시스템 점검 중","503","REGISTRY_MAINTENANCE","몇 분 뒤 다시 검색합니다. 점검 중에는 접수도 받지 않습니다. 점검 시간이 알려져 있으면 응답의 maintenance_window(예: 11월 19일(목) 21:00 ~ 11월 20일(금) 06:00)·maintenance_start·maintenance_end(ISO 시각)로 함께 알려 주고, Retry-After 는 점검 종료까지 남은 초입니다."],["처리 시간 초과","408","REGISTRY_TIMEOUT","잠시 후 같은 요청을 다시 보냅니다."],["서비스를 일시적으로 쓸 수 없음","503","REGISTRY_TEMPORARILY_UNAVAILABLE·REGISTRY_DISABLED","잠시 후 다시 시도합니다."],["그 밖의 일시 오류","422","REGISTRY_UPSTREAM_ERROR·REGISTRY_LOGIN_FAILED 등","잠시 후 같은 요청을 다시 보냅니다."]]}],"x-service-errors":[],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}