How to get larger favicon from Google's api?

looks like there is size parameter in google now.

https://www.google.com/s2/favicons?sz=64&domain_url=yahoo.com


Editted: The below answer is no longer valid, but the code is freely available on github:

Github -> Favicons for all!

Original answer

You can also try Statvoo's Favicon API, e.g.

https://api.statvoo.com/favicon/?url=google.com

https://api.statvoo.com/favicon/?url=stackoverflow.com

etc..

They also have quite a few other API's you can use if you look around. Most of which are free and have been around for years.


Here's some Favicon Fetchers I have found

  • Free Favicon-Service by AllesEDV.at - https://f1.allesedv.com/stackoverflow.com
  • Google Favicon Snatcher - https://www.google.com/s2/favicons?domain=stackoverflow.com
  • Favicon Grabber - http://favicongrabber.com/api/grab/stackoverflow.com

For Favicon Grabber it will return as JSON list of icon URLs.

Alternatively you can load the main page of the site and figure it out from there: https://stackoverflow.com/a/1990487/

Tags:

Favicon