The Host.io Domain Data API retrieves domain data for developers. The API token is used to authenticate and can be provided as an HTTP Basic Auth username, a bearer token, or alternatively as a token URL parameter.
Host.io is an all-in-one solution for domain name data. The database contains information for every domain across every TLD, and it includes details such as backlinks, DNS records, outbound links, and shared IPs.
The following is a list of sample source code snippets that matched your search term. Source code snippets are chunks of source code that were found out on the Web that you can cut and paste into your own source code. Whereas most of the sample source code we've curated for our directory is for consuming APIs, we occasionally find something interesting on the API provider side of things. If you know of some sample source code that would be of interest to the ProgrammableWeb community, we'd like to know about it. Be sure to check our guidelines for making contributions to ProgrammableWeb.
The Host.io Domain Data Full Curl Sample Code demonstrates how to access the API to include the data from /api/web, /api/dns, /api/related and IPinfo. It returns the HTTP 404 status code as well as an error message in JSON format if has no data associated with it.
The Host.io Domain Data Related Curl Sample Code demonstrates how to access the API to get a count of the number of related domains for all supported lookups. Developers can see /api/domains/:field for a full list of fields, and details on how to get the list of related domains.
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.