POST
network
whois_parse
1 creditParse raw WHOIS output into structured JSON fields
Endpoint
POST /api/v1/tools/network/whois_parse
Body Parameters
text
string
required
Example
input
Request
{
"text": "Domain Name: EXAMPLE.COM\nRegistrar: Example Registrar, Inc.\nCreation Date: 1995-08-14T04:00:00Z\nRegistry Expiry Date: 2025-08-13T04:00:00Z\nUpdated Date: 2024-08-14T07:01:44Z\nName Server: ns1.example.com\nName Server: ns2.example.com\nDomain Status: clientTransferProhibited\nRegistrant Name: REDACTED FOR PRIVACY"
}
output
Response
{
"domain": "EXAMPLE.COM",
"status": [
"clientTransferProhibited"
],
"registrar": "Example Registrar, Inc.",
"registrant": "REDACTED FOR PRIVACY",
"expiry_date": "2025-08-13T04:00:00Z",
"nameservers": [
"ns1.example.com",
"ns2.example.com"
],
"updated_date": "2024-08-14T07:01:44Z",
"creation_date": "1995-08-14T04:00:00Z"
}
Response Format
HTTP/1.1 200 OK
SUCCESS
{
"success": true,
"data": {
"domain": "EXAMPLE.COM",
"status": [
"clientTransferProhibited"
],
"registrar": "Example Registrar, Inc.",
"registrant": "REDACTED FOR PRIVACY",
"expiry_date": "2025-08-13T04:00:00Z",
"nameservers": [
"ns1.example.com",
"ns2.example.com"
],
"updated_date": "2024-08-14T07:01:44Z",
"creation_date": "1995-08-14T04:00:00Z"
},
"meta": {
"tool": "whois_parse",
"credits_consumed": 1
}
}
HTTP/1.1 422 Unprocessable Entity
ERROR
{
"success": false,
"data": null,
"error": {
"code": "validation_error",
"message": "The given data was invalid."
}
}
Sign in to try this tool directly from the docs.
Code Examples
Request Example
lightbulb
Developer Tip
Credits are deducted before execution. If the upstream tool fails, credits are automatically refunded to your account.