Domain Whois - Get
Get whois information for a single domain name
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SecurityInsights/enrichment/domain/whois/?api-version=2024-01-01-preview&domain={domain}
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group. The name is case insensitive. |
subscription
|
path | True |
string |
The ID of the target subscription. |
api-version
|
query | True |
string |
The API version to use for this operation. |
domain
|
query | True |
string |
Domain name to be enriched |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Error response describing why the operation failed to enrich this domain. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Get whois information for a single domain name
Sample request
Sample response
{
"domain": "microsoft.com",
"server": null,
"created": "2021-09-01T16:15:01.187045Z",
"updated": "2021-09-01T16:15:01.187045Z",
"expires": null,
"parsedWhois": {
"registrar": {
"name": "MarkMonitor, Inc",
"abuseContactPhone": "12083895770",
"abuseContactEmail": "abuse@microsoft.com",
"url": "http://www.markmonitor.com",
"whoisServer": "whois.markmonitor.com"
},
"contacts": {
"admin": {
"name": "Administrator",
"org": "Microsoft",
"street": [
"One Microsoft Way"
],
"city": null,
"state": "WA",
"postal": "98052",
"country": "United States",
"phone": "1-800-555-1234",
"fax": null,
"email": "mail@microsoft.com"
},
"registrant": null,
"billing": {
"name": "Administrator",
"org": "Microsoft",
"street": [
"One Microsoft Way"
],
"city": null,
"state": "WA",
"postal": "98052",
"country": "United States",
"phone": "1-800-555-1234",
"fax": null,
"email": "mail@microsoft.com"
},
"tech": {
"name": "Administrator",
"org": "Microsoft",
"street": [
"One Microsoft Way"
],
"city": null,
"state": "WA",
"postal": "98052",
"country": "United States",
"phone": "1-800-555-1234",
"fax": null,
"email": "mail@microsoft.com"
}
},
"nameServers": [
"ns1-205.azure-dns.com",
"ns2-205.azure-dns.net",
"ns3-205.azure-dns.org",
"ns4-205.azure-dns.info"
],
"statuses": [
"clientUpdateProhibited",
"clientTransferProhibited",
"clientDeleteProhibited",
"serverUpdateProhibited",
"serverTransferProhibited",
"serverDeleteProhibited"
]
}
}
Definitions
Name | Description |
---|---|
Cloud |
Error response structure. |
Cloud |
Error details. |
Enrichment |
Whois information for a given domain and associated metadata |
Enrichment |
An individual contact associated with this domain |
Enrichment |
The set of contacts associated with this domain |
Enrichment |
The whois record for a given domain |
Enrichment |
The registrar associated with this domain |
CloudError
Error response structure.
Name | Type | Description |
---|---|---|
error |
Error data |
CloudErrorBody
Error details.
Name | Type | Description |
---|---|---|
code |
string |
An identifier for the error. Codes are invariant and are intended to be consumed programmatically. |
message |
string |
A message describing the error, intended to be suitable for display in a user interface. |
EnrichmentDomainWhois
Whois information for a given domain and associated metadata
Name | Type | Description |
---|---|---|
created |
string |
The timestamp at which this record was created |
domain |
string |
The domain for this whois record |
expires |
string |
The timestamp at which this record will expire |
parsedWhois |
The whois record for a given domain |
|
server |
string |
The hostname of this registrar's whois server |
updated |
string |
The timestamp at which this record was last updated |
EnrichmentDomainWhoisContact
An individual contact associated with this domain
Name | Type | Description |
---|---|---|
city |
string |
The city for this contact |
country |
string |
The country for this contact |
string |
The email address for this contact |
|
fax |
string |
The fax number for this contact |
name |
string |
The name of this contact |
org |
string |
The organization for this contact |
phone |
string |
The phone number for this contact |
postal |
string |
The postal code for this contact |
state |
string |
The state for this contact |
street |
string[] |
A list describing the street address for this contact |
EnrichmentDomainWhoisContacts
The set of contacts associated with this domain
Name | Type | Description |
---|---|---|
admin |
The admin contact for this whois record |
|
billing |
The billing contact for this whois record |
|
registrant |
The registrant contact for this whois record |
|
tech |
The technical contact for this whois record |
EnrichmentDomainWhoisDetails
The whois record for a given domain
Name | Type | Description |
---|---|---|
contacts |
The set of contacts associated with this domain |
|
nameServers |
string[] |
A list of name servers associated with this domain |
registrar |
The registrar associated with this domain |
|
statuses |
string[] |
The set of status flags for this whois record |
EnrichmentDomainWhoisRegistrarDetails
The registrar associated with this domain
Name | Type | Description |
---|---|---|
abuseContactEmail |
string |
This registrar's abuse contact email |
abuseContactPhone |
string |
This registrar's abuse contact phone number |
ianaId |
string |
This registrar's Internet Assigned Numbers Authority id |
name |
string |
The name of this registrar |
url |
string |
This registrar's URL |
whoisServer |
string |
The hostname of this registrar's whois server |