Account Login





Lost password?

Looking Glass API

service icon

The Looking Glass api is for checking domains and email addresses. You do not have to be logged in to use this facility.

The HTTP API endpoint can be reached at 

http://looking-glass.aql.com/lookingGlassApi.php?domain=aql.com

 

This information is also accessible via HTTPS and can be reached at 

https://looking-glass.aql.com/lookingGlassApi.php?domain=aql.com

 

A form version of this api is available on the Network Lookup page.

 

 

API Error Codes:

Exit Codes Reason
206 Command missing
400 Error processing response
401 Not authorized
500 Internal server error
504 Gateway timeout
600 Command not valid

Parameters and Values

domain (type string) - The domain that is to be monitored. This parameter is Optional. Requires a value of a valid domain

dig (type bool) - calls the dig function to analyse the domain records of domain. The type of record that will be looked up will be dependant on the parameter given in recordType. This parameter is Optional. Requires Domain to be set.
 

recordType (type string) - defines the record that is to be looked up the default is A. If dig is set then this parameter is Mandatory.
 

emailAddress (type string) - specifies the email address that is to be analysed. This parameter is Optional.

 


Whois query

domain=aql.com&whois=on

Parameter Value Notes
whois on Perform whois search

returns:

<response>
<Address>
 <IP>194.145.189.106</IP>
 <DomainName>aql.com</DomainName>
 </Address>
 <whois server="whois.internic.net">
  <domainName>AQL.COM</domainName>
  <registrar>
   CSL COMPUTER SERVICE LANGENBACH GMBH D/B/A JOKER.COM
  </registrar>
  <whoisServer>whois.joker.com</whoisServer>
  <referralUrl>http://www.joker.com</referralUrl>
  <nameServer>NS0.AQ.NET.UK</nameServer>
  <nameServer>NS1.AQ.NET.UK</nameServer>
  <nameServer>NS2.AQ.NET.UK</nameServer>
  <nameServer>NS3.AQ.NET.UK</nameServer>
  <status>clientTransferProhibited http://www.icann.org/epp</status>
  <updatedDate>29-oct-2014</updatedDate>
  <creationDate>10-nov-1997</creationDate>
  <expirationDate>09-nov-2020</expirationDate>
 </whois>
</response>

Dig query

domain=aql.com&dig=on&recordType=MX

Parameter Value Notes
dig on Perform DNS lookup
recordType MX,NS,A,CNAME,PTR,TXT,SOA,all DNS record type

returns:

<response>
 <Address>
  <IP>194.145.189.106</IP>
  <DomainName>aql.com</DomainName>
 </Address>
 <Dig>
  <MX>
   <host>aql.com</host>
   <pri>0</pri>
   <target>inderstar3.a-q.co.uk</target>
   <class>IN</class>
   <ttl>600</ttl>
  </MX>
 </Dig>
</response>

 

 

Email query

[email protected]

returns:

<response>
 <EmailCheck>
  <preference>0</preference>
  <exchange>inderstar3.a-q.co.uk</exchange>
  <ip>78.40.242.17</ip>
  <SMTPSession>
  220 inderstar3.a-q.co.uk ESMTP Mon, 5 Oct 2015 14:36:13 +0100
  </SMTPSession>
  <SMTPSession>EHLO aql.com</SMTPSession>
  <SMTPSession>
  250-inderstar3.a-q.co.uk Hello service.aql.com [109.239.103.15], pleased to meet you
  </SMTPSession>
  <SMTPSession>250-ENHANCEDSTATUSCODES</SMTPSession>
  <SMTPSession>250-PIPELINING</SMTPSession>
  <SMTPSession>250-8BITMIME</SMTPSession>
  <SMTPSession>250-SIZE</SMTPSession>
  <SMTPSession>250-DSN</SMTPSession>
  <SMTPSession>250-ETRN</SMTPSession>
  <SMTPSession>250-DELIVERBY</SMTPSession>
  <SMTPSession>250 HELP</SMTPSession>
  <SMTPSession>MAIL FROM: <[email protected]></SMTPSession>
  <SMTPSession>250 2.1.0 <[email protected]>... Sender ok</SMTPSession>
  <SMTPSession>RCPT TO:<[email protected]></SMTPSession>
  <SMTPSession>553 5.3.0 <[email protected]>... >support<@aql.com.</SMTPSession>
  <SMTPSession>RSET</SMTPSession>
  <SMTPSession>250 2.0.0 Reset state</SMTPSession>
  <SMTPSession>QUIT</SMTPSession>
  <SMTPSession>221 2.0.0 inderstar3.a-q.co.uk closing connection</SMTPSession>
 </EmailCheck>
</response>