Search Icons
Search active Iconify packs by keyword.
HTTP request
HTTP
GET /api/v1/icons/search
Query parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
q |
string |
Yes* | — | Keyword matched against icon names |
prefix |
string |
No | — | Limit to one pack (lucide, mdi, …) |
limit |
number |
No | 20 |
Max results (clamped, max 200) |
* Empty q returns an empty list.
cURL
Shell
curl -s "https://svgforge.dev/api/v1/icons/search?q=home&prefix=lucide&limit=5"
Response example
JSON
{
"code": 0,
"msg": "ok",
"data": {
"list": [
{ "name": "home", "prefix": "lucide" },
{ "name": "home-icon", "prefix": "lucide" }
]
}
}
Icon keys for follow-up calls are prefix:name (e.g. lucide:home).
Plugin variant
Same query shape behind Bearer auth:
HTTP
GET /api/v1/plugin/search?q=home&prefix=lucide
Authorization: Bearer sf_xxx
MCP tool: search_icons — see Tools Reference.
Quota applies (Guest / Free / Pro): Rate Limits & Quota.