Skip to main content
Glama

search_resources

Search and filter Freepik visual resources by orientation, content type, license, color, and other criteria to find specific images, vectors, and design assets.

Instructions

Retrieve a list of resources based on various filter criteria such as orientation, content type, license, and more.

Query Parameters:

  • page: Page number. It must be greater than 0 and less than or equal to 100.

  • limit: Limit results per page. It must be greater than 0.

  • order: Specifies the order in which search results are returned. The available options allow you to prioritize results based on different criteria:

  • relevance: Prioritizes results that are most relevant to the search query.

  • recent: Sorts results by the most recent updates.

  • term: Search term. If only term comes, it is searched for term, if only slug comes, it is searched for slug and if both come, it is searched for slug

  • filters: Advanced filtering options for resources

Responses:

  • 200 (Success): Ok Response

    • Content-Type: application/json

    • Response Properties:

      • data: A list of resources.

    • Example:

{
  "data": [
    {
      "image": {
        "orientation": "horizontal",
        "source": {
          "size": "740x640",
          "key": "large",
          "url": "https://img.freepik.com/free-photo/tshirt_53876-104920.jpg"
        },
        "type": "vector"
      },
      "licenses": [
        {
          "type": "freemium",
          "url": "https://www.freepik.com/profile/license/pdf/4350594"
        },
        {
          "type": "freemium",
          "url": "https://www.freepik.com/profile/license/pdf/4350594"
        }
      ],
      "filename": "filename",
      "related": {
        "keywords": {
          "name": "Merry Christmas",
          "slug": "merry-christmas"
        },
        "serie": {
          "image": {
            "orientation": "horizontal",
            "source": {
              "size": "740x640",
              "key": "large",
              "url": "https://img.freepik.com/free-photo/tshirt_53876-104920.jpg"
            },
            "type": "vector"
          },
          "licenses": [
            {
              "type": "freemium",
              "url": "https://www.freepik.com/profile/license/pdf/4350594"
            },
            {
              "type": "freemium",
              "url": "https://www.freepik.com/profile/license/pdf/4350594"
            }
          ],
          "author": {
            "assets": 0,
            "name": "John Doe",
            "id": 2147483647,
            "avatar": "https://avatar.cdnpk.net/61668527-220726032514.jpg",
            "slug": "merry-christmas"
          },
          "id": 15667327,
          "title": "White t-shirt with copy space on gray background",
          "url": "https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm"
        },
        "others": {
          "image": {
            "orientation": "horizontal",
            "source": {
              "size": "740x640",
              "key": "large",
              "url": "https://img.freepik.com/free-photo/tshirt_53876-104920.jpg"
            },
            "type": "vector"
          },
          "licenses": [
            {
              "type": "freemium",
              "url": "https://www.freepik.com/profile/license/pdf/4350594"
            },
            {
              "type": "freemium",
              "url": "https://www.freepik.com/profile/license/pdf/4350594"
            }
          ],
          "author": {
            "assets": 0,
            "name": "John Doe",
            "id": 2147483647,
            "avatar": "https://avatar.cdnpk.net/61668527-220726032514.jpg",
            "slug": "merry-christmas"
          },
          "id": 15667327,
          "title": "White t-shirt with copy space on gray background",
          "url": "https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm"
        }
      },
      "stats": {
        "downloads": 0,
        "likes": 0
      },
      "author": {
        "assets": 0,
        "name": "John Doe",
        "id": 2147483647,
        "avatar": "https://avatar.cdnpk.net/61668527-220726032514.jpg",
        "slug": "merry-christmas"
      },
      "meta": {
        "is_new": true,
        "available_formats": {
          "psd": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "jpg": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "zip": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "fonts": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "svg": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "ai": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "png": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "eps": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "resources": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "3d-render": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "atn": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          }
        },
        "published_at": "2020-12-01T23:50:50Z"
      },
      "id": 15667327,
      "title": "White t-shirt with copy space on gray background",
      "url": "https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm",
      "products": [
        {
          "type": "essential",
          "url": "https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm"
        },
        {
          "type": "essential",
          "url": "https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm"
        }
      ]
    },
    {
      "image": {
        "orientation": "horizontal",
        "source": {
          "size": "740x640",
          "key": "large",
          "url": "https://img.freepik.com/free-photo/tshirt_53876-104920.jpg"
        },
        "type": "vector"
      },
      "licenses": [
        {
          "type": "freemium",
          "url": "https://www.freepik.com/profile/license/pdf/4350594"
        },
        {
          "type": "freemium",
          "url": "https://www.freepik.com/profile/license/pdf/4350594"
        }
      ],
      "filename": "filename",
      "related": {
        "keywords": {
          "name": "Merry Christmas",
          "slug": "merry-christmas"
        },
        "serie": {
          "image": {
            "orientation": "horizontal",
            "source": {
              "size": "740x640",
              "key": "large",
              "url": "https://img.freepik.com/free-photo/tshirt_53876-104920.jpg"
            },
            "type": "vector"
          },
          "licenses": [
            {
              "type": "freemium",
              "url": "https://www.freepik.com/profile/license/pdf/4350594"
            },
            {
              "type": "freemium",
              "url": "https://www.freepik.com/profile/license/pdf/4350594"
            }
          ],
          "author": {
            "assets": 0,
            "name": "John Doe",
            "id": 2147483647,
            "avatar": "https://avatar.cdnpk.net/61668527-220726032514.jpg",
            "slug": "merry-christmas"
          },
          "id": 15667327,
          "title": "White t-shirt with copy space on gray background",
          "url": "https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm"
        },
        "others": {
          "image": {
            "orientation": "horizontal",
            "source": {
              "size": "740x640",
              "key": "large",
              "url": "https://img.freepik.com/free-photo/tshirt_53876-104920.jpg"
            },
            "type": "vector"
          },
          "licenses": [
            {
              "type": "freemium",
              "url": "https://www.freepik.com/profile/license/pdf/4350594"
            },
            {
              "type": "freemium",
              "url": "https://www.freepik.com/profile/license/pdf/4350594"
            }
          ],
          "author": {
            "assets": 0,
            "name": "John Doe",
            "id": 2147483647,
            "avatar": "https://avatar.cdnpk.net/61668527-220726032514.jpg",
            "slug": "merry-christmas"
          },
          "id": 15667327,
          "title": "White t-shirt with copy space on gray background",
          "url": "https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm"
        }
      },
      "stats": {
        "downloads": 0,
        "likes": 0
      },
      "author": {
        "assets": 0,
        "name": "John Doe",
        "id": 2147483647,
        "avatar": "https://avatar.cdnpk.net/61668527-220726032514.jpg",
        "slug": "merry-christmas"
      },
      "meta": {
        "is_new": true,
        "available_formats": {
          "psd": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "jpg": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "zip": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "fonts": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "svg": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "ai": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "png": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "eps": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "resources": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "3d-render": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          },
          "atn": {
            "total": 1,
            "items": [
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              },
              {
                "size": 100,
                "colorspace": "RGB",
                "name": "image.jpg",
                "id": 1
              }
            ]
          }
        },
        "published_at": "2020-12-01T23:50:50Z"
      },
      "id": 15667327,
      "title": "White t-shirt with copy space on gray background",
      "url": "https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm",
      "products": [
        {
          "type": "essential",
          "url": "https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm"
        },
        {
          "type": "essential",
          "url": "https://www.freepik.com/free-photo/white-t-shirts-with-copy-space-gray-background_15667327.htm"
        }
      ]
    }
  ],
  "meta": {
    "per_page": 1,
    "total": 1,
    "last_page": 1,
    "current_page": 1,
    "clean_search": true
  }
}
  • 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"
}
  • 503: Service Unavailable

    • Content-Type: application/json

    • Response Properties:

    • Example:

