API Key Authentication

Freepik API uses API keys to authenticate requests. You need to include your API key in the header of every API request to access the Freepik resources.

Currently, private API keys are the only way to authenticate with the Freepik API. This means that only server-to-server calls can be made to the API


All API endpoints are authenticated using API keys and picked up from the specification file.

Freepik API

Download the OpenAPI specification file

Obtaining an API Key

To get an API key:

  1. Sign up for a Freepik account at freepik.com/api
  2. If you are already registered, visit the API dashboard at freepik.com/developers/dashboard
  3. Look for the API key section and generate a new API key

Keep your API key secure and do not share it publicly. If you believe your key has been compromised, please contact us and we will generate a new one for you.

Using the API Key

Include your API key in the x-freepik-api-key header of your HTTP requests:

curl -H "x-freepik-api-key: YOUR_API_KEY" https://api.freepik.com/v1/resources

Rate Limiting

Be aware that API requests are subject to rate limiting. The specific limits may vary based on your account type and agreement with Freepik. Always check the API response headers for rate limit information.