This function returns the IP addresses used by QUANTIL for a domain. A request parameter allows you to specify the domain. You might need to configure a firewall to allow these IP addresses. This API is only available to selected customers; please contact us at support@quantil.com if you require it.
Header |
Description |
Required |
Authorization |
Authorization string for the request |
Yes |
Host |
URI for the QUANTIL SDK (i.e., api.quantil.com) |
Yes |
Date |
The date and time of the request. |
Yes |
Accept |
Indicates the accepted format (i.e., application/xml) |
Yes |
Parameter |
Description |
Required |
domain |
Name of one of your domains |
Yes |
This request does not include an XML document in the request body.
GET /api/report/ip-cidrs HTTP/1.1
Authorization: <authorization string>
Host: api.quantil.com
Date: <date>
Accept: application/xml
Here is the structure of a request using the curl utility.
curl -i --url https://api.quantil.com/api/report/ip-cidrs?domain=<domain name>
-X GET
-u {user}: {password}
-H 'Date: Fri, 26 Oct 2012 06:33:26 GMT'
-H 'Accept: application/xml'
curl -i --url 'https://api.quantil.com/api/report/ip-cidrs?domain=www.test.com' -u test:IltUPtb1nMmbHUyNruhjFDBkPvs= -H 'Date: Fri, 08 Aug 2014 14:10:38 PDT' -H 'Accept: application/xml'
HTTP/1.1 200 OK
Date: <date>
Content-Type: application/xml; charset = utf-8
x-cnc-request-id: {id string auto generated by the QUANTIL server}
Element |
Description |
ip-cidr-list |
A container object which contains one or more <ip-cidr> elements designating the IP addresses used by our servers. |
ip-cidr |
An IP address used by QUANTIL. It is in CIDR notation (i.e., 183.237.229.0/24) |
HTTP/1.1 200 OK
Date: Fri, 08 Aug 2014 23:13:13 GMT
Accept-Ranges: bytes
Server: Restlet-Framework/2.1.0
x-cnc-request-id: 27999
ContentType: application/xml;charset=UTF-8
Content-Type: application/xml;charset=UTF-8
Content-Length: 98
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><ip-cidr-list><ip-cidr>183.237.229.0/24</ip-cidr><ip-cidr>218.12.233.0/24</ip-cidr><ip-cidr>218.29.118.208/24</ip-cidr><ip-cidr>60.220.195.192/24</ip-cidr><ip-cidr>203.130.58.0/24</ip-cidr><ip-cidr>58.222.46.0/24</ip-cidr><ip-cidr>220.243.254.0/24</ip-cidr><ip-cidr>58.251.49.0/24</ip-cidr><ip-cidr>42.48.110.0/24</ip-cidr><ip-cidr>113.6.248.96/24</ip-cidr><ip-cidr>61.183.53.0/24</ip-cidr></ip-cidr-list>
Error |
Description |
HTTP status code |
DOMAINPARAM_IS_NULL |
The domain parameter must be specified. |
400 |
DOMAIN_NAME_INVALID |
The domain you specified is not in your account. |
400 |