Domain Checker API

Semakan DNS, SSL, HTTP, meta & WHOIS serta pengesanan niche/kategori.

Kes penggunaan terbaik
Pra-saring lead/domain

Sahkan DNS/SSL dan isyarat kandungan asas serta-merta sebelum jangkauan.

Kualiti trafik & pematuhan

Kesan domain tamat tempoh, kandungan nipis atau niche sensitif awal.

Hook automasi

Skor dan halakan domain baharu mengikut kategori niche dan skor aktiviti.

Cuba Langsung
99.9 % Masa Aktif
Respons
10 req/s
0.009 Kredit / permintaan

Semak domain (DNS/SSL/HTTP/WHOIS)


POST https://api.yeb.to/v1/domain/check
ParameterJenisWajibPenerangan
api_key string ya Your API key
domain string ya Domain only, e.g. popnable.com
checks array pilihan Subset of ["dns","ssl","http","meta","length","whois"]
verbosity enum pilihan "result" | "compact" | "full" (default: "result")
timeout float pilihan HTTP timeout in seconds (optional)

Contoh

curl -X POST https://api.yeb.to/v1/domain/check \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "domain":  "popnable.com",
  "checks":  ["dns","ssl","http","meta","length","whois"],
  "verbosity": "result"
}'

Contoh Respons

{
  "data": {
    "domain": "popnable.com",
    "timestamp_utc": "2025-09-22T15:50:31Z",
    "result": {
      "ssl":    { "valid": true, "days_left": 79, "valid_to": "2025-11-25T14:12:03Z" },
      "whois":  {
        "valid_domain": true,
        "expires_in_days": 301,
        "created": "2015-07-04T18:42:16Z",
        "updated": "2025-05-01T10:38:32Z",
        "registrar": "NameSilo, LLC",
        "name_servers_cnt": 2,
        "name_servers": ["ns1.example.net","ns2.example.net"]
      },
      "dns":   { "has_host_records": true, "ns_count": 2, "mx_count": 2 },
      "http":  { "status": 200, "final_url": "https://popnable.com/" },
      "content": { "thin_content": false, "has_content": true }
    },
    "evaluation": { "active": true, "score": 95 }
  }
}
{"error":"Missing \"domain\"","code":422}

Kod Respons

KodPenerangan
200 SuccessPermintaan diproses OK.
400 Bad RequestPengesahan input gagal.
401 UnauthorizedKunci API hilang / salah.
403 ForbiddenKunci tidak aktif atau tidak dibenarkan.
429 Rate LimitTerlalu banyak permintaan.
500 Server ErrorKegagalan tidak dijangka.

domain/check

domain/check 0.0090 credits

Parameters

API Key
query · string · required
Domain
query · string · required
Checks
query · array
Verbosity
query · string
Timeout (s)
query · number

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Kesan niche (tajuk/penerangan/kata kunci + domain)


POST https://api.yeb.to/v1/domain/detect-niche
ParameterJenisWajibPenerangan
api_key string ya Your API key
domain string ya Domain only, e.g. popnable.com
html string pilihan Optional pre-fetched HTML for analysis

Contoh

curl -X POST https://api.yeb.to/v1/domain/detect-niche \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY",
  "domain":  "popnable.com"
}'

Contoh Respons

{
  "data": {
    "niche": "Music",
    "relevance": 97,
    "subniches": []
  }
}
{"error":"Missing \"domain\"","code":422}

Kod Respons

KodPenerangan
200 SuccessPermintaan diproses OK.
400 Bad RequestPengesahan input gagal.
401 UnauthorizedKunci API hilang / salah.
403 ForbiddenKunci tidak aktif atau tidak dibenarkan.
429 Rate LimitTerlalu banyak permintaan.
500 Server ErrorKegagalan tidak dijangka.

domain/detect-niche

domain/detect-niche 0.0050 credits

Parameters

API Key
query · string · required
Domain
query · string · required
HTML
query · string

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Senarai kategori taksonomi (UMUM/SENSITIF)


POST https://api.yeb.to/v1/domain/detect-category
ParameterJenisWajibPenerangan
api_key string ya Your API key

Contoh

curl -X POST https://api.yeb.to/v1/domain/detect-category \
  -H "Content-Type: application/json" \
  -d '{
  "api_key": "YOUR_KEY"
}'

Contoh Respons

