avtr.dev

avtr.dev is a simple service that allows you to retrieve an image avatar representative of a URL.



API Documentation

Retrieve an Avatar

Retrieve an avatar associated with a URL.

                
GET /?url={url}
                
            

Example:

                
GET /?url=https://jamesg.blog
                
            

Returns:

                
{
    "avatar": "https://jamesg.blog/assets/coffeeshop.jpeg"
}
                
            

To be redirected to a raw image if one is found, add &re=img as a query parameter.