Website icons

Icon for a website

The X-Icon-Source header names the file the icon was drawn from, the first time it is fetched. An icon already fetched counts as 1 request against the rate limit; one that has to be fetched counts as 20.

get/v1/icon/{domain}

Request

  • Base URL: https://api.dharun.dev
  • URL: https://api.dharun.dev/v1/icon/{domain}
  • Auth: none declared

Path parameters

domainstring required

Domain name; a .png suffix is allowed.

Query parameters

sizeinteger

Width and height in pixels, 16 to 256. Default 64.

Response

Success

Changes

No recorded changes to this operation across all 1 revision of this API.