Software

Pexels API New Key Issuance Paused: What It Means and the Best Alternatives

Talha Aslan 19 min read

Short answer

Has the Pexels API paused new API key issuance?

Yes. The Pexels API is the developer interface that lets apps search free Pexels photos and videos, and the notice on its official API page says new key issuance is currently paused. The page states that new keys cannot be requested, but it gives no reason and no date for reopening.

Keep reading for the full details and examples

If your website, plugin, or app pulls images from the Pexels API, you have probably hit two questions lately: why can't I get a new key, and what happens to the key I already have? This guide covers what the official pages say, what they leave out, and how to protect your project starting today.

Its wording is short: "New API key issuance is currently paused and cannot be requested." We see the same sentence on the Pexels API page and on the key request page. In other words, the form is not broken; Pexels has deliberately stopped handing out new keys for now.

However, this affects two groups differently. A developer starting a new project has no path to a key right now, so they need another provider or their own image library. A site owner who already holds a key faces a continuity question instead. We cover both groups below. If you plan to host images yourself, also put an image resizer step into your workflow from day one.

Why do the Pexels API page and the documentation disagree?

This is where the confusion starts. While the API page says new keys are paused, the Pexels API documentation still carries the older sentence: anyone with a Pexels account can request a key and receive it instantly.

Obviously, both statements cannot be true at the same time. Our reading: the notice is newer and more specific, while the documentation simply has not caught up. Therefore we suggest treating the notice as the current status. That said, this is an interpretation; Pexels has not officially explained the gap between the two pages.

In practice, the takeaway is simple. Do not promise a client or teammate that "the docs say keys are instant." Open the request page yourself, and if the notice is still there, plan for a no-key scenario. Also, checking that page on a regular schedule lets you act quickly once the notice disappears.

Will my existing Pexels API key keep working?

The official page does not answer this. The notice only talks about new keys. It does not say that existing keys will be shut off or restricted, but it also does not commit to keeping them running.

Given that uncertainty, the sensible move is to test your key today and prepare a fallback even if it works. A feature that depends on a single outside provider can stop quietly on that provider's decision. Above all, do not postpone the plan in these cases:

  • Your homepage or product pages load images live from Pexels.
  • A plugin or theme you sell runs on a key you embedded yourself.
  • Your app has an image search screen with no other source behind it.
  • You do not know who created the key or which account it lives in.

The last point comes up more often than you might expect. A key that sits in a former developer's account disappears for you too if that account closes. So add key ownership to your checklist as well.

How do you test whether your Pexels API key still works?

You can run the test with a single request and no new code. According to the documentation, you send the key in the Authorization header on every request. The photo search endpoint is api.pexels.com/v1/search. Follow these steps:

  1. Copy your key from a secure place. Never leave it visible in a screen share or chat channel.
  2. In an API client or terminal, send a simple search query, for example the word "nature."
  3. Add your key to the Authorization header and run the request.
  4. Check the status code. A 2xx response means the key works right now.
  5. Note the X-Ratelimit-Limit, X-Ratelimit-Remaining, and X-Ratelimit-Reset values in the response headers.
  6. Log the result with a date in your project notes so you can compare next time.

The documentation states that these rate limit headers only come back on successful responses. So if you get an error, missing headers alone tell you nothing. The documentation also does not say which status code an invalid key returns, so look closely at any non-2xx response. If APIs are new to you, start with our guide on what an API is, with examples.

What do the Pexels API rate limits and headers tell you?

The default limit in the documentation is 200 requests per hour and 20,000 requests per month. These values can change, so check the current numbers in the official documentation. Once you exceed the limit, the API returns a 429 "Too Many Requests" response.

In addition, the response headers show your live status. X-Ratelimit-Limit gives your monthly total, X-Ratelimit-Remaining shows what is left, and X-Ratelimit-Reset gives the moment the monthly period rolls over as a UNIX timestamp. Logging these three values shows how fast you burn through your quota.

The documentation also warns that trying to work around the limit can end your API access. In practice, ideas like splitting traffic across several keys carry real risk. If you need a higher limit, the API page says to contact Pexels by email and notes that limits can be lifted when you provide proper attribution. For a general approach to 429 errors, our 429 rate limit error guide walks through it with a different API; the wait and retry logic applies here too.

What are the Pexels API attribution rules?

Two separate documents apply here, and people often mix them up. One is the image license; the other is the API terms. The Pexels license says photos and videos are free to use and that giving credit is not necessary, though it is appreciated.

The API side, however, sets a clearer expectation. According to the documentation, your app should show a prominent link to Pexels, either as a text link or the Pexels logo. You should also credit photographers when possible, with a link to the photo's Pexels page.

