API pro kontrolu domén

Kontroly DNS, SSL, HTTP, meta a WHOIS plus detekce niky/kategorie.

Nejlepší případy použití
Předběžný screening potenciálních klientů/domén

Okamžitě ověřte DNS/SSL a základní obsahové signály před oslovením.

Kvalita provozu a shoda

Včas odhalte expirované domény, tenký obsah nebo citlivé niky.

Automatizační hooky

Hodnoťte a směrujte nové domény podle kategorie niky a skóre aktivity.

Vyzkoušet živě
99.9 % Dostupnost
Odpověď
10 req/s
0.009 Kredity / požadavek

Kontrola domény (DNS/SSL/HTTP/WHOIS)


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

Příklad

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"
}'

Příklad odpovědi

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

Kódy odpovědí

KódPopis
200 SuccessPožadavek zpracován OK.
400 Bad RequestValidace vstupu selhala.
401 UnauthorizedChybějící / nesprávný API klíč.
403 ForbiddenKlíč neaktivní nebo nepovolený.
429 Rate LimitPříliš mnoho požadavků.
500 Server ErrorNeočekávaná chyba.

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

                

Detekce niky (titulek/popis/klíčová slova + doména)


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

Příklad

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

Příklad odpovědi

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

Kódy odpovědí

KódPopis
200 SuccessPožadavek zpracován OK.
400 Bad RequestValidace vstupu selhala.
401 UnauthorizedChybějící / nesprávný API klíč.
403 ForbiddenKlíč neaktivní nebo nepovolený.
429 Rate LimitPříliš mnoho požadavků.
500 Server ErrorNeočekávaná chyba.

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

                

Seznam kategorií taxonomie (OBECNÉ/CITLIVÉ)


POST https://api.yeb.to/v1/domain/detect-category
ParametrTypPovinnýPopis
api_key string ano Your API key

Příklad

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

Příklad odpovědi

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

Kódy odpovědí

KódPopis
200 SuccessPožadavek zpracován OK.
400 Bad RequestValidace vstupu selhala.
401 UnauthorizedChybějící / nesprávný API klíč.
403 ForbiddenKlíč neaktivní nebo nepovolený.
429 Rate LimitPříliš mnoho požadavků.
500 Server ErrorNeočekávaná chyba.

domain/detect-category

domain/detect-category 0.0001 credits

Parameters

API Key
query · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

API pro kontrolu domén — 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.

Často kladené otázky

Ano. Každý požadavek, i ten s chybou, spotřebovává kredity. Vaše kredity jsou vázány na počet požadavků, bez ohledu na úspěch nebo neúspěch. Pokud je chyba jasně způsobena problémem platformy na naší straně, obnovíme dotčené kredity (bez peněžních refundací).

Kontaktujte nás na [email protected]. Zpětnou vazbu bereme vážně—pokud je váš report chyby nebo žádost o funkci smysluplná, můžeme API rychle opravit nebo vylepšit a poskytnout vám 50 bezplatných kreditů jako poděkování.

Závisí na API a někdy i na endpointu. Některé endpointy používají data z externích zdrojů, které mohou mít přísnější limity. Limity také vynucujeme, abychom zabránili zneužití a udrželi stabilitu platformy. Konkrétní limit pro každý endpoint naleznete v dokumentaci.

Fungujeme na kreditovém systému. Kredity jsou předplacené, nevratné jednotky, které utrácíte za API volání a nástroje. Kredity se spotřebovávají FIFO (nejstarší první) a jsou platné 12 měsíců od data nákupu. Dashboard zobrazuje datum každého nákupu a jeho expirace.

Ano. Všechny zakoupené kredity (včetně zlomkových zůstatků) jsou platné 12 měsíců od nákupu. Nevyužité kredity automaticky expirují a jsou trvale smazány na konci období platnosti. Expirované kredity nelze obnovit ani převést na hotovost nebo jinou hodnotu. Přechodné pravidlo: kredity zakoupené před 22. 9. 2025 se považují za zakoupené 22. 9. 2025 a expirují 22. 9. 2026 (pokud nebyla při nákupu uvedena dřívější expirace).

Ano—v rámci období platnosti. Nevyužité kredity zůstávají dostupné a převádějí se z měsíce na měsíc, dokud neexpirují 12 měsíců po nákupu.

Kredity jsou nevratné. Kupujte pouze to, co potřebujete—vždy si můžete dobit později. Pokud chyba na straně platformy způsobí neúspěšné stržení, můžeme po prošetření obnovit dotčené kredity. Žádné peněžní refundace.

Ceny jsou stanoveny v kreditech, ne v dolarech. Každý endpoint má svou vlastní cenu—viz odznak „Kredity / požadavek" výše. Vždy přesně víte, kolik utrácíte.
← Zpět na API