---
title: "Icon for a website"
method: GET
path: "/v1/icon/{domain}"
tags: ["Website icons"]
---

# Icon for a website

`GET /v1/icon/{domain}`

## Request

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

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.

## Path parameters

- `domain` string, required

## Query parameters

- `size` integer

## Response `200`

Success

## Other responses

- `400`: Error
- `404`: Error
- `429`: Error

---

[API](https://skmtc.dev/dharun/apis/india-api-free-open-source-apis-for-indian-data.md) · [All operations](https://skmtc.dev/dharun/apis/india-api-free-open-source-apis-for-indian-data/llms.txt) · [OpenAPI document](https://skmtc.dev/dharun/apis/india-api-free-open-source-apis-for-indian-data/revisions/ecd8b0ec7863?raw)
