pricing background

Domain Reputation API Documentation

Domain Reputation API

ASK AI
The WhoisFreaks Domain Reputation API is a real-time domain threat assessment service. Given any domain name, it returns a comprehensive risk verdict, trust score, DGA (Domain Generation Algorithm) analysis, threat intelligence matches, backlink profile, registration status, and actionable security signals, all in a single API call. For a domain that is not currently registered, it scores the domain's WHOIS registration history instead.

Authorization

You can make authorized requests to our API by passing API key as a query parameter. To get your API key, login to our billing dashboard and get your API key! If your API key has been compromised, you can change it by clicking on reset button in billing dashboard.

Important References

  • For details on request limits and handling rate limiting, refer here
  • For a complete overview of API credit consumption and usage, refer here

Query Parameters

Required
  • apiKey
    Retrieve your API key from the billing dashboard.
  • domainName
    The domain name to assess (e.g., `example.com`). Must contain at least one dot, max 253 characters. Automatically lowercased.

Request

shellnodejsjavapythonphprubyjscsharpgocswiftjquery
SHELL
curl -X GET "https://api.whoisfreaks.com/v1/domain/security?domainName=amazon.com&apiKey=API_KEY"

Response

Loading response...

Fields Description

Fields
Details
Data Type
Example
input
Input object containing the analyzed domain
domain
Domain name being analyzed
string
example.com
assessed_at
Timestamp when the assessment was performed
string (YYYY-MM-DDTHH:mm:ssZ)
2026-07-08T08:12:29Z
version
API/response schema version
string
1.0.0
processing_time_ms
Time taken to process the request, in milliseconds
number
742
risk_category
Overall risk assessment for the domain
verdict
Final verdict of the risk assessment
string
confidence
Confidence score for the verdict
number
0.94
primary_threat
Main threat type identified
string
phishing
severity
Severity level of the risk
string
threat_types
List of threat types associated with the domain
array
sources
Threat intelligence sources that flagged the domain
array
source
Name of the threat intelligence source
string
Spamhaus
indicator
Indicator matched by this source
string
example.com
threat_type
Threat type reported by this source
string
phishing
confidence
Confidence score from this source
number
0.97
first_seen
First time this indicator was seen by the source
string (YYYY-MM-DDTHH:mm:ssZ)
2026-07-01T10:22:00Z
last_seen
Last time this indicator was seen by the source
string (YYYY-MM-DDTHH:mm:ssZ)
2026-07-08T05:00:00Z
pivot_matches
Related pivots (NS, email, etc.) linked to known threats
array
pivot
Pivot value (e.g. nameserver or email)
string
ns1.exampledns.com
pivot_type
Type of pivot
string
total_related_threats
Total number of threats related to this pivot
number
34
confidence
Confidence score for the pivot match
number
0.92
dga_score
Domain Generation Algorithm (DGA) detection results
score
DGA likelihood score
number
0.81
is_dga
Indicates whether the domain is likely DGA-generated
boolean
true
model
Model used to compute the DGA score
string
deterministic_features_v1
features
Underlying lexical/statistical features used in DGA detection
domain_length
Length of the domain name
number
17
vowel_consonant_ratio
Ratio of vowels to consonants in the domain
number
0.18
ngram_perplexity
N-gram perplexity score of the domain string
number
3.91
shannon_entropy
Shannon entropy of the domain string
number
4.72
digit_letter_ratio
Ratio of digits to letters in the domain
number
0.23
consonant_streak_max
Maximum consecutive consonant streak in the domain
number
6
tld_in_known_dga_set
Indicates if the TLD belongs to a known DGA set
boolean
false
interpretation
Human-readable interpretation of the DGA score
string
trust_signals
Trust scoring and supporting signals for the domain
trust_score
Overall trust score from 0 to 100. Starts at 50, moves by the weight of each signal, and is clamped to 0 to 100.
number
12
trust_band
Trust score band/category
string
signals
Signals contributing to the trust score
positive
Signals that positively affect trust score
array
code
Signal code identifier
string
weight
Points this signal adds to (positive) or removes from (negative) the trust score. 0 for neutral signals.
number
3
polarity
Polarity of the signal
string
positive
category
Category the signal belongs to
string
evidence
Evidence supporting the signal
string
TLS certificate issued by DigiCert
confidence
Confidence score for the signal
number
1
negative
Signals that negatively affect trust score
array
code
Signal code identifier
string
dmarc_missingSee possible values
weight
Points this signal adds to (positive) or removes from (negative) the trust score. 0 for neutral signals.
number
5
polarity
Polarity of the signal
string
negative
category
Category the signal belongs to
string
evidence
Evidence supporting the signal
string
No DMARC record
confidence
Confidence score for the signal
number
1
neutral
Signals that are neutral to trust score
array
code
Signal code identifier
string
content_unavailableSee possible values
weight
Points this signal adds to (positive) or removes from (negative) the trust score. 0 for neutral signals.
number
0
polarity
Polarity of the signal
string
neutral
category
Category the signal belongs to
string
evidence
Evidence supporting the signal
string
Website did not respond
confidence
Confidence score for the signal
number
1
indicators
Individual trust/risk indicators for the domain
is_newly_registered
Indicates whether the domain was recently registered
boolean
true
uses_free_extension
Indicates whether the domain uses a free TLD extension
boolean
false
uses_free_ssl
Indicates whether the domain uses a free SSL certificate
boolean
true
has_privacy_whois
Indicates whether WHOIS privacy protection is enabled
boolean
true
ssl_age_days
Age of the SSL certificate in days
number
18
has_dmarc
Indicates whether a DMARC record exists
boolean
false
has_spf
Indicates whether an SPF record exists
boolean
true
redirects_externally
Indicates whether the domain redirects to an external site
boolean
true
javascript_obfuscated
Indicates whether obfuscated JavaScript was detected
boolean
true
domain_age_days
Age of the domain in days
number
24
registrar
Domain registrar name
string
Namecheap
email_deliverability
Assessment of the domain's ability to send and receive email reliably
score
Overall email deliverability score out of 100
number
95
grade
Letter/word grade summarizing the deliverability score
string
can_receive_email
Indicates whether the domain is configured to receive email
boolean
true
authentication
Email authentication mechanisms configured for the domain
spf
Sender Policy Framework configuration
present
Indicates whether an SPF record was found
boolean
true
policy
SPF enforcement policy qualifier found in the record
string
record
Raw SPF DNS TXT record string
string
v=spf1 include:_spf.example.com -all
dkim
DomainKeys Identified Mail configuration
found
Indicates whether a DKIM record was found for any probed selector. null when DKIM selectors could not be checked in time; DKIM is then not scored.
boolean or null
true
selectors_found
List of DKIM selectors for which a record was found
array
["google"]
providers_detected
Email service providers inferred from the matched DKIM selectors
array
["Google Workspace / Gmail"]
note
Clarifying note about the limitations of DKIM selector probing
string
Only common selectors are probed; a domain may use a custom selector
dmarc
Domain-based Message Authentication, Reporting and Conformance configuration
present
Indicates whether a DMARC record was found
boolean
true
policy
DMARC enforcement policy applied to failing messages
string
reject
reporting_configured
Indicates whether DMARC aggregate/forensic reporting addresses are configured
boolean
true
infrastructure
Mail server infrastructure backing the domain
mx_count
Number of MX records found for the domain
number
2
mx_records
List of mail exchange server hostnames for the domain
array
["aspmx.l.google.com", "alt1.aspmx.l.google.com"]
mx_provider
Email hosting provider inferred from the MX records
string
google_workspace
null_mx
Indicates whether the domain explicitly declines email via a null MX record
boolean
false
reputation
Reputation and trust signals related to the domain's email sending history
spam_blacklisted
Indicates whether the domain appears on known spam blacklists
boolean
false
newly_registered
Indicates whether the domain was registered recently
boolean
false
domain_age_days
Age of the domain in days since registration
number
10500
issues
List of detected email deliverability issues or misconfigurations
array
code
Machine-readable code identifying the specific deliverability issue
string
See details
severity
Severity level assigned to the detected issue
string
registration
Live registration status of the domain. For a domain that is not currently registered (dropped or never registered), its WHOIS registration history is included. Always present.
object
status
Live registration status from WHOIS
string
past_registrations
Number of times the domain was previously registered. 0 means it was never registered. Only present when status is not_registered and the history could be read.
number
3
first_registered
Creation date of the earliest known registration. Omitted for registered domains and when the WHOIS history could not be retrieved.
string (YYYY-MM-DD)
2011-04-02
last_registration_ended
Date the most recent registration ended. Omitted for registered domains and when the WHOIS history could not be retrieved.
string (YYYY-MM-DD)
2025-09-14
longest_registration_days
Length of the longest past registration, in days. Omitted for registered domains and when the WHOIS history could not be retrieved.
number
3653
backlinks
Backlink profile of the domain from the WhoisFreaks backlinks database. Omitted when backlink data is unavailable.
object
found
Whether the domain exists in the backlinks database
boolean
true
matched_domain
Domain whose backlink data was used: the input domain with a leading www. removed. Other subdomains are looked up as given.
string
example.com
backlink_count
Total backlinks pointing to the domain. null when found is false.
number
1250000
referring_domains
Number of distinct domains linking to it. null when found is false.
number
18400
referrer_link_density
Average backlinks per referring domain. null when found is false.
number
67.93
intelligence
Threat intelligence details for the indicator of compromise (IOC)
ioc_type
Type of the indicator of compromise
string
ioc_value
Value of the indicator of compromise
string
example.com
related_iocs
Other IOCs related to this domain
array
type
Type of the related IOC
string
ipv4
value
Value of the related IOC
string
93.184.216.34
confidence
Confidence score for the related IOC
number
0.91
feed_tags
Tags associated with this IOC from threat feeds
array
["verdict:suspicious", "severity:high", "campaign:phishing"]
stix_pattern
STIX pattern representation of the IOC
string
[domain-name:value='example.com']
recommended_action
Recommended action based on the assessment
string
block
first_seen
First time this IOC was observed
string (YYYY-MM-DDTHH:mm:ssZ)
2026-07-01T10:22:00Z
last_seen
Last time this IOC was observed
string (YYYY-MM-DDTHH:mm:ssZ)
2026-07-08T05:00:00Z
evidence_summary
Summary of reasons behind the risk assessment
why_flagged
List of reasons why the domain was flagged
array
["Detected in multiple phishing feeds", "Newly registered domain"]
errors
Lookups that failed or timed out. The response is still 200: a failed lookup (threat, DNS, WHOIS, WHOIS history, SSL, content or backlinks) only contributes no signals to the score. Empty when every lookup succeeded.
array of strings
WHOIS lookup failed, Backlinks lookup failed
Unregistered domains. When registration.status is not_registered, the domain has no DNS, certificate or website to inspect. Those checks are skipped rather than counted as missing. The trust score is then based on the domain's WHOIS registration history, backlinks and threat intelligence. In this case:
  • the SPF / DMARC / SSL / content signals do not appear in trust_signals;
  • trust_signals.indicators.has_spf and has_dmarc are null;
  • a safe or low_risk verdict is reported as unknown, because anyone can register the domain at any time.

