• Stars
    star
    377
  • Rank 113,535 (Top 3 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created over 7 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Grabbing favicons from any domain

Favicon Grabber license

Favicon Grabber is an online service to grab favicons from any domain.


Try Grabbing

API

Favicon Grabber API is simple and has the one endpoint. For instance, to grab favicons from digitalocean.com open https://favicongrabber.com/api/grab/digitalocean.com in your favorite browser.

Example Using

Grab icons with /apple/ mask in src property:

fetch('https://favicongrabber.com/api/grab/udemy.com')
  .then(response => response.json())
  .then(({ icons }) => icons.filter(({ src }) => /apple/.test(src)))
  .then(icons => icons.forEach(icon => console.log(icon)));

For the full description, please see Service API reference.

License

The code is available under the MIT License.