تخطَّ إلى المحتوى
Gurdx

التوثيق / مرجع الواجهة

فحص النطاق

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

نظرة عامة#

يستقبل lookup/domain المعامل domain مثل example.com ويُرجع name وهل النطاق مصنَّف خطِرًا (is_dangerous) وتاريخ إنشائه (created_at) وهل هو حديث (is_new) ووجود سجلات DNS التي تجعل البريد موثوقًا: is_mx وis_spf وis_dkim وis_dmarc وis_bimi.

كتلة النطاق نفسها مضمَّنة في استجابة تقييم البريد الإلكتروني؛ استخدم هذه الدالة حين تريد تقييم موقع أو نطاق بمفرده.

متى تستخدمه#

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

قراءة النتيجة#

  • is_new: true تعني أن النطاق سُجّل حديثًا. حملات الاحتيال تعتمد على نطاقات مؤقتة، فالتسجيل الحديث يستحق تدقيقًا إضافيًا.
  • is_dangerous: true أقوى إشارة؛ ارفض أو راجِع يدويًا.
  • is_mx تبيّن هل يستطيع النطاق استقبال البريد أصلًا. وبدونها يقل احتمال أن يكون عنوان على هذا النطاق حقيقيًا.
  • is_spf وis_dkim وis_dmarc تبيّن هل ضبط المالك توثيق المُرسِل. نطاق الأعمال الشرعي يملكها عادة، أما النطاق الحديث أو المسيء فغالبًا لا. وis_bimi تدل على مُرسِل موثَّق العلامة وهي إشارة إيجابية خفيفة.
  • لا يُعد أي مؤشر دليلًا بمفرده؛ انظر إليها مجتمعة مع created_at.

ملاحظات#

  • تُحتسب طلبًا واحدًا. وضع الاختبار يُرجع بيانات وهمية مجانًا ولا يستعلم DNS.
  • مشمولة في كل الباقات بما فيها القياسية.
  • لا تطلق أحداثًا. وتُقيَّم بيانات النطاق في القواعد المخصصة عبر مجموعة البريد فقط، من خلال الحقل domain.name.
  • النطاق المفقود أو غير الصحيح يُرجع الخطأ 128 (invalid_domain) مع HTTP 200.

الطلب#

GET https://gurdx.cretip.com/api/lookup/domain
  • صادِق بمعامل key أو بترويسة Authorization: Bearer.
  • تُحتسب طلباً واحداً.
  • متاحة في: تجربة مجانية القياسية المميّزة الدفع حسب الاستخدام

المعاملات#

الاسمالنوعالوصف
domain
مطلوب استعلام
string The fully qualified domain name (FQDN) to look up. Learn more Sample value: example.com

تقبل كل خدمة أيضاً format, lang, mode, userID, callback. راجع الخيارات.

أمثلة برمجية#

curl -G "https://gurdx.cretip.com/api/lookup/domain" \
  --data-urlencode "key=YOUR_API_KEY" \
  --data-urlencode "domain=example.com"

الاستجابة#

نجاح#

{
    "data": {
        "name": "dangerous-domain.com",
        "is_dangerous": true,
        "is_disposable": false,
        "is_forwarding": false,
        "is_spf": false,
        "is_dmarc": false,
        "is_dkim": false,
        "is_mx": false,
        "is_bimi": false,
        "created_at": "2025-02-05",
        "is_new": true
    },
    "status": "success",
    "executionTime": 0
}

خطأ#

تُسلَّم الأخطاء بحالة HTTP 200 — افحص دائماً حقل status.

{
    "status": "error",
    "code": 101,
    "type": "invalid_key",
    "description": "The API Key is missing or invalid."
}

حقول الاستجابة#

الاسمالنوعالوصف
data.name string The full domain name associated with the email address (for example, gmail.com).
data.is_dangerous boolean|null Indicates whether the domain is flagged as dangerous or suspicious, which may suggest a higher risk of fraud or abuse. If this property is set to true, the domain is considered high-risk or potentially malicious. As a result, the isValid property will also be false, indicating that the email address should not be trusted for critical communications or user registrations. It is strongly recommended to block or flag such email addresses in your application workflow.
data.is_spf boolean|null Indicates whether the domain has a valid SPF (Sender Policy Framework) record, which helps prevent email spoofing.
data.is_dmarc boolean|null Indicates whether the domain has a valid DMARC (Domain-based Message Authentication, Reporting, and Conformance) record, which helps protect against email phishing and spoofing.
data.is_dkim boolean|null Indicates whether the domain has a valid DKIM (DomainKeys Identified Mail) record, which verifies the authenticity of the sender's domain.
data.is_mx boolean|null Indicates whether the domain has valid MX (Mail Exchange) records, confirming that it is capable of receiving emails.
data.is_bimi boolean|null Indicates whether the domain has a valid BIMI (Brand Indicators for Message Identification) record, which allows brand logos to be displayed in supported email clients.
data.created_at string|null The date when the domain was first registered or created, if available.
data.is_new boolean|null Indicates whether the domain is new or recently registered (registered within 1 year), which may affect its reputation and trustworthiness.
data.status string The response status. Expected values: success, or error.
data.executionTime integer Time spent in milliseconds to process the data.
data object —

وجدت خطأ؟ أخبرنا عبر صفحة التواصل. تواصل معنا