GET/v1/icons
Search the icons an icon layer can draw: Lucide, Tabler and Simple Icons brand logos
Every result's icon goes straight into an icon layer ({"type": "icon", "icon": "lucide:rocket", "color": "#fff"}). Names match on words: q=arrow right finds arrow-right, arrow-big-right and the rest; brand logos are in simple-icons (github, youtube, x, instagram). Without q the answer lists the sets and how many icons each has. url is the SVG the renderer uses.
PARAMETERS
- qquery · string
- Words in the icon's namee.g. rocket
- setquery · enum
- Only this setone of: lucide, tabler, tabler-filled, simple-icons
- limitquery · integer
- How many to return. Default 60e.g. 60
REQUEST
curl "https://api.imageapis.com/v1/icons" \ -H "X-API-Key: YOUR_KEY"
import requests
r = requests.get("https://api.imageapis.com/v1/icons", headers={"X-API-Key": "YOUR_KEY"})
print(r.status_code, r.headers.get("X-Gw-Remaining"))
print(r.json())
const r = await fetch("https://api.imageapis.com/v1/icons", {
headers: { "X-API-Key": "YOUR_KEY" }
});
console.log(r.status, r.headers.get("X-Gw-Remaining"));
console.log(await r.json());
RESPONSE
200OK
{
"total": 3,
"icons": [
{
"icon": "lucide:rocket",
"set": "lucide",
"name": "rocket",
"url": "https://cdn.jsdelivr.net/npm/lucide-static@1.55.0/icons/rocket.svg"
},
{
"icon": "tabler:rocket",
"set": "tabler",
"name": "rocket",
"url": "https://cdn.jsdelivr.net/npm/@tabler/icons@3.49.0/icons/outline/rocket.svg"
},
{
"icon": "tabler-filled:rocket",
"set": "tabler-filled",
"name": "rocket",
"url": "https://cdn.jsdelivr.net/npm/@tabler/icons@3.49.0/icons/filled/rocket.svg"
}
],
"sets": [
{
"set": "lucide",
"title": "Lucide",
"style": "outline, 24 px grid, 2 px stroke",
"license": "ISC",
"version": "lucide-static@1.55.0",
"count": 2141
}
]
}