Freepik API
Integrate Freepik's stock content library and AI-powered tools into your own applications.
The Freepik API lets developers integrate Freepik's content and AI capabilities directly into their own products, platforms, and workflows. Instead of using the Freepik website manually, you can programmatically search for stock assets, generate AI images and videos, edit content, and more through standard REST API calls.
The full technical reference (endpoints, parameters, authentication details, code examples, and response schemas) lives in the API documentation at docs.freepik.com. This article covers the essentials to help you understand what the API offers and how to get started.
In this article
- What you can do with the API
- Getting started
- API dashboard
- Pricing and billing
- Rate limits
- Usage rules
- Common error codes
- Resources and support
What you can do with the API
The API is organized into several service areas:
| Service | What it does |
|---|---|
| Stock content | Search, filter, and download from over 200 million assets: vectors, photos, icons, PSD files, and more |
| AI image generation | Generate images from text prompts using multiple AI models, including Mystic, Flux, and others |
| AI video generation | Create videos from text or image inputs using AI models |
| Image editing | Remove backgrounds, upscale images with Magnific, apply filters, and perform other edits programmatically |
| Icons | Search and download icons with format and style filters |
| Audio | Generate sound effects and audio content via AI |
Getting started
Create a Freepik account
If you do not have one yet, sign up at freepik.com.
Go to the API page
Visit freepik.com/api and click Get started.
Generate your API key
In the API Dashboard, go to the API key section and generate a new key. This key authenticates all your requests.
Make your first request
Include your API key in the x-freepik-api-key header of every HTTP request. See docs.freepik.com/quickstart for a step-by-step example.
API dashboard
The API Dashboard is your central hub for managing everything related to your API usage. You can access it by clicking your profile picture in the top-right corner and selecting API Dashboard, or by going directly to freepik.com/developers/dashboard.
From the dashboard you can:
- View and regenerate your API key
- Track usage and monitor request volume in real time
- Set a monthly budget to control spending
- Review rate limits and pricing for each service
- Manage billing information and payment methods
Pricing and billing
The Freepik API uses a pay-per-use model. You are charged based on the number and type of requests you make. There is no fixed monthly subscription required. You only pay for what you use, billed at the end of each month.
Key billing details
- Free tier: up to 5 EUR worth of requests at no cost.
- Monthly budget: set a maximum spending limit in the Billing section of your dashboard. If you hit the limit, the service pauses until you increase it.
- Maximum budget cap: 500 EUR by default. Contact the Sales team if you need a higher limit.
- Invoicing: invoices are issued on the 5th of the following month.
- No hidden fees: pricing is transparent and available on the API pricing page.
For detailed per-service pricing, visit the API pricing page.
Benefits of upgrading
Upgrading beyond the free tier gives you access to the full Premium content library of over 200 million assets, higher rate limits, uninterrupted service, and flexible pay-per-use billing with no precommitment.
Enterprise and high-volume
For usage over 500 EUR/month, Freepik offers custom rate limits, volume pricing discounts, dedicated support, and flexible payment options. Contact the Sales team to discuss a tailored plan.
Rate limits
The API enforces rate limits to ensure stability and fair usage for all developers. Limits apply at both the API key and IP address level.
| Limit type | Threshold |
|---|---|
| Per-second burst | 50 requests per second over a 5-second window |
| Average rate | 10 requests per second averaged over a 2-minute window |
| Daily limits | Vary by service. Check your dashboard for specific RPD (requests per day) and IPD (images per day) limits |
If you exceed these limits, requests may be throttled or temporarily blocked until the limit resets. If your application requires higher limits, contact the Sales team to discuss a custom plan.
Usage rules
The Freepik API is designed for integration into digital products and workflows. To keep your API access active, follow these rules:
- Do not use the API for data mining, content scraping, or AI model training.
- Do not sell or redistribute Freepik content without modification.
- Report downloads accurately: trigger a download request every time a resource is uniquely used by a user. For example, when someone selects an image for a blog post, sets it as a header, or uses it as a background.
- Caching is allowed as long as you maintain an active plan and report all downloads accurately and promptly.
Common error codes
When something goes wrong with a request, the API returns standard HTTP status codes. Here are the most common ones:
| Code | Meaning | What to do |
|---|---|---|
| 401 Unauthorized | API key is invalid or missing | Check that your key is included in the x-freepik-api-key header and is correctly formatted |
| 404 Not Found | Endpoint or resource does not exist | Double-check the URL and request parameters |
| 429 Too Many Requests | Rate limit exceeded | Wait for the limit to reset, upgrade your plan, or contact Sales for higher limits |
| 500 Internal Server Error | Server-side issue | Retry the request. If it persists, contact support |
For the full list of response codes and their meanings, refer to the API documentation.
Resources and support
| Resource | URL |
|---|---|
| Full API documentation | docs.freepik.com |
| API landing page | freepik.com/api |
| API dashboard | freepik.com/developers/dashboard |
| API Playground | freepik.com/api/playground |
| API pricing | freepik.com/api/pricing |
| Contact Sales | freepik.com/api#contact |
If you run into issues or have questions about your API integration, you can reach the support team through the contact form at freepik.com/api#contact or through the general support page.
Can't find an answer to your question?
Our support team is here to help you with any questions or issues.
Submit a request