DNS والبنية التحتية · منتج DomScan

API الخاص بـ أداة البحث عن النطاقات الفرعية

اكتشف النطاقات الفرعية للمجال باستخدام تقنيات تعداد متنوعة.

ما الذي تحصل عليه

اكتشف النطاقات الفرعية للمجال باستخدام تقنيات تعداد متنوعة.

متزامنمجمّعRESTMCPSDKأداة تفاعلية

اختر هذا المنتج عندما

لمن صُمم هذا المنتج

استخدم الحِزمة لاستكشاف الأخطاء وفحوصات الترحيل وأبحاث البنية التحتية والمراجعة الأمنية.

اختر هذا المنتج عندما

اختره لجمع أدلة النطاقات الفرعية العامة المرصودة. لا يثبت غياب الاسم عدم وجود نطاق فرعي.

ما الذي تحصل عليه

اكتشف النطاقات الفرعية للمجال باستخدام تقنيات تعداد متنوعة.

نقاط النهاية

اطّلع على ما تقبله كل نقطة نهاية وما تعيده وأوضاعها وحدودها قبل التكامل.

GET /v1/subdomains عرض مرجع API
POST /v1/subdomains/bulk عرض مرجع API

الوحدات والمصادقة

4-5 المصادقة مطلوبة. راجع مرجع API لمعرفة التكلفة الدقيقة، بما في ذلك أي تسعير لكل عنصر.

مثال على عملية

استخدم العمليات الموثقة لجمع الأدلة العامة أو تقييمها أو إثرائها أو التحقق منها أو مقارنتها أو حمايتها أو مراقبتها.

GET /v1/subdomains الرصيد: 4-5

معاملات الاستعلام

المعامل النوع مطلوب
domain string مطلوب
sources string
القيم المسموحة ct
الافتراضي ct
اختياري
verify string
القيم المسموحة truefalse10yesno
الافتراضي false
اختياري
include_wildcards string
القيم المسموحة truefalse10yesno
الافتراضي false
اختياري
limit integer
الافتراضي 500
اختياري
prefer_cache string
القيم المسموحة truefalse10yesno
الافتراضي false
اختياري
cursor string اختياري

حقول الرد

الحقل النوع
has_more boolean
next_cursor string | null
cache_age_s integer
domain string
subdomains[] object[]
subdomains[] object
subdomains[].name string
subdomains[].source string
subdomains[].first_seen string | null
subdomains[].verified boolean | null
subdomains[].dns_records object
subdomains[].dns_records.A[] string[]
subdomains[].dns_records.AAAA[] string[]
subdomains[].dns_records.CNAME string | null
wildcards[] object[]
wildcards[] object
wildcards[].pattern string
wildcards[].source string
wildcards[].first_seen string | null
summary object
summary.total_found integer
summary.returned integer
summary.verified_count integer
summary.unverified_count integer
summary.verification_unknown_count integer
summary.sources_used[] string[]
summary.apex_included boolean
summary.wildcard_suppressed_count integer
summary.wildcard_returned_count integer
intelligence_summary object
intelligence_summary.data_sources[] string[]
intelligence_summary.source_count integer
intelligence_summary.cache_status string
intelligence_summary.returned_count integer
intelligence_summary.total_found integer
intelligence_summary.truncated boolean
intelligence_summary.limit integer
intelligence_summary.verification_requested boolean
intelligence_summary.include_wildcards boolean
intelligence_summary.verified_count integer
intelligence_summary.verified_ratio number | null
intelligence_summary.live_dns_record_count integer
intelligence_summary.apex_included boolean
intelligence_summary.wildcard_suppressed_count integer
intelligence_summary.wildcard_returned_count integer
intelligence_summary.first_seen_oldest string | null
intelligence_summary.first_seen_newest string | null
intelligence_summary.warning_count integer
warnings[] string[]
meta object
meta.query_time_ms integer
meta.cached boolean
meta.stale boolean

طلب مثال

curl -H "X-API-Key: $DOMSCAN_API_KEY" "https://domscan.net/v1/subdomains?domain=example.com&sources=ct&verify=yes&include_wildcards=1&limit=500&prefer_cache=false"
const response = await fetch("https://domscan.net/v1/subdomains?domain=example.com&sources=ct&verify=yes&include_wildcards=1&limit=500&prefer_cache=false", {
  headers: { "X-API-Key": process.env.DOMSCAN_API_KEY },
});
const data = await response.json();
console.log(data);
import os
import requests