Trust Signal Codes

Every signal in trust_signals.signals.positive, negative and neutral has one of these codes. The trust score starts at 50; each positive signal adds its weight and each negative signal removes it, and the result is clamped to 0 to 100. Neutral signals (weight 0) explain a skipped or inconclusive check.

Code
Polarity
Weight
Category
Description
spf_configured
positive
5
email_security
SPF record found
spf_strict
positive
3
email_security
SPF policy is -all
spf_missing
negative
5
email_security
No SPF record
dmarc_present
positive
5
email_security
DMARC record present
dmarc_enforced
positive
5
email_security
DMARC policy is reject
dmarc_missing
negative
5
email_security
No DMARC record
dns_unavailable
neutral
0
email_security
DNS lookup failed; SPF and DMARC signals skipped
established_domain
positive
10
domain_age
Domain older than 2 years
mature_domain
positive
5
domain_age
Domain older than 5 years (in addition to established_domain)
newly_registered
negative
15
domain_age
Registered less than 30 days ago
whois_unavailable
neutral
0
domain_age
WHOIS lookup failed; age and privacy signals skipped
valid_ssl
positive
3
ssl_certificate
Valid SSL certificate
paid_ssl
positive
5
ssl_certificate
Paid SSL certificate
free_ssl
negative
1
ssl_certificate
Free SSL certificate
expired_ssl
negative
15
ssl_certificate
SSL certificate expired
no_ssl
negative
10
ssl_certificate
No SSL certificate
ssl_unavailable
neutral
0
ssl_certificate
SSL lookup failed; certificate signals skipped
privacy_whois
negative
1
whois_privacy
WHOIS is privacy-protected
external_redirect
negative
10
content_analysis
Site redirects to an external domain
obfuscated_javascript
negative
10
content_analysis
Obfuscated JavaScript on the landing page
content_unavailable
neutral
0
content_analysis
Website could not be fetched; content signals skipped
seed_threat_match
negative
30
threat_intel
Direct match in threat intelligence feeds
pivot_association
negative
15
threat_intel
Shares infrastructure (NS, email, etc.) with known threats
high_dga_score
negative
10
threat_intel
Domain looks algorithmically generated
strong_backlink_profile
positive
10
backlinks
10,000 or more referring domains
established_backlink_profile
positive
7
backlinks
100 to 9,999 referring domains
moderate_backlink_profile
positive
3
backlinks
10 to 99 referring domains
weak_backlink_profile
neutral
0
backlinks
Fewer than 10 referring domains
no_backlinks
neutral
0
backlinks
Not in the backlinks database (absence is not treated as risk)
backlink_concentration_anomaly
negative
10
backlinks
More than 500 backlinks per referring domain from fewer than 10 domains (link-farm pattern)
backlinks_unavailable
neutral
0
backlinks
Backlink data could not be retrieved
unregistered_domain_with_backlinks
negative or neutral
5 or 0
backlinks
Unregistered domain still carrying backlinks, attractive for re-registration abuse; negative (5) at 100 or more referring domains, otherwise neutral (0)
domain_not_registered
neutral
0
registration_history
Domain is not registered; DNS, SSL and content signals do not apply
never_registered
neutral
0
registration_history
No WHOIS history: the domain was never registered
long_previous_lifetime
positive
10
registration_history
A past registration lasted 5 years or more
previous_lifetime
positive
5
registration_history
A past registration lasted 2 to 5 years
short_lived_registrations
negative
10
registration_history
No past registration lasted more than 400 days
repeated_registrations
negative
5
registration_history
Registered and dropped 3 or more times
whois_history_unavailable
neutral
0
registration_history
WHOIS history could not be retrieved

Email Deliverability Issue Codes

Possible values of email_deliverability.issues[].code, with the severity each issue is reported at.

Code
Severity
Description
spf_missing
high
No SPF record was found for the domain
spf_policy_weak
medium
SPF record uses a weak qualifier (+all or ?all)
spf_softfail
low
SPF record uses a soft fail (~all) policy
dmarc_missing
high
No DMARC record was found for the domain
dmarc_policy_none
medium
DMARC policy is none (monitoring only)
dmarc_no_reporting
low
DMARC record has no reporting address (rua tag)
dkim_not_found
low
No DKIM record was found for any of the probed selectors
dkim_unchecked
info
DKIM selectors could not be checked in time, so DKIM is not scored
no_mx_records
high
No MX records were found for the domain
null_mx
info
Domain explicitly declines email via a null MX record
spam_blacklisted
critical
Domain appears on one or more known spam blacklists
newly_registered_domain
medium
Domain was registered recently
dns_unavailable
info
DNS lookup for the domain could not be completed