{
  "data": {
    "GENERAL": ["News","Sports","Music","Movies","TV","Celebrities","Humor","Technology","Science","Education","Business","Finance","Careers","E-commerce","Travel","Food","Recipes","Restaurants","Real Estate","Automotive","Health","Wellness","Fitness","Lifestyle","Home & Garden","Parenting","Pets","Fashion","Beauty","Gaming","Apps","Software","Hardware","Gadgets","DevTools","Photography","Design","Art","Culture","Events","Communities","Blogs","Forum","Portfolio","Personal"],
    "SENSITIVE": ["Adult","Casino","Sports Betting","Poker","Lottery","Forex & High-risk Trading","Payday Loans","Debt Relief","Crypto","Tobacco & Vaping","Alcohol","Cannabis & CBD","Unlicensed Pharmacy","Firearms & Weapons","Hacking & Cracking","Pirated Content","Spyware / Malvertising","Misleading Health Claims","Political Advocacy / Persuasion","Extremism"]
  }
}
{"error":"Unauthorized","code":401}

Kod Respons

KodPenerangan
200 SuccessPermintaan diproses OK.
400 Bad RequestPengesahan input gagal.
401 UnauthorizedKunci API hilang / salah.
403 ForbiddenKunci tidak aktif atau tidak dibenarkan.
429 Rate LimitTerlalu banyak permintaan.
500 Server ErrorKegagalan tidak dijangka.

domain/detect-category

domain/detect-category 0.0001 credits

Parameters

API Key
query · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

Domain Checker API — Practical Guide

A hands-on guide to assessing domains quickly: DNS/SSL/HTTP basics, meta/content signals, WHOIS/RDAP, and niche classification you can act on (SEO, risk controls, lead qualification).

#What Domain-Checker solves

A fast way to evaluate if a domain is live, secure, contentful, and legitimate — plus which niche it belongs to. Use it for onboarding checks, partner vetting, SEO audits, ad quality gates, and automated lead scoring.

#Endpoints & when to use them

#POST /v1/domain/check — All-in-one technical check

  • Best for: Quick health snapshot (DNS/SSL/HTTP/Meta/Content/WHOIS) with a single call.
  • Output: Actionable result plus an evaluation score indicating if the site looks “active”.
  • Use cases: Lead qualification, site monitoring, preflight checks before indexing/crawling.

#POST /v1/domain/detect-niche — Practical niche detection

  • Best for: Categorizing a site into a single niche (with subniches) for targeting or policy.
  • How it works: Uses only page title/description/keywords and domain name (either send HTML, or we fetch a small snippet).
  • Output: niche, relevance (0–100), subniches[], and is_sensitive.

#GET/POST /v1/domain/detect-category — Category taxonomy

  • Best for: Getting the authoritative list of allowed categories (GENERAL + SENSITIVE) to validate UI or pipelines.
  • Output: Flat lists you can present in forms or use to validate classification outputs.

#Quick start

curl -X POST "https://api.yeb.to/v1/domain/check" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: <YOUR_API_KEY>" \
  -d '{
    "domain": "example.com",
    "checks": ["dns","ssl","http","meta","length","whois"],
    "options": { "verbosity": "result", "timeout": 8 }
  }'
curl -X POST "https://api.yeb.to/v1/domain/detect-niche" \
  -H "Accept: application/json" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: <YOUR_API_KEY>" \
  -d '{ "domain": "popnable.com" }'

#Parameters that actually matter

#/v1/domain/check

ParamTypeRequiredPractical guidance
domain string Yes Just the hostname (no scheme). Example: example.com.
checks array No Subset of ["dns","ssl","http","meta","length","whois"]. Omit for all.
options.timeout number No Seconds. Keep 5–10s to balance speed vs resiliency.
options.verbosity string No "result" (minimal, default), "compact" (light telemetry), "full" (all internals for audits).

#/v1/domain/detect-niche

ParamTypeRequiredPractical guidance
domain string Yes Used for fetching a small snippet when html is not provided.
html string No Pre-fetched HTML (speeds up batch jobs, avoids network noise). We only use title/description/keywords.

#/v1/domain/detect-category

ParamTypeRequiredPractical guidance
Auth only. Returns the current taxonomy (GENERAL + SENSITIVE).

#Reading & acting on responses

#/v1/domain/check

{
  "domain": "example.com",
  "timestamp_utc": "2025-10-20T15:11:10Z",
  "result": {
    "ssl":    { "valid": true, "days_left": 72, "valid_to": "2026-01-01T00:00:00Z" },
    "whois":  { "valid_domain": true, "expires_in_days": 180, "created": "2010-05-04", "updated": "2024-11-01",
                "registrar": "Example Registrar", "name_servers_cnt": 2, "name_servers": ["ns1.example.net","ns2.example.net"] },
    "dns":    { "has_host_records": true, "ns_count": 2, "mx_count": 1 },
    "http":   { "status": 200, "final_url": "https://example.com/" },
    "content":{ "thin_content": false, "has_content": true }
  },
  "evaluation": { "active": true, "score": 75 }
}
  • First glance: evaluation.active and evaluation.score (0–100) — your quick “is this site healthy?” signal.
  • Decisioning tips:
    • Score ≥ 40 → treat as active (crawl, consider for partnerships/ads).
    • No HTTP or expired WHOIS → flag for manual review or block in paid campaigns.
    • content.thin_content = true → avoid indexing or reduce crawl frequency.

