Skip to content

Pexels API

API keyHTTPSCORSPhotography
Open documentation ↗

Overview

Free Stock Photos and Videos

Pexels is a photography API. Requests are authenticated with an API key. It is served over HTTPS and allows browser requests (CORS).

At a glance

Authentication
API key
HTTPS
Yes
CORS
Yes
Category
Photography

Questions

Does the Pexels API need an API key?

Yes. The Pexels API uses API key authentication; the documentation explains how to get credentials.

Can I call the Pexels API from the browser?

Yes. The Pexels API sends CORS headers, so a web page can call it directly with fetch().

Does the Pexels API support HTTPS?

Yes, the Pexels API is served over HTTPS.

What are alternatives to the Pexels API?

Other Photography APIs include Giphy, Remove.bg, Getty Images, Unsplash, Imgur.

Compare alternatives →

Listed from public-apis (MIT), public-apis database (MIT).