Web Of Trust (WOT)

Web Of Trust (WOT)

Anti-Malware

Developers can build web services on top of the WOT API. Search engines, information security companies, social media, and other industries can benefit from reputation data to enhance user experience.

Visit API

📚 Documentation & Examples

Everything you need to integrate with Web Of Trust (WOT)

🚀 Quick Start Examples

Web Of Trust (WOT) Javascript Examplejavascript
// Web Of Trust (WOT) API Example
const response = await fetch('https://www.mywot.com/api', {
    method: 'GET',
    headers: {
        'Content-Type': 'application/json'
    }
});

const data = await response.json();
console.log(data);

Explore the myWOT API using JavaScript

myWOT is a web service that rates websites based on their trustworthiness, as determined by the ratings of a global community of users. The myWOT API allows developers to access this information programmatically.

To get started with the myWOT API, follow these simple steps:

  1. Sign up for a free myWOT API key: https://www.mywot.com/signup/api
  2. Review the API documentation: https://www.mywot.com/wiki/API
  3. Choose an HTTP client library for JavaScript. Here, we will use Axios for its simplicity.

Example 1: Get the trustworthiness score for a website

const axios = require("axios");

const apiKey = "insertYourApikeyHere";
const websiteUrl = "google.com";
const apiUrl = `https://api.mywot.com/0.4/public_link_json2?hosts=${websiteUrl}/&key=${apiKey}`;

axios.get(apiUrl)
  .then((response) => {
    console.log(response.data);
  })
  .catch((error) => {
    console.error(error);
  });

Here, we pass the website URL and our myWOT API key as parameters to the API endpoint and Axios is used to make an HTTP GET request. The API response is printed to the console.

Example 2: Get the trustworthiness score for multiple websites

const axios = require("axios");

const apiKey = "insertYourApikeyHere";
const websiteUrls = ["google.com", "facebook.com", "twitter.com"];
const apiUrl = `https://api.mywot.com/0.4/public_link_json2?hosts=${websiteUrls.join()}/&key=${apiKey}`;

axios.get(apiUrl)
  .then((response) => {
    console.log(response.data);
  })
  .catch((error) => {
    console.error(error);
  });

Here, we pass an array of website URLs to the API endpoint. The URLs are combined using the join() method, and Axios is used to make an HTTP GET request. The API response is printed to the console.

Conclusion

With the myWOT API, it is easy to get the trustworthiness score for any website. By using an HTTP client library like Axios, we can make API requests with just a few lines of code.

📊 30-Day Uptime History

Daily uptime tracking showing online vs offline minutes

Jun 6Jun 8Jun 10Jun 12Jun 14Jun 16Jun 18Jun 20Jun 22Jun 24Jun 26Jun 28Jun 30Jul 2Jul 504008001440Minutes
Online
Offline

Related APIs in Anti-Malware