API 요청
/rest/ip_history요청 파라미터 1개 · 필수 1
domain- 예시
apick.app
응답 필드 13개
datadata.recordsdata.records[].ipdata.records[].locationdata.records[].ownerdata.records[].lastseendata.successdata.errorapiapi.successapi.costapi.msapi.pl_id도메인에 대한 IP 주소 변경 이력 정보를 조회합니다.
https://apick.app/rest/ip_history왜 IP 변경 이력 조회인가
오늘 깨끗해 보이는 도메인도 어제는 악성 서버를 가리켰을 수 있습니다. 도메인의 IP 변경 이력을 조회해 이전 기록과 수상한 이사를 바로 드러냅니다.
도메인 하나를 보내면 그 도메인이 과거에 연결됐던 IP 주소와 위치·통신사, 마지막으로 확인된 날짜를 돌려줍니다. 서버·호스팅 이전 이력 확인, 의심 도메인의 과거 서버 추적에 씁니다.
조회에 성공하면 한 건당 100P가 차감됩니다. 실패하면 data.error로 응답하며 과금되지 않습니다.
이력은 example.com처럼 등록한 도메인 단위로 조회합니다. www.example.com, blog.example.com 같은 하위 도메인은 기록이 없다는 오류가 날 수 있으니 등록 도메인으로 보내세요.
/rest/ip_historydomainapick.appdatadata.recordsdata.records[].ipdata.records[].locationdata.records[].ownerdata.records[].lastseendata.successdata.errorapiapi.successapi.costapi.msapi.pl_idPOST https://apick.app/rest/ip_historyAuthorization: Bearer — 내 계정의 API 인증키multipart/form-data상황별로 보내는 값과 응답에서 확인할 값을 모았습니다. 언어 탭에서 그대로 복사해 쓸 수 있습니다.
도메인이 어떤 서버를 거쳐 왔는지 확인합니다.
/rest/ip_historycurl --fail-with-body --request POST 'https://apick.app/rest/ip_history' \
--header "Authorization: Bearer $APICK_API_KEY" \
--form-string 'domain=apick.app'const form = new FormData();
form.append("domain", "apick.app");
const response = await fetch("https://apick.app/rest/ip_history", {
method: "POST",
headers: { Authorization: "Bearer " + process.env.APICK_API_KEY },
body: form,
signal: AbortSignal.timeout(120_000),
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const result = await response.json();
console.log(result);import os
import requests
parts = [
("domain", (None, "apick.app")),
]
response = requests.request("POST", "https://apick.app/rest/ip_history",
headers={"Authorization": "Bearer " + os.environ["APICK_API_KEY"]},
files=parts,
timeout=(10, 120))
response.raise_for_status()
result = response.json()
print(result)<?php
$headers = ["Authorization: Bearer " . getenv("APICK_API_KEY")];
$form = [
'domain' => 'apick.app',
];
$curl = curl_init('https://apick.app/rest/ip_history');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => $headers,
CURLOPT_POSTFIELDS => $form,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_TIMEOUT => 120,
]);
$body = curl_exec($curl);
if ($body === false) { throw new RuntimeException(curl_error($curl)); }
$status = curl_getinfo($curl, CURLINFO_HTTP_CODE);
curl_close($curl);
if ($status >= 400) { throw new RuntimeException($body); }
$result = json_decode($body, true, 512, JSON_THROW_ON_ERROR);
print_r($result);data.records[]의 ip·owner·lastseen으로 호스팅 변경 시점을 가늠합니다.이력은 등록 도메인 단위로 조회하므로 www.example.com 대신 example.com을 보냅니다.
/rest/ip_historycurl --fail-with-body --request POST 'https://apick.app/rest/ip_history' \
--header "Authorization: Bearer $APICK_API_KEY" \
--form-string 'domain=example.com'const form = new FormData();
form.append("domain", "example.com");
const response = await fetch("https://apick.app/rest/ip_history", {
method: "POST",
headers: { Authorization: "Bearer " + process.env.APICK_API_KEY },
body: form,
signal: AbortSignal.timeout(120_000),
});
if (!response.ok) throw new Error(`HTTP ${response.status}: ${await response.text()}`);
const result = await response.json();
console.log(result);import os
import requests
parts = [
("domain", (None, "example.com")),
]
response = requests.request("POST", "https://apick.app/rest/ip_history",
headers={"Authorization": "Bearer " + os.environ["APICK_API_KEY"]},
files=parts,
timeout=(10, 120))
response.raise_for_status()
result = response.json()
print(result)<?php
$headers = ["Authorization: Bearer " . getenv("APICK_API_KEY")];
$form = [
'domain' => 'example.com',
];
$curl = curl_init('https://apick.app/rest/ip_history');
curl_setopt_array($curl, [
CURLOPT_CUSTOMREQUEST => 'POST',
CURLOPT_HTTPHEADER => $headers,
CURLOPT_POSTFIELDS => $form,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_CONNECTTIMEOUT => 10, CURLOPT_TIMEOUT => 120,
]);
$body = curl_exec($curl);
if ($body === false) { throw new RuntimeException(curl_error($curl)); }
$status = curl_getinfo($curl, CURLINFO_HTTP_CODE);
curl_close($curl);
if ($status >= 400) { throw new RuntimeException($body); }
$result = json_decode($body, true, 512, JSON_THROW_ON_ERROR);
print_r($result);이 호스트 이름에 대한 기록이 없습니다.가 오면 이력이 없는 도메인입니다. 과금되지 않습니다.HTTP 성공과 업무 결과를 구분하세요. 경로별 응답 필드와 예시는 위 요청과 응답에 함께 있습니다.
{
"data": {
"records": [
{ "ip": "203.0.113.10", "location": "Seoul - South Korea", "owner": "Example ISP", "lastseen": "2026-10-18" },
{ "ip": "203.0.113.25", "location": "Seoul - South Korea", "owner": "Example ISP", "lastseen": "2025-02-03" },
{ "ip": "27.119.97.215", "location": "Suwon - South Korea", "owner": "SK Broadband Co Ltd", "lastseen": "2023-01-03" }
],
"success": 1
},
"api": { "success": true, "cost": 100, "ms": 1081, "pl_id": 1595642 }
}
호스팅을 옮긴 시점은 owner가 바뀌는 지점의 lastseen으로 가늠할 수 있습니다. 지금 연결된 IP는 도메인으로 IP 조회로 확인하세요.
lastseen으로 직접 정렬하세요.Seoul - South Korea.YYYY-MM-DD)입니다.응답을 아래 순서로 확인하세요. 결과 유무와 과금 여부는 서로 다릅니다.
data.error(사유 문구)와 data.success=0을 돌려줍니다. HTTP 상태는 사유에 따라 400·404·408·424 중 하나입니다.api.cost는 0이며 과금되지 않습니다. data.error 문구를 그대로 기록하고 사용자에게 보여 주세요.{
"data": {
"error": "입력값을 확인해 주세요.",
"success": 0
},
"api": {
"success": true,
"cost": 0,
"ms": 5
}
}domain을 채워 다시 요청합니다.https://·경로를 지우고 도메인 형식을 확인합니다.example.com)으로 바꿔 다시 요청합니다.오류 응답은 모두 api.cost가 0이며 과금되지 않습니다.
FORM_DATA_INVALIDFORM_DATA_FIELD_CONFLICTMULTIPART_LIMIT_OR_PARSE_ERROR실제 차감 금액은 응답의 api.cost로 확인하세요. 상세 요금은 요금정책에서 볼 수 있습니다.
같은 요청을 JavaScript와 Python으로 옮긴 예시입니다. 키는 환경변수 APICK_API_KEY 에서 읽습니다.