Welcome to the DomainTally API. We provide a robust API that makes it easy to fetch website data and domain metrics.

All information displayed in the website metrics report is also available through the API with the added benefit of allowing the client to fetch information about multiple domains in a single HTTP request as well getting an easy to use machine readable json response.

All requests to the API require an access token which can be accessed on your account page.

Website/Domain Summary Endpoint

View machine-readable information about any domain

https://www.domaintally.com/api/v1/domain

https://www.domaintally.com/api/v1/domain?
    access_token=ACCESS_TOKEN&
    domain=google.com
{
    meta: {
        code: 200,
        time: 1444503811,
        requestId: "2a730eab47736794f536ec2b8f3b8e30"
    },
    data: {
        google.com: {
            extension: "com",
            domain_registered: "1997-09-15",
            domain_modified: "2011-07-20",
            domain_expires: "2020-09-14",
            wot_rating: "{"0":"94,75","1":"94,75","2":"94,75","4":"93,67"}",
            page_title: "Google",
            meta_description: "Search the world's information, including webpages, images, videos and more. Google has many special features to help you find exactly what you're looking for.",
            headers: "{"Http-Version":"1.1","Status-Code":"200","Status":"200 OK","Date":"Sun, 13 Sep 2015 01:17:43 GMT","Expires":"-1","Cache-Control":"private, max-age=0","Content-Type":"text/html; charset=UTF-8","Content-Encoding":"gzip","Server":"gws","X-XSS-Protection":"1; mode=block","X-Frame-Options":"SAMEORIGIN","Alternate-Protocol":"443:quic,p=1","Alt-Svc":"quic=":443"; p="1"; ma=604800","Transfer-Encoding":"chunked"}",
            adsense_pub_id: null
        }
    }
}
	

Website/Domain Ranking Endpoint

View machine readable ranksing of a domain. Premium users have access to upto 10000 domains per request. View information such as Alexa Rank and Estimated Traffic

https://www.domaintally.com/api/v1/ranking

https://www.domaintally.com/api/v1/ranking?
    access_token=ACCESS_TOKEN&
    domain=google.com

View a example expected response below:

{
    meta: {
        code: 200,
        time: 1444503984,
        requestId: "40422e4d60188ea1ad1c2a26b0e32e50"
    },
    data: {
        google.com: {
            updated_datetime: "2015-09-13 01:17:54",
            daily_unique_visits: "1308719439",
            daily_page_views: "10469755512",
            estimated_value: "11307336480.00",
            google_indexed_page: "1620000000",
            google_inbound_links: "9090",
            google_pr: "9",
            google_pagespeed: "92",
            google_pagespeed_stats: "{"htmlResponseBytes":"181965","imageResponseBytes":"44936","javascriptResponseBytes":"821725","otherResponseBytes":"1731"}",
            yahoo_indexed_page: "0",
            bing_indexed_page: "140000000",
            bing_inbound_links: "26",
            alexa_rank: "1",
            alexa_inbound_links: "0",
            seomoz_domain_authority: "100",
            is_dmoz_listed: "0",
            fb_share_count: "7719740",
            fb_like_count: "3436362",
            fb_comment_count: "2052201",
            twitter_count: "23280",
            linkedin_share_count: "2596",
            delicious_total_posts: "0"
        }
    }
}
	

Domain Whois Endpoint

Fetch structured raw WHOIS data such as domain registration & expiry date, owner contact details and DNS recored. domaintally premium customers get a parsed version of the data and can pass multiple domains as arguments.

https://www.domaintally.com/api/v1/whois?

https://www.domaintally.com/api/v1/whois?
    access_token=ACCESS_TOKEN&
    domain=facebook.com

View a sample expected response below:

