Freepik

    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

    The API is organized into several service areas:

    ServiceWhat it does
    Stock contentSearch, filter, and download from over 200 million assets: vectors, photos, icons, PSD files, and more
    AI image generationGenerate images from text prompts using multiple AI models, including Mystic, Flux, and others
    AI video generationCreate videos from text or image inputs using AI models
    Image editingRemove backgrounds, upscale images with Magnific, apply filters, and perform other edits programmatically
    IconsSearch and download icons with format and style filters
    AudioGenerate sound effects and audio content via AI
    Available services and models may change as Freepik adds new AI capabilities. Check docs.freepik.com for the latest endpoint list.

    Getting started

    1

    Create a Freepik account

    If you do not have one yet, sign up at freepik.com.

    2

    Go to the API page

    Visit freepik.com/api and click Get started.

    3

    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.

    4

    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.

    Free planThe Freepik API includes a free tier with up to 5 EUR worth of API requests at no cost. This lets you test and explore the API before committing to a paid plan.

    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 typeThreshold
    Per-second burst50 requests per second over a 5-second window
    Average rate10 requests per second averaged over a 2-minute window
    Daily limitsVary 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.
    ImportantBreaching these rules will result in immediate API access removal.

    Common error codes

    When something goes wrong with a request, the API returns standard HTTP status codes. Here are the most common ones:

    CodeMeaningWhat to do
    401 UnauthorizedAPI key is invalid or missingCheck that your key is included in the x-freepik-api-key header and is correctly formatted
    404 Not FoundEndpoint or resource does not existDouble-check the URL and request parameters
    429 Too Many RequestsRate limit exceededWait for the limit to reset, upgrade your plan, or contact Sales for higher limits
    500 Internal Server ErrorServer-side issueRetry 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

    ResourceURL
    Full API documentationdocs.freepik.com
    API landing pagefreepik.com/api
    API dashboardfreepik.com/developers/dashboard
    API Playgroundfreepik.com/api/playground
    API pricingfreepik.com/api/pricing
    Contact Salesfreepik.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