<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
<div class="">Sean,</div>
<div class=""><br class="">
</div>
<div class="">Yes there is a way to do that. Depending on the logic you are using, /cidr/xxx.xxx.xxx.xxx/yy[/more|less] queries are probably what you are looking for. For instance,
<a href="http://whois.arin.net/rest/cidr/192.149.252.0/24/more" class="">http://whois.arin.net/rest/cidr/192.149.252.0/24/more</a> will list the networks more specific to the CIDR given. /more gives you a list of networks more specific, /less gives you a list
 of networks less specific, and if you do not use either it will return a network if it is exactly matching the CIDR.</div>
<div class=""><br class="">
</div>
<div class="">The documentation for that query is here: <a href="https://www.arin.net/resources/whoisrws/whois_api.html#whoisrws" class="">
https://www.arin.net/resources/whoisrws/whois_api.html#whoisrws</a> under section 4.4.3.</div>
<div class=""><br class="">
</div>
<div class="">I hope that helps.</div>
<div class=""><br class="">
</div>
<div class="">Andy Newton,</div>
<div class="">Chief Engineer, ARIN</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Dec 1, 2014, at 3:59 PM, Zhao, Sean <<a href="mailto:Sean.Zhao@CenturyLink.com" class="">Sean.Zhao@CenturyLink.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="WordSection1" style="page: WordSection1; font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
Hi All,<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
                Instead of checking the start ip and end ip, like<i class=""><a href="http://whois.ote.arin.net/rest/ip/65.127.10.160" style="color: purple; text-decoration: underline;" class="">http://whois.ote.arin.net/rest/ip/65.127.10.160</a><span class="Apple-converted-space"> </span></i>and<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<i class=""><a href="http://whois.ote.arin.net/rest/ip/65.127.10.191" style="color: purple; text-decoration: underline;" class="">http://whois.ote.arin.net/rest/ip/65.127.10.191</a></i>, do you have something like<i class=""><a href="http://whois.ote.arin.net/rest/ip%20/65.127.10.160/maskNo/27" style="color: purple; text-decoration: underline;" class="">http://whois.ote.arin.net/rest/ip
 /65.127.10.160/maskNo/27</a>?</i><span class="Apple-converted-space"> </span>So we can check if the netBlock is swiped in one call instead checking by ip addresses for 32 times. <o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
In this case of mine, checking only 65.127..160 and 65.127.10.191 is not good enough because both ips are not swiped, but there are 8 ips,<span class="Apple-converted-space"> </span><span style="color: rgb(31, 73, 125);" class="">65.127.10.176 - 65.127.10.183
 are swiped. They are between the ip<span class="Apple-converted-space"> </span></span>65.127..160 and 65.127.10.191. So if you have a netBlock checking, it would be great for me.<o:p class=""></o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class="">Thanks<o:p class=""></o:p></b></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class=""> </b></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class="">Sean Zhao<o:p class=""></o:p></b></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<b class=""><a href="mailto:sean.zhao@centurylink.com" class="">sean.zhao@centurylink.com</a><o:p class=""></o:p></b></div>
<div style="margin: 0in 0in 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif;" class="">
<o:p class=""> </o:p></div>
</div>
<center style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
This communication is the property of CenturyLink and may contain confidential or privileged information. Unauthorized use of this communication is strictly prohibited and may be unlawful. If you have received this communication in error, please immediately
 notify the sender by reply e-mail and destroy all copies of the communication and any attachments.</center>
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">arin-tech-discuss
 mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="mailto:arin-tech-discuss@arin.net" class="">arin-tech-discuss@arin.net</a></span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class=""><a href="http://lists.arin.net/mailman/listinfo/arin-tech-discuss" class="">http://lists.arin.net/mailman/listinfo/arin-tech-discuss</a></span></div>
</blockquote>
</div>
<br class="">
</body>
</html>