واجهة برمجة تطبيقات فحص النطاق

فحوصات DNS وSSL وHTTP والبيانات الوصفية وWHOIS بالإضافة إلى اكتشاف المجال/الفئة.

أفضل حالات الاستخدام
فحص مسبق للعملاء المحتملين/النطاقات

التحقق الفوري من DNS/SSL وإشارات المحتوى الأساسية قبل التواصل.

جودة حركة المرور والامتثال

اكتشاف النطاقات المنتهية أو المحتوى الضعيف أو المجالات الحساسة مبكراً.

خطافات الأتمتة

تقييم وتوجيه النطاقات الجديدة حسب فئة المجال ودرجة النشاط.

جرب مباشرة
99.9 % وقت التشغيل
الاستجابة
10 req/s
0.009 الأرصدة / الطلب

فحص النطاق (DNS/SSL/HTTP/WHOIS)


POST https://api.yeb.to/v1/domain/check
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
domain string نعم Domain only, e.g. popnable.com
checks array اختياري Subset of ["dns","ssl","http","meta","length","whois"]
verbosity enum اختياري "result" | "compact" | "full" (default: "result")
timeout float اختياري HTTP timeout in seconds (optional)

مثال

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

مثال الاستجابة

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

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

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

                

اكتشاف المجال (العنوان/الوصف/الكلمات المفتاحية + النطاق)


POST https://api.yeb.to/v1/domain/detect-niche
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key
domain string نعم Domain only, e.g. popnable.com
html string اختياري Optional pre-fetched HTML for analysis

مثال

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

مثال الاستجابة

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

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

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

                

عرض فئات التصنيف (عام/حساس)


POST https://api.yeb.to/v1/domain/detect-category
المعاملالنوعمطلوبالوصف
api_key string نعم Your API key

مثال

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

مثال الاستجابة

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

رموز الاستجابة

الرمزالوصف
200 Successتمت معالجة الطلب بنجاح.
400 Bad Requestفشل التحقق من المدخلات.
401 Unauthorizedمفتاح API مفقود أو خاطئ.
403 Forbiddenالمفتاح غير نشط أو غير مسموح.
429 Rate Limitطلبات كثيرة جدًا.
500 Server Errorفشل غير متوقع.

domain/detect-category

domain/detect-category 0.0001 credits

Parameters

API Key
query · string · required

Code Samples


                
                
                
            

Response

Status:
Headers

                
Body

                

واجهة برمجة تطبيقات فحص النطاق — 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.

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

نعم. كل طلب، حتى تلك التي تؤدي إلى أخطاء، تستهلك أرصدة. هذا لأن أرصدتك مرتبطة بعدد الطلبات، بغض النظر عن النجاح أو الفشل. إذا كان الخطأ بسبب مشكلة في المنصة من جانبنا، سنستعيد الأرصدة المتأثرة (بدون استرداد نقدي).

تواصل معنا على [email protected]. نأخذ الملاحظات بجدية—إذا كان تقرير الخطأ أو طلب الميزة ذا معنى، يمكننا إصلاح أو تحسين الواجهة بسرعة ومنحك 50 رصيدًا مجانيًا كشكر لك.

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

نعمل بنظام الأرصدة. الأرصدة هي وحدات مسبقة الدفع وغير قابلة للاسترداد تنفقها على استدعاءات API والأدوات. تُستهلك الأرصدة بنظام FIFO (الأقدم أولاً) وصالحة لمدة 12 شهرًا من تاريخ الشراء. تعرض لوحة التحكم تاريخ كل عملية شراء وانتهاء صلاحيتها.

نعم. جميع الأرصدة المشتراة (بما في ذلك الأرصدة الجزئية) صالحة لمدة 12 شهرًا من الشراء. تنتهي صلاحية الأرصدة غير المستخدمة تلقائيًا وتُحذف نهائيًا في نهاية فترة الصلاحية. لا يمكن استعادة الأرصدة المنتهية أو تحويلها إلى نقد أو قيمة أخرى. قاعدة انتقالية: الأرصدة المشتراة قبل 22 سبتمبر 2025 تُعامل كمشتراة في 22 سبتمبر 2025 وتنتهي في 22 سبتمبر 2026 (ما لم يُذكر تاريخ انتهاء أبكر عند الشراء).

نعم—ضمن فترة الصلاحية. تبقى الأرصدة غير المستخدمة متاحة وتُترحل من شهر لآخر حتى تنتهي صلاحيتها بعد 12 شهرًا من الشراء.

الأرصدة غير قابلة للاسترداد. اشترِ فقط ما تحتاجه—يمكنك دائمًا إعادة الشحن لاحقًا. إذا تسبب خطأ في المنصة في فشل الشحن، قد نستعيد الأرصدة المتأثرة بعد التحقيق. لا استرداد نقدي.

الأسعار محددة بالأرصدة وليس بالدولارات. كل نقطة نهاية لها تكلفتها الخاصة—انظر شارة "الأرصدة / الطلب" أعلاه. ستعرف دائمًا بالضبط ما تنفقه.
← العودة إلى واجهات البرمجة