{
    meta: {
        code: 200,
        time: 1444504341,
        requestId: "e6497ac57176f4e32a06b29fe47c68da"
    },
    data: {
        facebook.com: {
        updated_datetime: "2015-10-07 00:22:50",
        domain_status: "["clientDeleteProhibited http://www.icann.org/epp#clientDeleteProhibited","clientTransferProhibited http://www.icann.org/epp#clientTransferProhibited","clientUpdateProhibited http://www.icann.org/epp#clientUpdateProhibited","serverDeleteProhibited http://www.icann.org/epp#serverDeleteProhibited","serverTransferProhibited http://www.icann.org/epp#serverTransferProhibited","serverUpdateProhibited http://www.icann.org/epp#serverUpdateProhibited"]",
        full_whois: "Domain Name: facebook.com
Registry Domain ID: 2320948_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.markmonitor.com
Registrar URL: http://www.markmonitor.com
Updated Date: 2015-08-25T12:15:13-0700
Creation Date: 1997-03-28T21:00:00-0800
Registrar Registration Expiration Date: 2020-03-29T21:00:00-0700
Registrar: MarkMonitor, Inc.
Registrar IANA ID: 292
Registrar Abuse Contact Email: [email protected]
Registrar Abuse Contact Phone: +1.2083895740
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)
Registry Registrant ID:
Registrant Name: Domain Administrator
Registrant Organization: Facebook, Inc.
Registrant Street: 1601 Willow Road,
Registrant City: Menlo Park
Registrant State/Province: CA
Registrant Postal Code: 94025
Registrant Country: US
Registrant Phone: +1.6505434800
Registrant Phone Ext:
Registrant Fax: +1.6505434800
Registrant Fax Ext:
Registrant Email: [email protected]
Registry Admin ID:
Admin Name: Domain Administrator
Admin Organization: Facebook, Inc.
Admin Street: 1601 Willow Road,
Admin City: Menlo Park
Admin State/Province: CA
Admin Postal Code: 94025
Admin Country: US
Admin Phone: +1.6505434800
Admin Phone Ext:
Admin Fax: +1.6505434800
Admin Fax Ext:
Admin Email: [email protected]
Registry Tech ID:
Tech Name: Domain Administrator
Tech Organization: Facebook, Inc.
Tech Street: 1601 Willow Road,
Tech City: Menlo Park
Tech State/Province: CA
Tech Postal Code: 94025
Tech Country: US
Tech Phone: +1.6505434800
Tech Phone Ext:
Tech Fax: +1.6505434800
Tech Fax Ext:
Tech Email: [email protected]
Name Server: b.ns.facebook.com
Name Server: a.ns.facebook.com
DNSSEC: unsigned
URL of the ICANN WHOIS Data Problem Reporting System: http://wdprs.internic.net/
>>> Last update of WHOIS database: 2015-10-06T17:14:49-0700", dns_records: "[{"host":"facebook.com","class":"IN","ttl":"299","type":"A","ip":"31.13.77.6"},{"host":"facebook.com","class":"IN","ttl":"16930","type":"NS","target":"a.ns.facebook.com"},{"host":"facebook.com","class":"IN","ttl":"16930","type":"NS","target":"b.ns.facebook.com"},{"host":"facebook.com","class":"IN","ttl":"120","type":"SOA","mname":"a.ns.facebook.com","rname":"dns.facebook.com","serial":"1444177141","refresh":"7200","retry":"1800","expire":"604800","minimum-ttl":"120"},{"host":"facebook.com","class":"IN","ttl":"95","type":"MX","pri":"10","target":"msgin.vvv.facebook.com"},{"host":"facebook.com","class":"IN","ttl":"86400","type":"TXT","txt":"v=spf1 redirect=_spf.facebook.com","entries":["v=spf1 redirect=_spf.facebook.com"]},{"host":"facebook.com","class":"IN","ttl":"191","type":"AAAA","ipv6":"2a03:2880:f001:6:face:b00c::2"}]", owner_email: null, registrar: "MARKMONITOR INC.", registrar_slug: "markmonitor-inc.", hosted_ip: "31.13.77.6", hosted_ip_latitude: "39.0639", hosted_ip_longitude: "-100.233", hosted_ip_country: "US", hosted_ip_friendly_location: "Kansas, Park, United States, 67751", hosted_ip_full_country: "United States" } } }

Disposable Email API Endpoint

The Disposable Email API is a simple, straightforward, RESTful API. Send a request, and you get a structured JSON response detecting if an email if from a disposable domain or not.

https://www.domaintally.com/api/v1/disposable?

    https://www.domaintally.com/api/v1/disposable?
        access_token=ACCESS_TOKEN&
        domain=mailinator.com
    

View a sample expected response below:

{
    meta: {
        code: 200,
        time: 1453670783,
        requestId: "c91ea99d72eb0a9e864943b2aa0e7254"
    },
    data: {
        mailinator.com: {
            is_disposable: true,
            last_checked: 1453670783,
            spam_score: 3537
        }
    }
}

Domain Availability API Endpoint

Domain Availability API tells you if a domain name is available to be registered or not. It checks domain name availability quickly and accurately for all available tlds. Using the same flow as all out endpoint, you can very quickly integrate this endpoint into your app. We currently support all tld including country level tld.

https://www.domaintally.com/api/v1/available?

https://www.domaintally.com/api/v1/available?
    access_token=ACCESS_TOKEN&
    domain=mailinator.com

For domain that is already registered this is the response you will get:

{
    meta: {
        code: 200,
        time: 1458851811,
        requestId: "4923d43487cf39dd23ebc197ad61f581"
    },
    data: {
        facebook.com: {
            is_available: false,
            domain: "facebook.com",
            tld: "com",
            last_checked: 1458851811
        }
    }
}

For a domain that's available to be registred, this is the response you will get back

{
    meta: {
        code: 200,
        time: 1458851964,
        requestId: "052774bf1bc1f7e07082279c3fa274fa"
    },
    data: {
        passeddomain.com: {
            is_available: true,
            domain: "passeddomain.com",
            tld: "com",
            last_checked: 1458851964
        }
    }
}