#/v1/domain/detect-niche

{
  "data": {
    "niche": "Music",
    "relevance": 97,
    "is_sensitive": false,
    "subniches": [
      {"name":"Celebrities","relevance":84}
    ]
  }
}
  • niche — always one of the allowed categories. Use for routing, targeting, or policy.
  • is_sensitive — direct compliance helper (ads, affiliate rules, search inclusion).
  • relevance — confidence-like score; consider thresholds (e.g., ≥70 accept, else manual check).

#/v1/domain/detect-category

{
  "data": {
    "GENERAL": ["News","Sports","Music","Movies", "..."],
    "SENSITIVE": ["Adult","Casino","Sports Betting","Poker","Lottery", "..."]
  }
}

#Practical recipes

  • Lead scoring: If evaluation.active and whois.valid_domain and not content.thin_content → mark as “qualified”.
  • Ad safety: If detect-niche.is_sensitive → disallow or route to stricter review queue.
  • SEO triage: If http.status ≥ 400 or dns.has_host_records=false → drop from crawl list.

#API Changelog

2025-10-20
Added niche detection with clear is_sensitive flag and relevance scoring; improved WHOIS→RDAP fallback and compact/full verbosity modes.
2025-10-15
Heuristic evaluation.score now factors content thinness and HTTP outcomes more strongly for better lead triage.
2025-10-05
Initial release of /domain/check with DNS/SSL/HTTP/Meta/Length/WHOIS coverage and public result schema.

Soalan Lazim

Ya. Setiap permintaan, termasuk yang menghasilkan ralat, menggunakan kredit. Kredit anda terikat kepada bilangan permintaan, tanpa mengira kejayaan atau kegagalan. Jika ralat jelas disebabkan oleh masalah platform di pihak kami, kami akan memulihkan kredit yang terjejas (tiada bayaran balik tunai).

Hubungi kami di [email protected]. Kami mengambil maklum balas dengan serius—jika laporan pepijat atau permintaan ciri anda bermakna, kami boleh memperbaiki atau menambah baik API dengan cepat dan memberikan anda 50 kredit percuma sebagai penghargaan.

Ia bergantung pada API dan kadangkala pada endpoint. Sesetengah endpoint menggunakan data dari sumber luaran, yang mungkin mempunyai had yang lebih ketat. Kami juga menguatkuasakan had untuk mencegah penyalahgunaan dan mengekalkan kestabilan platform kami. Semak dokumentasi untuk had khusus setiap endpoint.

Kami beroperasi dengan sistem kredit. Kredit ialah unit prabayar yang tidak boleh dikembalikan yang anda belanjakan untuk panggilan API dan alatan. Kredit digunakan secara FIFO (yang paling lama dahulu) dan sah selama 12 bulan dari tarikh pembelian. Papan pemuka menunjukkan setiap tarikh pembelian dan tamat tempohnya.

Ya. Semua kredit yang dibeli (termasuk baki pecahan) sah selama 12 bulan dari pembelian. Kredit yang tidak digunakan tamat tempoh secara automatik dan dipadam secara kekal pada akhir tempoh sah. Kredit yang tamat tempoh tidak boleh dipulihkan atau ditukar kepada tunai atau nilai lain. Peraturan peralihan: kredit yang dibeli sebelum 22 Sep 2025 dianggap dibeli pada 22 Sep 2025 dan tamat tempoh pada 22 Sep 2026 (melainkan tamat tempoh lebih awal dinyatakan semasa pembelian).

Ya—dalam tempoh sah mereka. Kredit yang tidak digunakan kekal tersedia dan dibawa dari bulan ke bulan sehingga tamat tempoh 12 bulan selepas pembelian.

Kredit adalah tidak boleh dikembalikan. Beli hanya apa yang anda perlukan—anda sentiasa boleh menambah nilai kemudian. Jika ralat platform menyebabkan caj gagal, kami mungkin memulihkan kredit yang terjejas selepas siasatan. Tiada bayaran balik tunai.

Harga ditetapkan dalam kredit, bukan dolar. Setiap endpoint mempunyai kosnya sendiri—lihat lencana "Kredit / permintaan" di atas. Anda akan sentiasa tahu dengan tepat berapa yang anda belanjakan.
← Kembali ke API