Skip to content
  • There are no suggestions because the search field is empty.

Downloading assets through the API

Download assets in the format and size you need.

To download an asset, send its UUID with the format and size you want. You get back a temporary download link. Downloads need your Client ID and Client Secret and use API credits.

How to download

  1. Find the asset with search and copy its uuid.
  2. Send POST /v3/items/{uuid}/api-download with format, width and height. All three are required.
  3. Open or save the file from the download link in the response. The link expires after a short time, so download it straight away.
curl -X POST "https://api.iconscout.com/v3/items/{uuid}/api-download" \   -H "Client-ID: $ICONSCOUT_CLIENT_ID" \   -H "Client-Secret: $ICONSCOUT_CLIENT_SECRET" \   -H "Content-Type: application/json" \   -d '{"format":"png","width":512,"height":512}'

Setting the size

Format

Width and height

PNG

width sets the size, for example 512 for 512×512

SVG, JSON, Lottie

Set both to 0

3D formats (glTF and others)

Ignored

Formats by asset type

Asset

Formats

Icons

svg, png

Illustrations

svg, png, eps

3D icons

png, gltf, glb, obj, fbx, blend

Lottie animations

json, lottie, gif, mp4, aep, tgs

AI images

png, jpg, jpeg

Not every asset has every format. For example, only some Lottie animations come with an AEP file.

Formats by plan

Plan

Formats you can download

Free

PNG

Starter

SVG, PNG

Basic

SVG, PNG, JSON

Essential

SVG, PNG, JSON

Custom

Includes Lottie

The Free plan covers free assets only.

Downloading several formats at once

Need the same asset as, say, SVG and PNG? Send POST /v3/items/{uuid}/download-files with a list of formats, plus width and height. You get one download link per format. Formats the asset doesn't have are skipped, and the call only fails if none of them exist. [Confirm whether each format uses credits.]

How many credits does a download use?

It depends on the asset type. Icons use fewer credits than illustrations, 3D icons and Lottie animations. See the pricing table for current costs.

Common errors

Error

Reason

What to do

400

invalid_request

Check format, width and height are all sent

400

asset_not_covered

Your plan doesn't cover this asset, for example a premium asset on the Free plan. Upgrade (Article 7).

401

invalid_credentials

Send both Client ID and Client Secret

402

credit_limit_reached

This download would go past your spending limit for the billing period (Article 8)

404

item_not_found

Check the asset UUID

404

format_not_available

The asset doesn't come in that format. The message lists the formats it does have.

422

subscription_required

The app has no active API plan

429

rate_limit_exceeded

Wait for the Retry-After time (Article 9)

For more details, visit IconScout API Docs.