Skip to main content
Glama

Freepik FastMCP Toolkit

4
  • Linux

download_icon_by_id

Retrieve and download icons by their unique ID in specified formats and sizes using the Freepik FastMCP Toolkit. Customize downloads for PNG, SVG, and more, ensuring compatibility with your design needs.

Instructions

Download the specified icon by its unique ID in the requested format and size.

Path Parameters:

  • id (Required): Icon resource ID

Query Parameters:

  • format: These are the formats available for download
  • Note: gif, mp4, aep, json, psd and eps are not available for standard and sticker icon types.
  • png_size: These are the sizes available for png_url formats.
  • Note: Only apply to format png.

Responses:

  • 200 (Success): OK
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "data": { "filename": "filename", "url": "https://openapi-generator.tech" } }
  • 400: Bad Request - The server could not understand the request due to invalid syntax.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 401: Unauthorized - The client must authenticate itself to get the requested response.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 403: Forbidden - The client does not have permission to access the requested resource.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 404: Not Found - The server can not find the requested resource.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 429: Too Many Requests - The client has sent too many requests in a given amount of time.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "message" }
  • 500: Internal Server Error - The server has encountered a situation it doesn't know how to handle.
    • Content-Type: application/json
    • Response Properties:
    • Example:
{ "message": "Internal Server Error" }

Input Schema

NameRequiredDescriptionDefault
Accept-LanguageNoSpecifies 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.
formatNoThese are the formats available for download - Note: gif, mp4, aep, json, psd and eps are not available for standard and sticker icon types.
idYesIcon resource ID
png_sizeNoThese are the sizes available for png_url formats. - Note: Only apply to format png.

Input Schema (JSON Schema)

{ "properties": { "Accept-Language": { "description": "Specifies the search query language using the ISO 639-1 (2-letter\nlanguage code) and the ISO 3166-1 (2-letter country code) for language variants.\nThe API will use \"en-US\" as a default language for processing if a code is not\nprovided, or does not exist.\n", "type": "string" }, "format": { "description": "These are the formats available for download\n- Note: gif, mp4, aep, json, psd and eps are not available for standard and sticker icon types.\n", "enum": [ "svg", "png", "gif", "mp4", "aep", "json", "psd", "eps" ], "type": "string" }, "id": { "description": "Icon resource ID", "type": "integer" }, "png_size": { "default": 512, "description": "These are the sizes available for png_url formats.\n- Note: Only apply to format png.\n", "enum": [ 512, 256, 128, 64, 32, 24, 16 ], "type": "integer" } }, "required": [ "id" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/freepik-company/freepik-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server