response = requests.get(
    "https://domscan.net/v1/subdomains?domain=example.com&sources=ct&verify=yes&include_wildcards=1&limit=500&prefer_cache=false",
    headers={"X-API-Key": os.environ["DOMSCAN_API_KEY"]},
)
print(response.json())
package main

import (
	"fmt"
	"io"
	"net/http"
	"os"
)

func main() {
	req, err := http.NewRequest(http.MethodGet, "https://domscan.net/v1/subdomains?domain=example.com&sources=ct&verify=yes&include_wildcards=1&limit=500&prefer_cache=false", nil)
	if err != nil {
		panic(err)
	}
	req.Header.Set("X-API-Key", os.Getenv("DOMSCAN_API_KEY"))

	resp, err := http.DefaultClient.Do(req)
	if err != nil {
		panic(err)
	}
	defer resp.Body.Close()

	data, err := io.ReadAll(resp.Body)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Status, string(data))
}
require "json"
require "net/http"

uri = URI("https://domscan.net/v1/subdomains?domain=example.com&sources=ct&verify=yes&include_wildcards=1&limit=500&prefer_cache=false")
request = Net::HTTP::Get.new(uri)
request["X-API-Key"] = ENV.fetch("DOMSCAN_API_KEY")

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: true) do |http|
  http.request(request)
end
puts JSON.pretty_generate(JSON.parse(response.body))

مثال الرد

{
  "domain": "example.com",
  "subdomains": [
    {
      "name": "api.example.com",
      "source": "crtsh",
      "first_seen": "2025-01-15T00:00:00Z",
      "verified": true,
      "dns_records": {
        "A": [
          "example"
        ],
        "AAAA": [
          "example"
        ],
        "CNAME": "example"
      }
    }
  ],
  "summary": {
    "total_found": 1,
    "returned": 1,
    "verified_count": 1,
    "unverified_count": 1,
    "verification_unknown_count": 1,
    "sources_used": [
      "ct"
    ],
    "apex_included": false,
    "wildcard_suppressed_count": 1,
    "wildcard_returned_count": 1
  },
  "intelligence_summary": {
    "data_sources": [
      "ct"
    ],
    "source_count": 1,
    "cache_status": "live",
    "returned_count": 1,
    "total_found": 1,
    "truncated": false,
    "limit": 1,
    "verification_requested": false,
    "include_wildcards": false,
    "verified_count": 1,
    "verified_ratio": 0.5,
    "live_dns_record_count": 1,
    "apex_included": false,
    "wildcard_suppressed_count": 1,
    "wildcard_returned_count": 1,
    "first_seen_oldest": "example",
    "first_seen_newest": "example",
    "warning_count": 1
  },
  "meta": {
    "query_time_ms": 1,
    "cached": false,
    "stale": false
  },
  "has_more": false,
  "next_cursor": "example",
  "cache_age_s": 1,
  "wildcards": [
    {
      "pattern": "*.example.com",
      "source": "ct",
      "first_seen": "example"
    }
  ],
  "warnings": [
    "example"
  ]
}

رموز حالة HTTP

  • 200 OK
  • 202 مقبول
  • 400 طلب غير صالح
  • 401 غير مصرح
  • 402 الدفع مطلوب
  • 429 طلبات كثيرة جداً
  • 503 الخدمة غير متاحة
  • 504 انتهت مهلة البوابة

الأسئلة الشائعة

أين أجد مرجع طلب واستجابة أداة البحث عن النطاقات الفرعية؟

استخدم مرجع API الخاص بـ أداة البحث عن النطاقات الفرعية لمراجعة المعاملات وحقول الاستجابة والأمثلة ورموز الحالة وأنماط التشغيل المدعومة.

كيف أفسر النتائج غير المعروفة أو غير المكتملة من أداة البحث عن النطاقات الفرعية؟

غير معروف أو جزئي يعني أننا لم نتمكن من تأكيد النتيجة بالكامل. ضع الحالة ومستوى الثقة وحداثة البيانات وأي حدود في اعتبارك عند التصرف بناءً عليها.

كيف يتم احتساب سعر أداة البحث عن النطاقات الفرعية؟

يعتمد السعر على الفحص والوضع الذي تختاره. يعرض مرجع API تكلفة الأرصدة الحالية، وما إذا كنت تحتاج إلى مفتاح API، وأي تسعير لكل عنصر.

يستخدمه أشخاص في هذه الشركات

InstantOutseerMongoDBRespondentSage Expense ManagementInstantlyD.R. HortonWhatConvertsAdobeLLM Pulse