The license also rules out certain uses:

  • Showing identifiable people in a bad light or in an offensive way.
  • Selling unaltered copies, such as posters, prints, or physical products.
  • Implying that people or brands in the image endorse your product.
  • Redistributing or selling the files on other stock photo or wallpaper platforms.
  • Using the images as part of a trademark, trade name, or logo.

For that reason, storing attribution data (photographer name, page URL) alongside each image in your database makes life easier, even if you switch providers later.

Which projects does the pause affect most?

Specifically, the impact depends on how live your dependency on Pexels is. If you downloaded images once and uploaded them to your site, the key status barely matters. On the other hand, a setup that calls the API on every page view or search breaks directly when the key fails.

Project typeRisk levelWhyFirst step
Site that downloaded and uploaded images onceLowThe images already live on your serverComplete your attribution records
Image search inside an admin panelMediumNew content creation stalls, live pages stay intactAdd a second provider
Site that loads images live on each pageHighIf the key stops, visitors see empty spacesAdd caching and fallback images
Plugin or theme sold to customersHighNew users cannot get their own keyAdd multi-provider support
Mobile app with in-app image searchHighStore updates take timeMake the provider switchable on the server

The last row matters. If the provider URL lives inside the mobile app, any change needs a new release. However, if requests pass through your own server, you swap the provider there and leave the app untouched.

What is the best free stock photo API as a Pexels API alternative?

Three options stand out whose official documentation we could verify: the Pixabay API, the Unsplash API, and Openverse. All three let developers search images, but their rules differ sharply. On hosting in particular, providers can ask for the exact opposite of each other.

When you choose, "is it free?" is not enough. Ask these four questions too:

  • How do I get a key, and is there an approval step?
  • Does the default limit cover my traffic?
  • May I download images to my own server, or must I use the provider's URLs?
  • Where and how do I need to show attribution?

If you are not sure stock images are the right call at all, our article on stock photos vs custom photography covers that decision. Here we focus on the technical move. When several providers, caching, and license records come into play, a custom software development approach pays off; we explain at the end how we build that layer.

How do the free image APIs compare?

The table below summarizes what each provider states in its own official documentation. Limits can change, so always check the current values on the provider's official page.

ProviderGetting a keyDefault limitAttributionNote
Pexels APINew key issuance paused200 per hour, 20,000 per monthProminent link to Pexels, credit photographers when possibleNo official statement on existing keys
Pixabay APIShown on the docs page once you log in100 requests per 60 secondsShow the source wherever search results appearCache responses for 24 hours, no permanent hotlinking
Unsplash APIDeveloper registration and a new app50 per hour in demo, 1,000 per hour after approvalCredit the photographer and UnsplashUse returned image URLs directly, trigger the download endpoint
OpenverseRegister and authenticate for the default tierVaries by tierLicense-compliant credit for Creative Commons worksOpenverse does not verify licenses; that is on you

The key lesson: switching providers is not just swapping a URL. For example, Pixabay wants you to download images, while the Unsplash API requires you to use the URLs it returns. So your code must behave differently per provider.

What should you watch for when moving to the Pixabay API?

The Pixabay API documentation shows your key on the same page once you log in. The default limit is 100 requests per 60 seconds, and it applies per key, not per IP address. If you exceed it, you get a 429 response.

