Skip to main content

๐Ÿ‡ฆ๐Ÿ‡ท ์•„๋ฅดํ—จํ‹ฐ๋‚˜ โ€” ์ฐจ๋Ÿ‰ v3

์—”๋“œํฌ์ธํŠธโ€‹

GET https://api.verifik.co/v3/ar/vehicle

์ด ์—”๋“œํฌ์ธํŠธ๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ๋ฒˆํ˜ธํŒ์œผ๋กœ ์•„๋ฅดํ—จํ‹ฐ๋‚˜ ์ฐจ๋Ÿ‰ ์ƒ์„ธ ์ •๋ณด๋ฅผ ์กฐํšŒํ•ฉ๋‹ˆ๋‹ค. ์‘๋‹ต์—๋Š” ์—”์ง„ ๋ฒˆํ˜ธ, ์„€์‹œ, ๋ธŒ๋žœ๋“œ, ๋ชจ๋ธ, ์—ฐ์‹, ์ƒ‰์ƒ, ์ฐจ๋Ÿ‰ ์œ ํ˜•, ํ™œ์„ฑ ๋ณดํ—˜ ์ƒํƒœ ๋ฐ ๊ธฐ์ˆ  ์‹œํŠธ ํ•„๋“œ(๊ฐ€๋Šฅํ•œ ๊ฒฝ์šฐ)๊ฐ€ ํฌํ•จ๋ฉ๋‹ˆ๋‹ค.

ํ—ค๋”โ€‹

NameValue
Acceptapplication/json
AuthorizationBearer <token>

๋งค๊ฐœ๋ณ€์ˆ˜โ€‹

์ด๋ฆ„์œ ํ˜•ํ•„์ˆ˜์„ค๋ช…
platestringYes๋ฉ”๋ฅด์ฝ”์ˆ˜๋ฅด ํ˜•์‹ AA-123-BB (AA123BB๋กœ ์ „์†ก, ๊ณต๋ฐฑ ๋ฐ ๊ตฌ๋‘์  ์—†์Œ).

์š”์ฒญโ€‹

import axios from 'axios';

const { data } = await axios.get('https://api.verifik.co/v3/ar/vehicle', {
params: { plate: 'AA123BB' },
headers: {
Accept: 'application/json',
Authorization: `Bearer ${process.env.VERIFIK_TOKEN}`,
},
});

console.log(data);

์‘๋‹ตโ€‹

{
"data": {
"brand": "TOYOTA",
"chassis": "AR10000001CH",
"color": "BLANCO",
"engineNumber": "AR10000001M",
"isActivePolicyFound": false,
"model": "COROLLA 2020",
"modelGroup": "COROLLA",
"plate": "AA123BB",
"technicalSheet": {
"engine": {
"engineDescription": "1.6L",
"fuel": "NAFTA",
"powerHp": "110"
},
"performance": {
"cityConsumption": "10 km/L",
"highwayConsumption": "14 km/L"
},
"dimensions": {
"doors": "4",
"occupants": "5"
}
},
"type": "AUTOMOVIL",
"year": "2020"
},
"signature": {
"dateTime": "July 1, 2026 10:00 AM",
"message": "Certified by Verifik.co"
}
}

์‘๋‹ต ํ•„๋“œโ€‹

ํ•„๋“œ์œ ํ˜•์„ค๋ช…
platestring์ •๊ทœํ™”๋œ ์ฐจ๋Ÿ‰ ๋ฒˆํ˜ธํŒ.
engineNumberstring | null์†Œ์Šค์—์„œ ๋ฐ˜ํ™˜๋œ ์—”์ง„ ๋ฒˆํ˜ธ.
chassisstring | null์†Œ์Šค์—์„œ ๋ฐ˜ํ™˜๋œ ์„€์‹œ ์‹๋ณ„์ž.
yearstring | null์ฐจ๋Ÿ‰ ์—ฐ์‹.
brandstring | null์ฐจ๋Ÿ‰ ๋ธŒ๋žœ๋“œ.
modelGroupstring | null๋ชจ๋ธ๊ตฐ.
modelstring | null๋ชจ๋ธ/๋ฒ„์ „ ๋ผ๋ฒจ.
colorstring | null๋“ฑ๋ก ์ƒ‰์ƒ.
typestring | null์ฐจ๋Ÿ‰ ์œ ํ˜•.
isActivePolicyFoundbooleanํ™œ์„ฑ ๋ณดํ—˜์ด ๋ฐœ๊ฒฌ๋˜์—ˆ๋Š”์ง€ ์—ฌ๋ถ€.
technicalSheetobject | null๊ฐ€๋Šฅํ•œ ๊ฒฝ์šฐ ๊ธฐ์ˆ  ์‹œํŠธ ๋ฐ์ดํ„ฐ.

์ฐธ๊ณ โ€‹

  • ์ผ์น˜ํ•˜๋Š” ๊ธฐ์ˆ  ๋ฐ์ดํ„ฐ๊ฐ€ ์—†์œผ๋ฉด technicalSheet๋Š” null์ด๊ฑฐ๋‚˜ ๋ถ€๋ถ„์ ์œผ๋กœ ์ฑ„์›Œ์งˆ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
  • ์„œ๋น„์Šค๋Š” ์†Œ์Šค๋ฅผ ์กฐํšŒํ•˜๊ธฐ ์ „์— ๋ฒˆํ˜ธํŒ ๋Œ€์†Œ๋ฌธ์ž๋ฅผ ์ •๊ทœํ™”ํ•ฉ๋‹ˆ๋‹ค.