The Host.io Domain Data DNS Curl Sample Code demonstrates how to access the API to use metadata scraped from a domain homepage. It returns the HTTP 404 status code as well as an error message in JSON format if the domain is invalid.
The vast majority of analytics software is going to be consumed within another application, rather than exist as a stand-alone application. Recognizing this fact, analytics application vendors are racing to deliver robust sets of APIs around their applications that make it easier for developers to embed those capabilities within their applications.
Microsoft's latest version of its search API (our Live Search API Profile), which was released last November as a public beta, seems to be gaining quite a bit of momentum. According to a recent post on the Live Search Blog, the API is serving more than 3 billion queries per month, more than 5,000 applications to use the API, and queries from third party sites account for 80% of the API's query volume.