About this endpoint
What it does
Searches for icons matching a text query and returns a JSON object containing an icons array. You can optionally limit how many results are returned and filter to public-domain icons only.
Query Parameter(s)
| Attribute | Type | Description |
|---|---|---|
| query | String | Search term to look up icons. Max length: 300 characters. |
| number | Integer | Number of results to return. Minimum: 1, maximum: 100. |
| only-public-domain | Boolean | When true, returns only public-domain icons. |
Response
Returns a JSON object with an icons array field. Each item in icons is an object with id, url, license, and thumbnail fields.
| Parameter | Type | Description |
|---|---|---|
| icons | Object Array | List of matching icons. Each item includes id, url, width, height, license, and thumbnail. |
| icons[].id | String | Icon identifier. Nullable. |
| icons[].url | String | Icon URL. Nullable. |
| icons[].width | Integer | Icon width. |
| icons[].height | Integer | Icon height. |
| icons[].license | Object | License information for the icon. |
| icons[].license.link | String | Link associated with the license. Nullable. |
| icons[].license.name | String | License name. Nullable. |
| icons[].thumbnail | String | Thumbnail URL for the icon. Nullable. |


