API
Build your own apps using data from WebsiteHosting.com database.
Version 1.0. Beta.
Features
- All API methods are accessible via simple HTTP calls.
- Results are sent back as plain text, styled html, JSON or XML-encoded objects.
- Unlimited queries. However, any abusive referrers will be blocked without prior notice.
- Ridiculously simple to use.
Usage
Based on your request our system will respond with appropriate answers. We have tried to make it as easy as possible.
Request | Response | Sample Output |
https://websitehosting.com/api/insights?domain=websitehosting.com&format=text | text | Digital Ocean, United States, 3.23, 9, 53, 389725, 22.68% |
https://websitehosting.com/api/insights?domain=websitehosting.com&format=html | html | |
https://websitehosting.com/api/insights?domain=websitehosting.com&format=json | json | {“host”:”Digital Ocean”, “location”:”United States”, “rating”:”3.23″, “sources”:”9″, “rank”:”53″, “domains”:”389725″, “growth”:”22.68%”} |
https://websitehosting.com/api/insights?domain=websitehosting.com&format=jsonp | jsonp | callback({“host”:”Digital Ocean”, “location”:”United States”, “rating”:”3.23″, “sources”:”9″, “rank”:”53″, “domains”:”389725″, “growth”:”22.68%”}); |
https://websitehosting.com/api/insights?domain=websitehosting.com&format=jsonp&callback=hostratings | jsonp | hostratings({“host”:”Digital Ocean”, “location”:”United States”, “rating”:”3.23″, “sources”:”9″, “rank”:”53″, “domains”:”389725″, “growth”:”22.68%”}); |
https://websitehosting.com/api/insights?domain=websitehosting.com&format=xml | xml |
Examples
Help
If you don’t know what is an API, we suggest you start here:
- Wikipedia: Application Programming Interface.
- What is an API? In English, please.
- What is an API & why does it matter?
License
This project is licensed under the MIT license.
Support
This is not a commercial service with any guarantee of availability, reliability, or accuracy. If you have found a bug, we’d love to hear from you: api@websitehosting.com.
Donate
Your financial support help us move forward. Thanks a lot!
- Bitcoin
1FUsmsxfugeJRV2NFBXVnCDYKGnRCJdmHF
- Ethereum
0x64C6C1D88b4Ce3475b97761c6c4b40F27Ba71115
- Bitcoin Cash
qz0dwcp3rs2yf0yutka32tjaqf2t4vez7vlpqf4dsn