{
  "message": "Service Unavailable. Please try again later."
}

Input Schema

TableJSON 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.
pageNoPage number. It must be greater than 0 and less than or equal to 100.
limitNoLimit results per page. It must be greater than 0.
orderNoSpecifies the order in which search results are returned. The available options allow you to prioritize results based on different criteria: - `relevance`: Prioritizes results that are most relevant to the search query. - `recent`: Sorts results by the most recent updates. relevance
termNoSearch term. If only term comes, it is searched for term, if only slug comes, it is searched for slug and if both come, it is searched for slug
filtersNoAdvanced filtering options for resources
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full burden of behavioral disclosure. It does mention pagination behavior (page/limit parameters) and includes extensive HTTP response documentation with status codes and examples. However, it doesn't cover important aspects like rate limits, authentication requirements, or whether this is a read-only operation (though 'retrieve' implies read-only).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is excessively long and poorly structured. It includes massive JSON response examples (over 500 lines) that belong in an output schema, not a tool description. The core purpose statement is buried under parameter details and response documentation. While the initial sentence is concise, the overall structure is bloated with redundant information.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a complex search tool with 6 parameters, nested objects, and no output schema, the description is incomplete. While it documents HTTP responses extensively, it lacks crucial context about authentication, rate limits, error handling beyond HTTP codes, and how to interpret the complex response structure. The massive example doesn't compensate for missing behavioral guidance.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema description coverage is 100%, so the schema already documents all parameters thoroughly. The description repeats some parameter information (page, limit, order, term, filters) but doesn't add significant semantic value beyond what's in the schema. The baseline of 3 is appropriate when the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool's purpose: 'Retrieve a list of resources based on various filter criteria.' It specifies the verb ('retrieve'), resource ('resources'), and scope ('based on various filter criteria'). However, it doesn't explicitly differentiate from sibling tools like 'search_icons' or 'get_resource_detail_by_id', which would be needed for a perfect score.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description provides no guidance on when to use this tool versus alternatives. It doesn't mention sibling tools like 'search_icons' for icon-specific searches or 'get_resource_detail_by_id' for single resource details. There's no context about prerequisites, authentication requirements, or typical use cases.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

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