libipa

IPA is a suite of tools and libraries which aims to provide a flexible repository of IP address data and metadata. The libipa client library provides an application programming interface to data stored in IPA.

You can view details of the libipa interface here.