GET
/
v1
/
icons
/
{id}
/
download
{
  "data": {
    "filename": "filename",
    "url": "https://openapi-generator.tech"
  }
}

Authorizations

x-freepik-api-key
string
headerrequired

Your Freepik API key. Required for authentication. Learn how to obtain an API key

Headers

Accept-Language
string

Specifies the search query language using the ISO 639-1 (2-letter language code) and the ISO 3166-1 (2-letter country code) for language variants. The API will use "en-US" as a default language for processing if a code is not provided, or does not exist.

Path Parameters

id
integer
required

Icon resource ID

Query Parameters

format
enum<string>
default: png

These are the formats available for download.

Available options:
svg,
png
png_size
enum<integer>
default: 512

These are the sizes available for png_url formats.

  • Note: Only apply to format png.
Available options:
512,
256,
128,
64,
32,
24,
16

Response

200 - application/json
data
object