# Google API that allows you to retrieve favicons from any domain

<div data-node-type="callout">
<div data-node-type="callout-emoji">💡</div>
<div data-node-type="callout-text">TIP there's a <strong>Google API</strong> that allows you to retrieve <strong>favicons </strong>from any domain.</div>
</div>

Endpoint:

* https://[**g**](http://google.com/s2/favicons?do)**oogle.com**/s2/favicons?domain=**<mark>${domain}</mark>**&sz=**<mark>${size}</mark>**
    
* https://**t3.gstatic.com**/faviconV2?client=SOCIAL&type=FAVICON&fallback\_opts=TYPE,SIZE,URL&url=**<mark>${domain}</mark>**&size=**<mark>${size}</mark>**
    

| Param | Description | Default |
| --- | --- | --- |
| domain | Link | ❌ |
| sz | size | 16 |

Ex:

* [Open Link 1](https://google.com/s2/favicons?domain=https://eplus.dev&sz=32)
    
* [Open Link 2](https://t3.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://eplus.dev&size=16)
    

%[https://x.com/marcelpociot/status/1821498130585588177]
