DNS i infrastruktura · Produkt DomScan

API Wyszukiwarka poddomeny

Odkryj subdomeny dla domeny za pomocą różnych technik wyliczania.

Co otrzymasz

Odkryj subdomeny dla domeny za pomocą różnych technik wyliczania.

SynchronicznyZbiorczyRESTMCPSDKNarzędzie interaktywne

Wybierz ten produkt, gdy

Dla kogo jest ten produkt

Używaj zestawu do rozwiązywania problemów, kontroli migracji, badań infrastruktury i przeglądów bezpieczeństwa.

Wybierz ten produkt, gdy

Wybierz, aby zebrać obserwowane publiczne dowody subdomen. Brak nazwy nie dowodzi braku subdomeny.

Co otrzymasz

Odkryj subdomeny dla domeny za pomocą różnych technik wyliczania.

Endpointy

Zobacz, co każdy endpoint przyjmuje i zwraca, jakie ma tryby i limity, zanim zaczniesz integrację.

GET /v1/subdomains Otwórz referencję API
POST /v1/subdomains/bulk Otwórz referencję API

Kredyty i uwierzytelnianie

4-5 Wymagane uwierzytelnianie. Dokładny koszt, w tym ewentualne ceny za element, znajdziesz w dokumentacji API.

Przykładowa operacja

Korzystaj z udokumentowanych operacji, aby zbierać, oceniać, wzbogacać, weryfikować, porównywać, chronić lub monitorować publiczne dane.

GET /v1/subdomains Kredyty: 4-5

Parametry zapytania

Parametr Typ wymagane
domain string wymagane
sources string
Dozwolone wartości ct
Domyślnie ct
opcjonalne
verify string
Dozwolone wartości truefalse10yesno
Domyślnie false
opcjonalne
include_wildcards string
Dozwolone wartości truefalse10yesno
Domyślnie false
opcjonalne
limit integer
Domyślnie 500
opcjonalne
prefer_cache string
Dozwolone wartości truefalse10yesno
Domyślnie false
opcjonalne
cursor string opcjonalne

Pola odpowiedzi

Pole Typ
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

Przykładowe żądanie

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))

Przykładowa odpowiedź

{
  "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"
  ]
}

Kody statusu HTTP

  • 200 OK
  • 202 Przyjęto
  • 400 Nieprawidłowe żądanie
  • 401 Nieautoryzowany
  • 402 Wymagana płatność
  • 429 Zbyt wiele żądań
  • 503 Usługa niedostępna
  • 504 Przekroczono limit czasu bramy

Często zadawane pytania

Gdzie znajdę referencję żądań i odpowiedzi dla Wyszukiwarka poddomeny?

W referencji API dla Wyszukiwarka poddomeny znajdziesz parametry, pola odpowiedzi, przykłady, kody stanu i obsługiwane tryby wykonania.

Jak interpretować nieznane lub niepełne wyniki Wyszukiwarka poddomeny?

Wynik nieznany lub częściowy oznacza, że nie udało się go w pełni potwierdzić. Uwzględnij status, pewność, aktualność i wszelkie limity, zanim na jego podstawie zadziałasz.

Jak wyceniany jest Wyszukiwarka poddomeny?

Cena zależy od sprawdzenia i wybranego trybu. Dokumentacja API pokazuje aktualny koszt w kredytach, informację, czy potrzebujesz klucza API, oraz ewentualne ceny za element.

Używany przez ludzi w tych firmach

InstantOutseerMongoDBRespondentSage Expense ManagementInstantlyD.R. HortonWhatConvertsAdobeLLM Pulse