MosFast API Documentation

API Configuration
Code Examples
const axios = require('axios');

const data = JSON.stringify({
  "url": "http://facebook.com/"
});

const config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api.mosfa.st/moz/metrics/',
  headers: { 
    'X-Berserker-Token': '', 
    'Content-Type': 'application/json'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});
API Reference