Skip to content

Managed REST API

If you prefer not to install, self-host, and regularly update UAParser.js yourself, you can use the managed User-Agent API🡥 powered by UAParser.js:

sh
curl https://api.restcountries.com/user-agent/v1 \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "User-Agent: Mozilla/5.0 ..."

UAParser.js v2 is licensed under AGPLv3 or PRO licenses.