Favicon Grabber API

This API will update automatically, if a website's favicon has changed!

When you interact with our API, you will first need to start by adding the following PHP code:

<?php
    $contents = file_get_contents("https://api.tylermwise.uk/v2/favicon-grabber?url=tylermwise.uk");
    $data = json_decode($contents);
?>

When that code is added, you can use any the code below to get the data:

<?php
    echo $data->credit;
    echo $data->url;
    echo $data->type;
?>

GET https://api.tylermwise.uk/v2/favicon-grabber?url=example.com

{
    "credit": "API Data from <a href='https://dev.tylermwise.com/favicon-grabber'>tylermwise.com</a>",
    "url": "https://example.com/favicon.ico",
    "extension": "ico"
}

Last updated