Whois API

Whois API

Quickly retrieve up-to-date domain registration information programatically.

Whois API

asdasd


GET/whois/domain?domain=:domain

Get Domain Whois

This endpoint returns the whois information for the specified domain.

Required attributes

  • Name
    domain
    Type
    string
    Description

    The domain to check.

    Specifying a subdomain will return the whois information for the root domain instead.

Optional attributes

  • Name
    raw
    Type
    boolean
    Description

    If true, the raw output will be returned.

Request

GET
/whois/domain?domain=:domain
curl https://api.gigadrive.network/whois/domain?domain=gigadrivegroup.com

Response (HTTP 200)

{
    "domain": {
        "name": "gigadrivegroup.com",
        "id": "2076963835_DOMAIN_COM-VRSN",
        "status": [
            "clientTransferProhibited https://icann.org/epp#clientTransferProhibited"
        ],
        "created": "2016-11-25T20:14:51.00Z",
        "updated": "2022-10-26T07:15:17.28Z",
        "expires": "2023-11-25T20:14:51.00Z"
    },
    "registrar": {
        "name": "NAMECHEAP INC",
        "url": "http://www.namecheap.com",
        "whoisServer": "whois.namecheap.com",
        "email": "abuse@namecheap.com",
        "phone": "+1.9854014545",
        "ianaId": "1068"
    },
    "registrant": {
        "name": "Redacted for Privacy",
        "organization": "Privacy service provided by Withheld for Privacy ehf",
        "street": "Kalkofnsvegur 2",
        "city": "Reykjavik",
        "state": "Capital Region",
        "postalCode": "101",
        "country": "IS",
        "phone": "+354.4212434",
        "phoneExt": "",
        "fax": "",
        "faxExt": "",
        "email": "1a0ed69dfe3f460ea36cbb9f64ee6c1a.protect@withheldforprivacy.com"
    },
    "admin": {
        "name": "Redacted for Privacy",
        "organization": "Privacy service provided by Withheld for Privacy ehf",
        "street": "Kalkofnsvegur 2",
        "city": "Reykjavik",
        "state": "Capital Region",
        "postalCode": "101",
        "country": "IS",
        "phone": "+354.4212434",
        "phoneExt": "",
        "fax": "",
        "faxExt": "",
        "email": "1a0ed69dfe3f460ea36cbb9f64ee6c1a.protect@withheldforprivacy.com"
    },
    "tech": {
        "name": "Redacted for Privacy",
        "organization": "Privacy service provided by Withheld for Privacy ehf",
        "street": "Kalkofnsvegur 2",
        "city": "Reykjavik",
        "state": "Capital Region",
        "postalCode": "101",
        "country": "IS",
        "phone": "+354.4212434",
        "phoneExt": "",
        "fax": "",
        "faxExt": "",
        "email": "1a0ed69dfe3f460ea36cbb9f64ee6c1a.protect@withheldforprivacy.com"
    },
    "billing": {
        "name": null,
        "organization": null,
        "street": null,
        "city": null,
        "state": null,
        "postalCode": null,
        "country": null,
        "phone": null,
        "phoneExt": null,
        "fax": null,
        "faxExt": null,
        "email": null
    },
    "nameservers": [
        "rocky.ns.cloudflare.com",
        "rafe.ns.cloudflare.com"
    ],
    "dnssec": "unsigned"
}

GET/whois/domain?domain=:domain&raw=true

Get raw Domain Whois

This endpoint returns the whois information for the specified domain. You can add the raw parameter to return the raw output instead.

Required attributes

  • Name
    domain
    Type
    string
    Description

    The domain to check.

    Specifying a subdomain will return the whois information for the root domain instead.

Optional attributes

  • Name
    raw
    Type
    boolean
    Description

    If true, the raw output will be returned.

Request

GET
/whois/domain?domain=:domain&raw=true
curl https://api.gigadrive.network/whois/domain?domain=gigadrivegroup.com

Response (HTTP 200)

Domain Name: google.com
Registry Domain ID: 2138514_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.markmonitor.com
Registrar URL: http://www.markmonitor.com
Updated Date: 2019-09-09T15:39:04+0000
Creation Date: 1997-09-15T07:00:00+0000
Registrar Registration Expiration Date: 2028-09-13T07:00:00+0000
Registrar: MarkMonitor, Inc.
Registrar IANA ID: 292
Registrar Abuse Contact Email: abusecomplaints@markmonitor.com
Registrar Abuse Contact Phone: +1.2086851750
Domain Status: clientUpdateProhibited (https://www.icann.org/epp#clientUpdateProhibited)
Domain Status: clientTransferProhibited (https://www.icann.org/epp#clientTransferProhibited)
Domain Status: clientDeleteProhibited (https://www.icann.org/epp#clientDeleteProhibited)
Domain Status: serverUpdateProhibited (https://www.icann.org/epp#serverUpdateProhibited)
Domain Status: serverTransferProhibited (https://www.icann.org/epp#serverTransferProhibited)
Domain Status: serverDeleteProhibited (https://www.icann.org/epp#serverDeleteProhibited)
Registrant Organization: Google LLC
Registrant State/Province: CA
Registrant Country: US
Registrant Email: Select Request Email Form at https://domains.markmonitor.com/whois/google.com
[...]