Skip to content
Pexels logovsUnsplash logo

Pexels API vs Unsplash API

Two free Photography APIs compared on access, reliability and developer ratings, using data from our daily health checks.

The verdict

  • Choose Pexels API if you want to call it from browser JavaScript, faster responses.
  • Choose Unsplash API for its data: Create with the largest collection of high-quality images that are free to use.

Side by side

Pexels APIUnsplash API
What it doesFree Stock Photos and Videos.Create with the largest collection of high-quality images that are free to use.
Providerpexels.comUnsplash
API keyRequiredOAuth
HTTPSYesYes
CORS (browser calls)YesUnknown
Status todayOnline · 76 msOnline · 974 ms
Uptime (30 days)UpUp
Developer ratingNot rated yetNot rated yet
PriceFree / free tierFree / free tier

About each API

Unsplash logoUnsplash API

Create with the largest collection of high-quality images that are free to use.

Create with the largest collection of high-quality images that are free to use. Trusted by Trello, Medium, and thousands of other API applications to power their free picture needs.

Strengths

  • HTTPS

Ratings, reviews and FAQ →

How to choose between them

  • Prototyping or a tutorial? Pick the one that needs no API key (neither does, so compare their free tiers).
  • Calling from a web page? You need CORS. Otherwise route requests through your own server or a serverless function.
  • Going to production? Favour HTTPS, a strong uptime record and a provider with clear rate limits and terms. Check each API's docs before you commit.
  • Still unsure? Both are free to try: send one request to each and compare the data you get back.

Pexels vs Unsplash FAQ

Do Pexels API and Unsplash API need an API key?

Both require authentication (apiKey and OAuth).

Which can I call from the browser?

Pexels API supports CORS, so front-end JavaScript can call it directly. Call the other from a server.

More comparisons

Pexels API alternatives · Unsplash API alternatives · best Photography APIs