Beyond that, two Pixabay rules shape your architecture; let us look at each. First, you must cache requests for 24 hours. In other words, sending the same search again for every visitor breaks the rules. Second, permanent hotlinking (showing an image straight from the provider's URL) is not allowed. You may show images temporarily in search results, but once you decide to use one, you need to download it to your server first.

In addition, you should show users where images come from whenever you display search results. Taken together, these rules make Pixabay a good fit for projects that want to keep images on their own infrastructure. After downloading, do not skip size and format work; running files through a jpg to webp converter pays off directly in page speed.

How is the Unsplash API different?

According to the Unsplash API documentation, you first register as a developer and then create an application. Your app starts in demo mode at 50 requests per hour. After production approval, the limit rises to 1,000 requests per hour. You authenticate with the Client-ID prefix in the Authorization header.

Hosting is where Unsplash parts ways with Pixabay. The API requires that the image URLs it returns be used directly in your application. Also, each time your app downloads a photo, you must send a request to the matching download endpoint. That keeps the photographer's download stats accurate.

On attribution, every application must follow the API guidelines and credit both the photographer and Unsplash. The Unsplash license says images are free to use, but you cannot sell them without significant modification, and you cannot compile them to build a similar or competing service. If you are building your own image search product, factor in that last point.

Who is Openverse a good fit for?

Openverse is a search engine that aggregates metadata about openly licensed content hosted on third-party sites. It does not own that content. The Openverse terms of service spell this out: Openverse does not verify licensing status, and you are responsible for independently confirming that you have the right to use the content.

The terms also include other points for developers. You must give proper attribution for Creative Commons works, prominently state that your product was made using Openverse, and note that Openverse does not endorse it. Scraping the catalog and using multiple machines to get around rate limits are off limits. The terms also say Openverse may charge fees for commercial or heavy use.

Per the developer docs, authenticating unlocks a default rate limit tier, while a higher tier is granted selectively. In short, Openverse is a strong option for projects that store and display license data carefully. It is a poor fit for a setup that cannot check licenses.

How do the providers differ on licensing and copyright?

Pexels and Unsplash each use their own license, and neither license requires credit. However, their API terms ask for attribution separately from the license. So downloading an image by hand from the website and pulling it through the API do not carry the same obligations.

Openverse works differently because every work arrives with its own Creative Commons license. One work may bar commercial use; another may not allow derivatives. As a result, publishing Openverse results without filtering by license type is risky.

Our team's practical rule: for every image, store provider, source URL, photographer name, license name, and retrieval date in one record. That record makes attribution easy and helps you prove the source if anyone ever disputes it. For the reverse case, when someone else uses your images, see our guide on what to do when someone uses your website images. This section is not legal advice; for commercial projects, review the license text with a lawyer.

How do you protect a Pexels API project step by step?

The sequence below works the same way for a WordPress plugin, a business website, or a mobile app. Follow it in order and your live pages stay safe no matter what happens on the Pexels side.

  1. Take inventory. List every place that calls Pexels and which account holds the key.
  2. Protect the key. Keep it out of browser code and store it server side in an environment variable.
  3. Route requests through your own server. The client calls your endpoint, and the server picks the provider.
  4. Add caching. Store results for repeat searches; for Pixabay, keep them at least 24 hours.
  5. Localize the images you use. If the license and provider rules allow it, download them to your server.
  6. Optimize. Resize each downloaded image to its display size and convert it to a modern format.
  7. Complete attribution records. Store photographer, source URL, and license with each image.
  8. Add a second provider and reduce switching to a single config change.

For step six, a free image resizer speeds things up: open the tool, upload the downloaded image, enter your site's display width, and save the output. Our website image sizes guide shows which dimensions work in which areas.

How do you build a provider abstraction layer?

An abstraction layer lets your code say "search images" instead of "fetch photos from Pexels." The rest of the application never knows which provider is active; it only receives a shared result format.

Next, that shared format should include at least: provider name, provider ID, preview URL, full size URL, width and height, photographer name, photographer page, license name, and a hosting rule. The last field is critical because it tells your code whether to download the image or display it from the provider's URL.

You then write one adapter per provider. Each adapter maps the provider's response to the shared format, reads the rate limit headers, and waits and retries when it gets a 429. Also, if one provider fails repeatedly, the system can fall back to the next one automatically.

At first glance, this looks like extra work, so it is tempting to skip it. But if something like the Pexels pause hits another provider tomorrow, switching becomes a one-line setting instead of days of code changes. When you need to react to provider events in real time, knowing the difference between a webhook and an API also simplifies the design.

Example scenario: a blog plugin with built-in image search

This is an example scenario. A developer sells a plugin that lets authors search stock images from the post editor, and it runs on the Pexels API only. Each customer enters their own key during setup.

After the pause, new customers cannot get a key, so setup stalls. Existing customers still seem fine. The developer's first move is a health check for existing keys: once a day, the plugin sends a small request, logs the rate limit headers, and shows an admin notice if something looks wrong.

Next, the developer builds an abstraction layer and adds a Pixabay adapter. Following Pixabay's rules, the plugin caches search results for 24 hours and downloads the file into the media library when an author picks an image. It also writes the attribution into the image description. New customers start with a Pixabay key, existing customers keep Pexels, and both groups see the same interface.

The most common problem after a plugin update like this is a conflict with another plugin on the site. In that case, our steps for rolling back after a plugin update breaks your site will help.

What are the most common Pexels API migration mistakes?

We see the same mistakes again and again during migrations. Knowing them upfront saves time and keeps you clear of rule violations:

  • Embedding the key in browser code. Anyone can see it, and others can drain your limit.
  • Splitting traffic across several keys or accounts. The Pexels and Openverse docs explicitly forbid this kind of workaround.
  • Showing Pixabay images permanently from the provider's URL. The docs do not allow it.
  • Copying Unsplash images to your server and ignoring the API rules. The API asks for direct URL use and download tracking.
  • Skipping attribution records. Once you switch providers, tracing old images becomes nearly impossible.
  • Publishing downloaded images without optimizing them. Large files slow your pages.
  • Trusting strangers who offer to sell or share a Pexels key. That breaks the terms and puts your account at risk.

If you see empty boxes after a migration, the cause is usually a wrong file path or a stale cache. We cover why website images stop showing in a separate article.

What should you do for SEO after moving images to your own server?

Serving images from your own domain puts you in control, which is good,, but it also brings a few tasks. First, give files meaningful names, then write alt text that describes each image. Our alt text examples for website images offer a practical starting point.

Second, consider keeping photographer and source data inside the image metadata as well. Our article on IPTC image metadata in Google Images explains how. That way, attribution lives in the file itself, not just in your database.

Finally, if you serve images through a content delivery network, review your cache rules. Old copies lingering on the network after image URLs change is a common issue. Our piece on whether a CDN affects SEO explains the logic behind those settings.

Does it make sense to build your own image library?

For most projects, yes, at least in part. Keeping the images you use in your own storage means no provider decision can take them away. However, you can only do this for images where the license and the provider's API rules allow it; images from the Unsplash API follow different rules.

Likewise, keep a license record next to every image in your library and back those records up. Also, make it clear in your contract who owns the files and the code. We discuss that in detail in our article on who owns website source code and copyright.

Put simply, the goal is to use outside APIs only to discover new images while your live pages run entirely on your own infrastructure. In that model, a pause like the one at Pexels only affects your content team's search screen, not your visitors.

What should you do if Pexels starts issuing keys again?

The notice may go away one day; Pexels gives no date. When that happens, going straight back to the old setup is tempting. Still, this pause showed the risk of relying on a single provider in concrete terms. So keep your abstraction layer and add Pexels back as one provider among several.

Once you get a new key, run through this short list:

  1. Reread the limits and attribution terms in the documentation, because rules may change after the pause.
  2. Create the key under a company account, not a personal one.
  3. Run your health check against the new key and log the rate limit headers.
  4. Even if Pexels becomes your default again, keep the second provider active as a fallback.

That way, you are ready for the next change too.

When does it make sense to bring in professional help?

If you use a handful of images on a single site, you can apply the steps in this guide yourself. But if your product ships to many customers, needs to talk to several providers, or you inherited code from a former developer and do not know how it works, the job grows.

As part of our software development services, Talha Aslan and team build secure integration layers that talk to outside systems, with queues, retries, and logging rules. We also take over older software, map its risks through a technical audit, modernize it module by module, and run updates and monitoring under a maintenance plan after launch. Development follows an OWASP based security checklist, and the source code and repository belong to you from day one. Describe your needs in a quote request and we will define the scope together.

Frequently Asked Questions

Is Pexels issuing new API keys?
No, not right now. The notice on the official Pexels API page says new key issuance is paused and that new keys cannot be requested. It gives no reason and no reopening date. The documentation still says keys arrive instantly, but we recommend treating the newer notice as the current status and checking the page regularly for changes.
Will my existing Pexels API key stop working?
The official page says nothing about this. The notice only covers new keys and makes no promise either way about existing ones. So test your key today with a simple search request, log the result and rate limit headers, and set up a second image provider as a fallback even if your key still works fine.
What is the Pexels API rate limit?
The documentation lists a default of 200 requests per hour and 20,000 requests per month. You can see what remains in the X-Ratelimit-Remaining header on successful responses. Exceeding the limit returns a 429 response. Because these values can change, check the official documentation for current numbers and use caching to cut unnecessary requests.
Do I have to credit Pexels when using the API?
The license does not require it, but the API terms expect it. The Pexels license says credit is not necessary, though appreciated. The API documentation asks you to show a prominent link to Pexels in your app and to credit photographers when possible, linking to the photo's Pexels page. Storing attribution data with each image is the safest approach.
Which free stock photo API should replace the Pexels API?
It depends on your hosting model. If you want images on your own server, Pixabay's download and caching rules fit well. If you are fine using provider URLs directly, the Unsplash API is worth a look. If you can keep careful license records, Openverse offers a large openly licensed archive. Read each provider's official rules first.
Can I download Pexels images to my own server?
The Pexels license lets you use and modify images for free. What it forbids includes selling unaltered copies, redistributing files on other stock platforms, and using images as part of a logo or trademark. You can optimize downloaded images and store them with attribution data. For commercial projects, read the license yourself; this is not legal advice.
  • pexels api
  • pexels api key
  • free stock photo api
  • pixabay api
  • unsplash api
  • openverse
  • image api
Share:
Talha Aslan

Google Partner digital marketing expert. Hands-on with SEO, Google Ads, web design and e-commerce projects since 2012; every post here comes from that experience.

Next project

Get a quote for your project.

Your brief goes straight to Talha Aslan and team: strategy led by Talha, delivery by an experienced team. We reply the same day and send the scope, timeline and price as a written quote within 1 business day.