{"openapi":"3.0.3","info":{"title":"APICK 차량 부품정보 조회","version":"1.0.0","description":"제조사·차명·연식(선택)으로 차량에 맞는 부품 목록을 조회합니다. 부품 종류(휠·전조등·후미등·브레이크·필터·엔진·현가·차체)를 고를 수 있고, 품번·부품명·제조사와 기준 시점 참고가(최소·최대·판매처 수)를 돌려줍니다."},"servers":[{"url":"https://apick.app"}],"paths":{"/rest/vehicle_parts":{"post":{"summary":"차량 부품정보 조회","description":"제조사·차명·연식(선택)으로 차량에 맞는 부품 목록을 조회합니다. 부품 종류(휠·전조등·후미등·브레이크·필터·엔진·현가·차체)를 고를 수 있고, 품번·부품명·제조사와 기준 시점 참고가(최소·최대·판매처 수)를 돌려줍니다.","security":[{"bearerAuth":[]}],"parameters":[],"responses":{"200":{"description":"서비스별 성공·처리 상태 응답","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"차량":{"type":"object","properties":{"제조사":{"type":"string"},"차명":{"type":"string"},"연식":{"type":"integer"}},"description":"조회한 차량 조건입니다(제조사·차명·연식)."},"부품목록":{"type":"array","items":{"type":"object","properties":{"분류":{"type":"string","description":"부품 분류의 한글 이름입니다."},"부품명":{"type":"string","description":"부품 이름입니다."},"품번":{"type":"string","description":"OEM 품번입니다. 부품 품번 조회에 그대로 넣을 수 있습니다."},"제조사":{"type":"string","description":"부품 제조사 또는 적용 차량 제조사입니다. 없으면 null입니다.","nullable":true},"참고가":{"type":"object","properties":{"최소":{"type":"integer"},"최대":{"type":"integer"},"통화":{"type":"string"},"판매처수":{"type":"integer"},"기준일":{"type":"string"}},"description":"가격이 수집된 부품만 옵니다. 최소·최대·통화·판매처수·기준일입니다."},"판매처":{"type":"array","items":{"type":"object","properties":{"이름":{"type":"string"},"가격":{"type":"integer"},"링크":{"type":"string"}}},"description":"가격과 링크가 있는 판매처입니다. 최대 5건이며 이름·가격·링크입니다."},"적용차량":{"type":"array","items":{"type":"object","properties":{"제조사":{"type":"string"},"차명":{"type":"string"},"연식":{"type":"integer"}}},"description":"그 부품이 맞는 차량입니다. 최대 20건이며 제조사·차명·연식입니다."},"적용차량수":{"type":"integer","description":"적용차량이 20건을 넘을 때 전체 건수입니다."}}},"description":"적용 부품 목록입니다. 품번 순으로 정렬합니다."},"총건수":{"type":"integer","description":"조건에 맞는 전체 부품 수입니다."},"안내":{"type":"string","description":"참고가 기준 안내, 결과 0건일 때 다시 조회하는 방법입니다."},"success":{"type":"integer","description":"정상 조회는 1, 결과 0건은 0입니다. 0이면 과금되지 않습니다."},"다음오프셋":{"type":"integer","description":"다음 페이지가 있으면 다음 요청에 넣을 offset입니다. 마지막 페이지면 없습니다."}}},"api":{"type":"object","properties":{"success":{"type":"boolean"},"cost":{"type":"integer","description":"차감된 포인트입니다. 결과 0건·입력 오류는 0입니다."},"ms":{"type":"integer"},"pl_id":{"type":"integer"}}}}}}}},"default":{"description":"HTTP 상태 및 서비스 오류코드 확인","content":{"application/json":{"schema":{"type":"object"}}}}},"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"model":{"type":"string","description":"조회·호출할 모델의 이름 또는 ID입니다. 모델 목록 API에서 지원 값과 가격을 확인한 뒤 정확한 ID를 넣으세요. (string)","example":"코나"},"maker":{"type":"string","description":"제조사. 예: 현대, 기아, 제네시스 문자열로 보내며, 생략하면 서버 기본값이 적용되거나 해당 조건이 해제됩니다. (string)","example":"현대"},"modelYear":{"type":"string","description":"연식. 예: 2022 숫자로 보내며, 허용 범위를 벗어나면 요청이 거부됩니다. (integer)","example":"2022"},"partKind":{"type":"string","description":"부품 분류. wheel·headlamp·taillamp·brake·filter·engine·suspension·body (string)","example":"brake"},"limit":{"type":"string","description":"최대 건수. 기본 50, 최대 500 숫자로 보내며, 허용 범위를 벗어나면 요청이 거부됩니다. (integer)"},"offset":{"type":"string","description":"건너뛸 건수. 응답의 다음오프셋을 그대로 넣음 숫자로 보내며, 허용 범위를 벗어나면 요청이 거부됩니다. (integer)"}},"required":["model"]}}}}}}},"x-code-tables":[{"title":"오류와 복구","columns":["상황","HTTP","응답","해결"],"rows":[["model 누락, 값 60자 초과, modelYear·limit·offset 형식 오류, 알 수 없는 partKind","400","data.error: 입력 항목을 확인해 주세요.","값을 고쳐 다시 보냅니다."],["조건에 맞는 부품 없음","200","data.총건수 0, data.success 0, data.안내","연식·분류 조건을 줄이거나 비우고 다시 조회합니다."],["일시적 실패","424","data.error: 요청을 처리하지 못했습니다. 잠시 후 다시 시도해 주세요.","잠시 후 같은 요청을 다시 보냅니다."]]}],"x-service-errors":[],"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer"}}}}