Searching and getting asset details
Find assets by keyword or image and get their details for free.
Searching by keyword
Send GET /v3/search with a query and an asset type. Leave query empty to browse everything.
curl "https://api.iconscout.com/v3/search?query=loading&asset=lottie&formats[]=json&sort=popular" \ -H "Client-ID: $ICONSCOUT_CLIENT_ID"
Asset types and the filters they support
|
Asset |
Asset value |
Formats you can filter by |
Styles |
|---|---|---|---|
|
Icons |
|
svg, png |
Yes |
|
Illustrations |
|
svg, png, eps |
Yes |
|
3D icons |
|
png, gltf, glb, obj, fbx, blend |
No |
|
Lottie animations |
|
json, lottie, gif, mp4, aep, tgs |
No |
|
AI images |
|
png, jpg, jpeg |
No |
Styles: colored-outline, doodle, dualtone, flat, glyph, gradient, isometric, line, rounded, sticker.
Useful filters
|
Filter |
What it does |
|---|---|
|
|
|
|
|
|
|
|
Only assets available in these formats |
|
|
Icons and illustrations only |
|
|
horizontal, vertical, square and panorama options. Not for icons. |
|
|
Icon grid size in pixels, for example |
|
|
Filter by category slug, for example |
|
|
Must have all of these tags, or none of them |
|
|
Only assets from these contributors |
|
|
Published between these dates (YYYY-MM-DD) |
Pages of results
per_pagedefaults to 60 for icons and 30 for everything else. The maximum is 200.- Only the first 1,500 results can be paged through. A page past that comes back empty, not as an error.
- Stop paging when
next_page_urlis empty.
Getting an asset's details
Each search result has a uuid. Send it to GET /v3/items/{uuid} to get the asset's full details and previews. Two optional extras:
additional_informations=trueadds technical details such as dimensions and Lottie animation length.ai_metadata=trueadds an AI-written description: alt text, caption, concepts, style, colors and any visible text. Assets not yet described return it empty.
Searching by image (reverse image search)
Send POST /v3/reverse-image-search with your Client ID and Client Secret to find assets that look like a reference image. Give the image in one of three ways:
|
Option |
Use it when |
|---|---|
|
|
The image is at a public URL |
|
|
You're uploading the image: JPG, JPEG, PNG or WebP, up to 10 MB |
|
|
You're getting page 2 or changing filters for an image you already searched. The first response gives you the hash. |
You can filter by asset, price, formats, styles, the category filters and contributors. Results are always sorted by how similar they look. sort, orientation, icon_grid, tag and date filters aren't supported here and return a 400 error.
Common errors
|
Error |
Reason |
What to do |
|---|---|---|
|
400 |
|
Check the filter values above |
|
401 |
|
Check your Client ID (and Client Secret for image search) |
|
404 |
|
Check the asset UUID |
|
422 |
|
The app has no active API plan |
|
429 |
|
Wait for the |
For more details, visit IconScout API docs.