Search open source icon sets
GET
/api/v1/icons
const url = 'http://localhost:3000/api/v1/icons?group=Interface&limit=60';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:3000/api/v1/icons?group=Interface&limit=60' \ --header 'Authorization: Bearer <token>'Iconify’s icon sets (Tabler, Lucide, Material Symbols, Simple Icons and some 200 more), the popular ones first, each with its author, license and a few sample names. Sets their authors no longer maintain are left out.
Scope: read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”q
string
Words in the set’s name, author or license
group
string
Only this kind of set
limit
integer
Page size
Responses
Section titled “Responses”Matching sets
Media typeapplication/json
object
data
required
Array<object>
object
prefix
required
Iconify’s name for it: tabler, lucide, simple-icons
string
name
required
string
total
required
Icons in it
integer
samples
required
A few of its icons’ names
Array<string>
category
required
string | null
palette
required
Its icons carry their own colors; false: drawn in one color
boolean
height
required
The grid it is drawn on, in px
number | null
total
required
Matches before limit
integer
Examplegenerated
{ "data": [ { "prefix": "example", "name": "example", "total": 1, "author": { "name": "example", "url": "example" }, "license": { "title": "example", "spdx": "example", "url": "example" }, "samples": [ "example" ], "category": "example", "palette": true, "height": 1 } ], "total": 1}default
Section titled “default”An error
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
detail
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}