DNSSOR REST API

バージョン 1.0 — ベース URL: https://dnssor.com/api/v1

DNS ルックアップ、WHOIS クエリ、SSL 証明書分析、IP 地理位置情報用の高速で信頼性の高い JSON API。開発者とシステム管理者向けに設計されています。

🔐 🔐 認証

すべてのリクエストには API キーが必要です。 Google 経由で認証すると、すぐに取得できます。登録フォームは必要ありません。

オプション 1 — ヘッダー (推奨)

X-API-Key: demo-key-dnssor-2026

オプション 2 — クエリ文字列

?api_key=demo-key-dnssor-2026
🧪 テスト用のデモキー: demo-key-dnssor-2026 (100 リクエスト/時間制限)
⚡ ⚡ レート制限
Planリクエスト/時間キャッシュTTL
デモ (認証なし)
無料(Googleログイン)100利用できません
プロ(お問い合わせください)10,000利用できません

制限を超えると、HTTP 429 が返されます。ヘッダー: X-RateLimit-Remaining

📡 📡 エンドポイント
方法終点説明キャッシュ
GET /api/v1/dns DNS ルックアップ (A、AAAA、MX、NS、TXT、CNAME、SOA) 5 min
GET /api/v1/whois WHOIS 解析済み + 生データ 1 hr
GET /api/v1/ssl SSL 証明書の詳細 + SAN + 残り日数 1 hr
GET /api/v1/ip IP地理位置情報 + ISP + ASN + 逆引きDNS 1 hr
GET /api/v1/ping TCP ping テスト (ポート 80 経由の 4 パケット) 利用できません
GET /api/v1/status APIの動作状況 利用できません
GET /api/v1/dns

ドメインの DNS レコードをクエリします。

パラメータタイプ必須説明
domainstringDomain
typestringレコードタイプ: A、AAAA、MX、NS、TXT、CNAME、SOA、ALL (デフォルト: ALL)
serverstringDNS サーバー IP (デフォルト: 1.1.1.1)
curl "https://dnssor.com/api/v1/dns?domain=google.com&type=MX" \
     -H "X-API-Key: demo-key-dnssor-2026"

応答:

{
  "success": true,
  "data": {
    "domain": "google.com",
    "server": "1.1.1.1",
    "records": [
      { "type": "MX", "name": "google.com", "value": "smtp.google.com", "ttl": 3600, "extras": { "pref": 10 } }
    ],
    "count": 1
  },
  "timestamp": 1785649205}
GET /api/v1/whois
パラメータ必須説明
domainDomain
raw生のWHOIS
curl "https://dnssor.com/api/v1/whois?domain=google.com&raw=1" \
     -H "X-API-Key: demo-key-dnssor-2026"
GET /api/v1/ssl
curl "https://dnssor.com/api/v1/ssl?domain=google.com" \
     -H "X-API-Key: demo-key-dnssor-2026"
GET /api/v1/ip
パラメータ必須説明
ipIPアドレス
curl "https://dnssor.com/api/v1/ip?ip=8.8.8.8" \
     -H "X-API-Key: demo-key-dnssor-2026"
📦 📦 ライブラリと SDK

JavaScript / Node.js

const res = await fetch(
  'https://dnssor.com/api/v1/dns?domain=google.com',
  { headers: { 'X-API-Key': 'demo-key-dnssor-2026' } }
);
const data = await res.json();

Python

import requests
r = requests.get(
  'https://dnssor.com/api/v1/dns',
  params={'domain': 'google.com'},
  headers={'X-API-Key': 'demo-key-dnssor-2026'}
)

統合を始める準備はできていますか?

Google アカウントで安全にサインインすると、個人用の無料 API キーを即座に受け取ることができます。

Googleでサインイン

クレジットカードはありません。登録フォームはありません。 100 件のリクエスト/時間も含まれます。