middleware.get('/rank/:rtype', (req, res) =>
    naroujs.rank({ rtype: req.params.rtype })
    .then((result) => res.json(result))
    .catch((error) => res.status(403).json({ error: error.message }))
  );