API
APIリファレンス
認証
クレジットが必要です。有効な Pro アカウントに毎月含まれる20クレジット、またはアカウントページで購入したクレジットを使えます。どちらもないアカウントは 403 pro_required を受け取ります。
このキーは一度だけ表示されます。サーバーに安全に保管してください。
アカウントで API キーを作り、一度だけ表示される値をコピーします。サーバーのシークレット NOCALL_API_KEY に設定してください。HTTPS を使い、ブラウザーのコード、リポジトリ、画像、ログにキーを残さないでください。
完全なキーを Authorization: Bearer で送り、Bearer の後に半角スペースを入れます。X-API-Key や URL にキーを入れないでください。
/v1/data/* + /v2/* では有効なキーがブラウザーの ByteGuard 証明に代わります。有効期限、失効、契約、クレジット、制限は引き続き確認されます。他のルートは許可されません。openapi.json と products は公開です。
Authorization: Bearer <NOCALL_API_KEY>最初の照会
46個の tools はすべて API から利用できます。POST /v2/<tool-id> を呼び出すか、ボディに tool フィールドを入れて POST /v2/tools を呼び出します。各 tool には独自の JSON ボディがあり、それぞれのガイドに記載されています。data.result には tool の結果が入ります。表の識別子を使ってください。
新しい操作ごとに新しい Idempotency-Key を生成します。同じ入力で同じ操作を再試行するときだけ、そのキーを維持してください。
REQUEST_ID="$(uuidgen)" && [ -n "$REQUEST_ID" ] &&
curl --request POST 'https://api.nocall.io/v2/tools' \
--header "Authorization: Bearer $NOCALL_API_KEY" \
--header 'Content-Type: application/json' \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"tool":"who-calls","phone":"+12025550123","country":"US"}'import json
import os
import urllib.request
import uuid
api_key = os.environ.get('NOCALL_API_KEY')
if not api_key:
raise SystemExit('Set NOCALL_API_KEY')
request = urllib.request.Request(
'https://api.nocall.io/v2/tools',
method='POST',
data=json.dumps({'tool': 'who-calls', 'phone': '+12025550123', 'country': 'US'}).encode(),
headers={
'Authorization': 'Bearer ' + api_key,
'Content-Type': 'application/json',
'Idempotency-Key': str(uuid.uuid4()),
},
)
with urllib.request.urlopen(request, timeout=30) as response:
result = json.load(response)
print(result['data']['result'], result['meta']['unitsCharged'])import { randomUUID } from 'node:crypto';
const requestId = randomUUID();
const apiKey = process.env.NOCALL_API_KEY;
if (!apiKey) throw new Error('Set NOCALL_API_KEY');
const response = await fetch('https://api.nocall.io/v2/tools', {
method: 'POST',
headers: {
Authorization: 'Bearer ' + apiKey,
'Content-Type': 'application/json',
'Idempotency-Key': requestId,
},
body: JSON.stringify({ tool: 'who-calls', phone: '+12025550123', country: 'US' }),
});
const result = await response.json();
if (!response.ok) throw new Error(result.error?.code ?? 'request_failed');
console.log(result.data.result, result.meta.unitsCharged);API v2 · tools
46個の tools はすべて API から利用できます。POST /v2/<tool-id> を呼び出すか、ボディに tool フィールドを入れて POST /v2/tools を呼び出します。各 tool には独自の JSON ボディがあり、それぞれのガイドに記載されています。data.result には tool の結果が入ります。表の識別子を使ってください。
| tool | 目的 | POST | 架空の例 |
|---|---|---|---|
| who-calls | 誰からの電話? | /v2/who-calls | {"phone":"+12025550123","country":"US"} |
| phone-exposure | 自分の番号は漏えいした? | /v2/phone-exposure | {"phone":"+12025550123","country":"US"} |
| phone-intelligence | 電話インテリジェンス | /v2/phone-intelligence | {"phone":"+12025550123","country":"US"} |
| phone-risk | 電話リスク | /v2/phone-risk | {"phone":"+12025550123","country":"US"} |
| carrier-lookup | 通信事業者検索 | /v2/carrier-lookup | {"phone":"+12025550123","country":"US"} |
| verified-business | 確認済み企業の逆引き | /v2/verified-business | {"phone":"+12025550123","country":"US"} |
| phone-formats | 電話番号の形式 | /v2/phone-formats | {"phone":"+34912345678","country":"ES"} |
| callback-cost | 折り返し電話の料金は? | /v2/callback-cost | {"phone":"806123456","country":"ES"} |
| prefix-origin | この市外局番はどこの番号? | /v2/prefix-origin | {"phone":"910","country":"ES"} |
| number-validator | 電話番号の検証とフォーマット | /v2/number-validator | {"phone":"+12025550123","country":"US"} |
| line-type | 携帯電話?固定電話? | /v2/line-type | {"phone":"+34600111222","country":"ES"} |
| premium-rate | 有料情報サービスの番号? | /v2/premium-rate | {"phone":"806","country":"ES"} |
| wangiri | ワン切りチェック:この不在着信は詐欺? | /v2/wangiri | {"phone":"+216","country":"ES"} |
| commercial-400 | この営業電話は合法? | /v2/commercial-400 | {"phone":"+34400000000","country":"ES"} |
| number-research | AIで番号を調査 | /v2/number-research | {"phone":"+12025550123","country":"US","language":"en"} |
| dial-code | コードのダイヤルを求められましたか? | /v2/dial-code | {"code":"**21*+34600000000#","country":"ES"} |
| call-scam-check | この電話は詐欺ですか? | /v2/call-scam-check | {"answers":{"impersonation":true,"sms_code":true,"pressure":true},"country":"ES"} |
| sms-check | SMS詐欺チェック | /v2/sms-check | {"message":"Your parcel is held. Pay the fee at https://example.invalid/pay","sender":"Correos","language":"en","country":"GB"} |
| sms-brand | このブランドからのSMSは本物? | /v2/sms-brand | {"brand":"correos","link":"https://correos-envio.example.invalid/pago","country":"ES"} |
| sms-sender | このSMSは誰から? | /v2/sms-sender | {"sender":"Correos","country":"ES"} |
| sms-code | SMSで届いたコードを求められた? | /v2/sms-code | {"unrequested":true,"asked":true,"sensitive":true,"shared":false} |
| sms-report | 詐欺SMSの通報先 | /v2/sms-report | {"sender":"Correos","tapped":false,"gaveData":false,"country":"ES"} |
| sms-campaigns | SMS詐欺キャンペーン | /v2/sms-campaigns | {} |
| sms-redact | SMSから個人情報を消す | /v2/sms-redact | {"message":"BBVA: su tarjeta 4111 1111 1111 1111 ha sido bloqueada. Llame al +34 612 34 56 78 o entre en https://bbva-seguro.com/login"} |
| callback-number | メッセージにある番号に電話しても大丈夫? | /v2/callback-number | {"text":"Your account is locked. Call us now on 0909 879 0000 or +216 71 123 456","country":"GB"} |
| prefix-directory | 市外局番 | /v2/prefix-directory | {"country":"ES","serviceClass":"premium","page":1,"limit":3} |
| operator-directory | 通信事業者 | /v2/operator-directory | {"country":"ES","operator":"Movistar"} |
| calling-codes | 国際電話番号 | /v2/calling-codes | {"query":"216","language":"en"} |
| spam-directory | 迷惑電話番号 | /v2/spam-directory | {"country":"US","category":"SCAM","page":1,"limit":20} |
| trends | インサイト | /v2/trends | {"country":"ES"} |
| smishing | スミッシングとは? | /v2/smishing | {"message":"CORREOS: su paquete está retenido. Pague urgente las tasas en https://correos-entrega.info/pago","country":"ES"} |
| link-check | リンクを確認 | /v2/link-check | {"url":"http://192.168.1.1/login","country":"ES"} |
| safety-tools | 安全チェック | /v2/safety-tools | {"text":"URGENTE: su cuenta BBVA ha sido bloqueada, verifique en https://bbva-seguro.com/login","mode":"email","country":"ES"} |
| sms-filter | SMS 迷惑メッセージフィルター | /v2/sms-filter | {"country":"ES"} |
| qr-check | このQRコードは安全ですか? | /v2/qr-check | {"payload":"BCD\n002\n1\nSCT\n\nAparcamientos Ejemplo SL\nES9121000418450200051332\nEUR49.90\n\n\nMulta de aparcamiento 4471","country":"ES"} |
| email-headers | このメールは本物ですか? | /v2/email-headers | {"headers":"Delivered-To: [email protected]\nReceived: from mail.bank.example (mail.bank.example [192.0.2.10]) by mx.google.com with ESMTPS id x1 for <[email protected]>; Tue, 27 Oct 2026 09:00:00 -0700\nAuthentication-Results: mx.google.com; dkim=pass [email protected] header.s=s1; spf=pass (google.com: domain of [email protected] designates 192.0.2.10 as permitted sender) [email protected]; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bank.example\nFrom: \"Bank Alerts\" <[email protected]>\nReply-To: [email protected]\nSubject: Your statement is ready\nMessage-ID: <[email protected]>","country":"ES"} |
| mx-lookup | MXレコードを調べる | /v2/mx-lookup | {"domain":"example.com"} |
| spf-check | SPFを確認する | /v2/spf-check | {"domain":"example.com"} |
| dmarc-check | DMARCを確認する | /v2/dmarc-check | {"domain":"example.com"} |
| dkim-check | DKIMを確認する | /v2/dkim-check | {"domain":"example.com","selector":"s1"} |
| email-verify | メールアドレスを確認する | /v2/email-verify | {"email":"[email protected]"} |
| website-age | このサイトはいつ作られた? | /v2/website-age | {"url":"https://www.example.com/login","country":"ES"} |
| domain-popularity | ドメインの人気度 | /v2/domain-popularity | {"url":"https://shop.example.com/cart","country":"ES"} |
| website-legit | このサイトは信頼できる? | /v2/website-legit | {"url":"https://[email protected]/login","country":"ES"} |
| ip-lookup | IPアドレス検索 | /v2/ip-lookup | {"ip":"193.0.6.139"} |
| ssl-check | SSL証明書チェック | /v2/ssl-check | {"url":"https://www.example.com/login","country":"ES"} |
利用できるエンドポイント
確認済みまたは公開の技術情報だけを表示します。個人の身元や保護シグナルは表示しません。
API v1 · phone は必須で最大64文字、E.164形式を推奨します。country は対応する2文字の国コードで、省略時は ES。Content-Type は application/json です。
| HTTP | URL | 目的 | 必要なもの |
|---|---|---|---|
| POST | /v2/tools | API で使う | Authorization: Bearer · Pro |
| GET | /v2/tools | NoCall製品カタログ | Authorization: Bearer · Pro |
| GET | /v2/openapi.json | OpenAPI 3.1 | — |
| POST | /v2/who-calls | 誰からの電話? | Authorization: Bearer · Pro |
| POST | /v2/phone-exposure | 自分の番号は漏えいした? | Authorization: Bearer · Pro |
| POST | /v2/phone-intelligence | 電話インテリジェンス | Authorization: Bearer · Pro |
| POST | /v2/phone-risk | 電話リスク | Authorization: Bearer · Pro |
| POST | /v2/carrier-lookup | 通信事業者検索 | Authorization: Bearer · Pro |
| POST | /v2/verified-business | 確認済み企業の逆引き | Authorization: Bearer · Pro |
| POST | /v2/phone-formats | 電話番号の形式 | Authorization: Bearer · Pro |
| POST | /v2/callback-cost | 折り返し電話の料金は? | Authorization: Bearer · Pro |
| POST | /v2/prefix-origin | この市外局番はどこの番号? | Authorization: Bearer · Pro |
| POST | /v2/number-validator | 電話番号の検証とフォーマット | Authorization: Bearer · Pro |
| POST | /v2/line-type | 携帯電話?固定電話? | Authorization: Bearer · Pro |
| POST | /v2/premium-rate | 有料情報サービスの番号? | Authorization: Bearer · Pro |
| POST | /v2/wangiri | ワン切りチェック:この不在着信は詐欺? | Authorization: Bearer · Pro |
| POST | /v2/commercial-400 | この営業電話は合法? | Authorization: Bearer · Pro |
| POST | /v2/number-research | AIで番号を調査 | Authorization: Bearer · Pro |
| POST | /v2/dial-code | コードのダイヤルを求められましたか? | Authorization: Bearer · Pro |
| POST | /v2/call-scam-check | この電話は詐欺ですか? | Authorization: Bearer · Pro |
| POST | /v2/sms-check | SMS詐欺チェック | Authorization: Bearer · Pro |
| POST | /v2/sms-brand | このブランドからのSMSは本物? | Authorization: Bearer · Pro |
| POST | /v2/sms-sender | このSMSは誰から? | Authorization: Bearer · Pro |
| POST | /v2/sms-code | SMSで届いたコードを求められた? | Authorization: Bearer · Pro |
| POST | /v2/sms-report | 詐欺SMSの通報先 | Authorization: Bearer · Pro |
| POST | /v2/sms-campaigns | SMS詐欺キャンペーン | Authorization: Bearer · Pro |
| POST | /v2/sms-redact | SMSから個人情報を消す | Authorization: Bearer · Pro |
| POST | /v2/callback-number | メッセージにある番号に電話しても大丈夫? | Authorization: Bearer · Pro |
| POST | /v2/prefix-directory | 市外局番 | Authorization: Bearer · Pro |
| POST | /v2/operator-directory | 通信事業者 | Authorization: Bearer · Pro |
| POST | /v2/calling-codes | 国際電話番号 | Authorization: Bearer · Pro |
| POST | /v2/spam-directory | 迷惑電話番号 | Authorization: Bearer · Pro |
| POST | /v2/trends | インサイト | Authorization: Bearer · Pro |
| POST | /v2/smishing | スミッシングとは? | Authorization: Bearer · Pro |
| POST | /v2/link-check | リンクを確認 | Authorization: Bearer · Pro |
| POST | /v2/safety-tools | 安全チェック | Authorization: Bearer · Pro |
| POST | /v2/sms-filter | SMS 迷惑メッセージフィルター | Authorization: Bearer · Pro |
| POST | /v2/qr-check | このQRコードは安全ですか? | Authorization: Bearer · Pro |
| POST | /v2/email-headers | このメールは本物ですか? | Authorization: Bearer · Pro |
| POST | /v2/mx-lookup | MXレコードを調べる | Authorization: Bearer · Pro |
| POST | /v2/spf-check | SPFを確認する | Authorization: Bearer · Pro |
| POST | /v2/dmarc-check | DMARCを確認する | Authorization: Bearer · Pro |
| POST | /v2/dkim-check | DKIMを確認する | Authorization: Bearer · Pro |
| POST | /v2/email-verify | メールアドレスを確認する | Authorization: Bearer · Pro |
| POST | /v2/website-age | このサイトはいつ作られた? | Authorization: Bearer · Pro |
| POST | /v2/domain-popularity | ドメインの人気度 | Authorization: Bearer · Pro |
| POST | /v2/website-legit | このサイトは信頼できる? | Authorization: Bearer · Pro |
| POST | /v2/ip-lookup | IPアドレス検索 | Authorization: Bearer · Pro |
| POST | /v2/ssl-check | SSL証明書チェック | Authorization: Bearer · Pro |
| GET | /v1/data/account | APIキーとクレジット | Authorization: Bearer |
| POST | /v1/data/phone-lookups | 電話インテリジェンス | Authorization: Bearer · Pro |
| POST | /v1/data/phone-risk-checks | 電話リスク | Authorization: Bearer · Pro |
| POST | /v1/data/carrier-lookups | 通信事業者検索 | Authorization: Bearer · Pro |
| POST | /v1/data/reverse-phone-lookups | 確認済み企業の逆引き | Authorization: Bearer |
| POST | /v1/data/phone-exposure-checks | 自分の番号は漏えいした? | Authorization: Bearer · Pro |
| POST | /v1/data/bulk-lookups | 電話番号の一括検索 | Authorization: Bearer |
| GET | /v1/data/products | NoCall製品カタログ | — |
| GET | /v1/data/openapi.json | OpenAPI 3.1 | — |
レスポンス
架空の例であり、実際の検索結果ではありません。電話をかけたりリンクを開いたりしないでください。
data は結果、meta は requestId、unitsCharged、使用量を含みます。架空の抜粋は照会後の残高です。有効な該当なしの結果も1クレジットを消費します。検証・プロバイダーのエラーと残高確認は無料です。データがなくても安全とは限りません。OpenAPI を参照してください。
{
"data": {
"tool": "who-calls",
"result": {
"phoneNumber": "+12025550123",
"found": true,
"updatedAt": "2026-10-01T09:30:00.000Z",
"risk": {
"score": 72,
"level": "high"
},
"reportCount": 14,
"categories": [
"TELEMARKETING"
],
"verified": false,
"carrier": null,
"verifiedBusiness": null
}
},
"meta": {
"requestId": "req_example",
"unitsCharged": 1,
"usage": {
"periodStart": "2026-10-01",
"unitLimit": 20,
"unitsUsed": 3,
"unitsRemaining": 17
}
}
}| tool | data.result |
|---|---|
| who-calls | phoneNumber, found, updatedAt, risk, reportCount, categories, verified, carrier, verifiedBusiness |
| phone-exposure | atRisk |
| phone-intelligence | phoneNumber, found, updatedAt, risk, reportCount, categories, verified, carrier, verifiedBusiness, commentCount, aiRiskLevel, prefixRisk |
| phone-risk | phoneNumber, found, updatedAt, risk, signals |
| carrier-lookup | phoneNumber, found, updatedAt, carrier |
| verified-business | phoneNumber, found, updatedAt, verifiedBusiness |
| phone-formats | e164, national, international, callingCode, country, valid |
| callback-cost | tier, scope, callingCode, registry |
| prefix-origin | kind, planLoaded, numberType, foreignCode, national, row, complete, rows, factsType |
| number-validator | valid, possible, country, callingCode, type, e164 |
| line-type | e164, valid, type, lineKind |
| premium-rate | category, callbackRisk, prefix, callingCode, source |
| wangiri | verdict, code, nanpArea, entry |
| commercial-400 | verdict, prefix |
| number-research | answer, sources, countryCode, language, cached |
| dial-code | code, kind, action, service, forwardsTo, calls, risk, undo, operator |
| call-scam-check | verdict, signals, actions, reportChannel |
| sms-check | verdict, confidence, reason |
| sms-brand | verdict, host, brand, officialDomains, sightings |
| sms-sender | kind, tooLong, brand, lookalike, digits, code |
| sms-code | verdict, severity, serviceRecoverySteps, stepCodes |
| sms-report | channel, verified, stepCodes, reportFields |
| sms-campaigns | totalCampaigns, totalSightings, topBrands, topDomains |
| sms-redact | text, counts, total |
| callback-number | numbers, signals, attention |
| prefix-directory | countryCode, callingCode, planVersion, total, page, limit, hasMore, rows |
| operator-directory | operators, specialPrefixes |
| calling-codes | rows, total |
| spam-directory | view, totals, categories, topReported, category, total, page, limit, hasMore, rows |
| trends | totals, activity24h, verification, freshness, categoryDistribution, phoneTypes, topOperators, growthTimeline, topPrefixes, searchTrends, communityDistribution, impersonationRanking, aiBreakdown |
| smishing | verdict, score, attention, signals, hosts, linkFlags, brand, brandSlug |
| link-check | host, hostAscii, official, brand, hosts, linkFlags, signals, attention |
| safety-tools | attention, signals, hosts, linkFlags |
| sms-filter | country, version, updatedAt, source, counts |
| qr-check | payload, signals, attention, hosts, linkFlags, link, numbers |
| email-headers | fromDomain, fromDomainAscii, displayName, replyToDomain, returnPathDomain, senderDomain, subject, auth, authenticated, brand, official, freeMail, signals, attention |
| mx-lookup | domain, domainAscii, found, records, nullMx, implicitMx, acceptsMail, provider, signals, attention |
| spf-check | domain, domainAscii, found, record, recordCount, terms, allResult, lookups, includes, signals, valid, attention |
| dmarc-check | domain, domainAscii, found, record, foundAt, inherited, policy, subdomainPolicy, effectivePolicy, percentage, alignment, reports, signals, valid, attention |
| dkim-check | domain, domainAscii, selectorGiven, selectorsTried, keys, signals, attention |
| email-verify | domain, domainAscii, status, syntaxValid, acceptsMail, mx, disposable, role, freeMail, suggestion, signals, attention |
| website-age | domain, domainAscii, rdapAvailable, found, registeredDomain, registered, updated, expires, ageDays, registrar, status, campaigns, signals, attention |
| domain-popularity | domain, domainAscii, ranked, rank, rankedDomain, refSubnets, refIps, listSize, updated, source |
| website-legit | domain, domainAscii, verdict, official, brand, ageDays, registered, ranked, rank, campaigns, signals, linkFlags, attention, checks |
| ip-lookup | ip, version, public, reverseDns, country, network, tor, hosting, hint, signals, attention, checks |
| ssl-check | domain, domainAscii, reachable, unreachableReason, ip, protocol, valid, authorizationError, hostnameMatch, selfSigned, subject, san, sanCount, issuerOrganization, issuerCommonName, validFrom, validTo, ageDays, daysLeft, signals, attention |
クレジットと制限
Pro なら毎月 20 クレジットが無料
API 呼び出し 1 回につき 1 クレジット。毎月分から先に使われます。
再発行すると以前のキーは無効になります。クレジット残高は変わりません。
curl 'https://api.nocall.io/v1/data/account' \
--header "Authorization: Bearer $NOCALL_API_KEY"再試行と一括照会
新しい操作ごとに新しい Idempotency-Key を生成します。同じ入力で同じ操作を再試行するときだけ、そのキーを維持してください。
Idempotency-Key は単一照会では任意、一括照会では必須です。8~128文字で英数字、ピリオド、ハイフン、アンダースコア、コロンを使えます。再試行では同じ識別子、パス、API キー、本文を維持します。再送された結果に再課金はありません。応答が不明確な場合は残高を確認してください。
一括処理は最大50件です。product で操作を選びます。開始前に全有効入力分の残高が必要で、完了した有効な結果のみ課金されます。同時リクエストは残高を共有し、最終決済前に不足すると課金せず429を返します。
8–128 ASCII: A–Z a–z 0–9 . _ : -
TTL: 24 hphone-lookup
phone-risk
carrier-lookup
reverse-phone-lookup
phone-exposureREQUEST_ID="$(uuidgen)" && [ -n "$REQUEST_ID" ] &&
curl --request POST 'https://api.nocall.io/v1/data/bulk-lookups' \
--header "Authorization: Bearer $NOCALL_API_KEY" \
--header 'Content-Type: application/json' \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"product":"phone-risk","inputs":[{"phone":"+12025550123","country":"US"}]}'問題が起きた場合
| HTTP | 結果の読み方 |
|---|---|
| 401 | キーがない、Bearer 形式が違う、または期限切れ・失効です。ヘッダーを確認するか新しいキーを作ってください。 |
| 403 | クレジットが必要です。有効な Pro アカウントに毎月含まれる20クレジット、またはアカウントページで購入したクレジットを使えます。どちらもないアカウントは 403 pro_required を受け取ります。 |
| 400 / 422 | JSON、phone、country、Idempotency-Key を確認してください。検証エラーはクレジットを消費しません。 |
| 409 | 同じ識別子が別の本文で使われたか、まだ処理中です。同じ操作の再試行では本文を変えずに待ってください。 |
| 429 | クレジット不足またはレート制限です。/account と X-RateLimit-Remaining を確認し、Retry-After があれば従ってください。ai_busy は AI が混雑していることを示し、課金されません。Retry-After の後に再試行してください。 |
| 500 / 503 | サービスやプロバイダーが利用できないか、ベータが無効です。同じ Idempotency-Key で時間を置いて再試行してください。tool_warming は tool が起動中であることを示し、課金されません。Retry-After の後に再試行してください。 |
