You can see if ARIN has a web service or form you can post an http request to with the IP address you want to lookup, i.e. http://www.arin.net/whois/