FBI 身元照会
API リファレンス
エンドポイント
https://api.verifik.co/v2/fbi
documentType と documentNumber、または fullName を用いて、FBI 公開記録を検索します。該当する場合、レスポンスには本人確認フィールドおよび対象者の公開 FBI URL が含まれることがあります。
注: 日付(生年月日や発行日)は dd/mm/yyyy 形式で指定してください。
ヘッダー
| 名前 | 値 |
|---|---|
| Content-Type | application/json |
| Authorization | Bearer <token> |
パラメーター
info
対応する 文書タイプ とそれぞれの必須パラメーターの一覧については、文書タイプ ガイドをご参照ください。
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
documentType | string | いいえ | 照会する文書タイプ。 |
documentNumber | string | いいえ | 照会する文書番号。スペースやドットを含めずに入力してください。 |
fullName | string | いいえ | documentType と documentNumber の代わりに、対象者または企業の氏名を直接指定できます。 |
ユースケース
- 本人確認: FBI が公開する情報に対して文書を検証します。
- コンプライアンス: 機微なポジションや取引のスクリーニングを支援します。
- 不正防止: 関係構築の前に身元を確認します。
リクエスト
- JavaScript
- Python
- Swift
- PHP
import axios from "axios";
const options = {
method: "GET",
url: "https://api.verifik.co/v2/fbi",
params: { documentType: "CC", documentNumber: "80251972" },
headers: {
Accept: "application/json",
Authorization: "jwt <tu_token>",
},
};
try {
const { data } = await axios.request(options);
console.log(data);
} catch (error) {
console.error(error);
}
import http.client
conn = http.client.HTTPSConnection("api.verifik.co")
payload = ''
headers = {}
conn.request("GET", "/v2/fbi?fullName=", payload, headers)
res = conn.getresponse()
data = res.read()
print(data.decode("utf-8"))
var request = URLRequest(url: URL(string: "https://api.verifik.co/v2/fbi?fullName=")!,timeoutInterval: Double.infinity)
request.httpMethod = "GET"
let task = URLSession.shared.dataTask(with: request) { data, response, error in
guard let data = data else {
print(String(describing: error))
return
}
print(String(data: data, encoding: .utf8)!)
}
task.resume()
<?php
require_once 'HTTP/Request2.php';
$request = new HTTP_Request2();
$request->setUrl('https://api.verifik.co/v2/fbi?fullName=');
$request->setMethod(HTTP_Request2::METHOD_GET);
$request->setConfig(array(
'follow_redirects' => TRUE
));
try {
$response = $request->send();
if ($response->getStatus() == 200) {
echo $response->getBody();
}
else {
echo 'Unexpected HTTP status: ' . $response->getStatus() . ' ' .
$response->getReasonPhrase();
}
}
catch(HTTP_Request2_Exception $e) {
echo 'Error: ' . $e->getMessage();
}
レスポンス
- 200
- 404
- 409
{
"data": {
"documentType": "CC",
"documentNumber": "80251972",
"fullName": "WILVER VILLEGAS PALOMINO",
"firstName": "WILVER",
"lastName": "VILLEGAS PALOMINO",
"arrayName": ["WILVER", "VILLEGAS", "PALOMINO"],
"foundInFBI": true,
"urlFBI": "https://www.fbi.gov/wanted/cei/wilver-villegas-palomino-"
},
"signature": {
"dateTime": "June 28, 2022 12:36 PM",
"message": "Certified by Verifik.co"
}
}
{
"code": "NotFound",
"message": "Record not found."
}
{
"code": "MissingParameter",
"message": "missing documentType\n. missing documentNumber\n"
}
注意事項
- 公開された FBI ページが存在する場合、
foundInFBIおよび任意のurlFBIを返します。