FreeAPI.watch

Free Stock Photo APIs in 2026 — Compared

Five providers with genuine free tiers. Picsum needs no signup at all.

Quick answer:

For polished photographic quality: Unsplash. For maximum free volume: Pexels (20k/month + videos). For zero-setup placeholders: Picsum (just hit a URL, no key). For illustrations + vectors + music: Pixabay. For research and CC-licensed depth: Openverse (800M+ items).

The free stock photo API landscape has been stable since around 2018 — the same handful of providers, mostly the same free tiers, all clean commercial licensing. Unlike AI-model APIs which shift monthly, stock photo APIs are boring in the best way: they work, the terms are clear, and the free tier will still exist next year. Last verified against each provider's docs in July 2026.

The providers

1. Unsplash

Free tier: 50 requests/hour on demo apps, 5,000/hour once approved for production
Content: 3+ million high-resolution photos, curated for photographic quality
Signup: Email
License: Unsplash License — free for commercial and non-commercial use, no attribution required (but appreciated)
Best for: Blog hero images, marketing site backgrounds, editorial content, portfolio placeholders

The default choice when photographic quality matters. The API supports search, curated collections, random photos, and per-user photo lookups. Getting bumped to the 5,000/hour production tier requires demonstrating your app follows their attribution and hotlinking guidelines — the review typically takes 1-2 weeks.

Unsplash docs ↗

2. Pexels

Free tier: 200 requests/hour, 20,000/month — the highest steady-state throughput of any free photo API
Content: Millions of stock photos plus videos, curated by community and staff
Signup: Email
License: Pexels License — free for commercial and non-commercial use, no attribution required, no cost
Best for: High-volume applications, apps needing both photos and videos, replacement for Unsplash when quota matters

Pexels has the most generous free tier and provides both photos and videos through the same API. Search relevance is excellent, and the query parameters (orientation, size, color) are cleanly designed. The videos endpoint returns MP4 URLs at multiple resolutions.

Pexels docs ↗

3. Pixabay

Free tier: 100 requests/60 seconds, 5,000 images per query — most flexible for bulk downloads
Content: 4+ million royalty-free images, illustrations, vectors, videos, and music
Signup: Email
License: Pixabay Content License — free for commercial and non-commercial use, no attribution required
Best for: Multi-media apps, presentations needing icons + photos, projects needing vector graphics

Pixabay is the broadest catalog — photos plus illustrations, vectors, videos, and music files under one API. The illustrations and vectors are the strongest offering; competitors focus on photography. Search quality is inconsistent (a search for 'meeting' returns clip art, stock photos, and abstract vectors mixed together).

Pixabay docs ↗

4. Picsum (Lorem Picsum)

Free tier: Fully free, no key, no signup, no rate limits — just hit a URL
Content: Curated collection of ~1,000 photos served at any size on demand
Signup: None
License: Unsplash-derived catalog under Unsplash License — free for any use
Best for: Placeholder images in dev/staging environments, avatars in tests, prototypes with no auth setup

The zero-friction option. You do not integrate an API in the traditional sense — you construct URLs like https://picsum.photos/800/600 and Picsum returns a random photo at that size. Deterministic seeded URLs (?seed=user123) always return the same photo, making it perfect for placeholder avatars in tests or demos.

Picsum (Lorem Picsum) docs ↗

5. Openverse (WordPress)

Free tier: Rate-limited on the public endpoint, no key required for basic use
Content: 800+ million openly-licensed media items aggregated from Wikimedia, Flickr, Europeana, and dozens of institutional sources
Signup: None
License: Aggregates content across CC licenses — per-image license attached; some require attribution
Best for: Educational content, research applications, projects needing historical or specialized imagery

Openverse (formerly CC Search) is maintained by WordPress.org and indexes far more content than any commercial photo API. The trade-off is license diversity: results include CC0 (public domain), CC BY (attribution required), CC BY-SA (share-alike), and more. Your code must handle per-image license fields. For educational or research projects, this is the deepest catalog available.

Openverse (WordPress) docs ↗

Three patterns we've shipped

Pattern 1 — Blog hero image automation

For content-heavy sites where you need a hero image on every post: at publish time, extract 3-5 keywords from the post title, query Unsplash's search endpoint, pick the top result, download to your CDN, and store the filename. This turns a 20-minute manual step into a 2-second automated one. Cost: about 5 requests per published post, negligible against Unsplash's 5,000/hour production tier.

Pattern 2 — Test avatars with deterministic seeds

For unit tests, staging environments, or demo apps that need realistic user avatars: use Picsum's seeded URLs — https://picsum.photos/seed/user123/200/200. The same seed always returns the same photo, so screenshot tests are stable and demo data looks consistent across environments. No API key, no rate limit, no state to manage.

Pattern 3 — Multi-provider fallback for high availability

For production apps where image search is a critical UX (like a document editor's image picker): query Unsplash first (highest quality), fall back to Pexels if Unsplash rate-limits, fall back to Pixabay if Pexels returns no results, fall back to a curated local cache if all three fail. Each API returns a different JSON shape, so wire an adapter layer that normalizes to a common shape. Total effort: about half a day.

Frequently Asked Questions

Which free stock photo API has the best quality?

Unsplash consistently has the highest photographic quality due to its curation process — every photo is submitted by contributors and vetted by the Unsplash team. Pexels is close behind with a similar curation approach. Pixabay has more variety but variable quality (great illustrations, mediocre photography). For polished marketing content, use Unsplash; for volume with good quality, Pexels.

Can I use these APIs for a commercial product?

Yes, all five providers on this page allow commercial use on their free tiers. Unsplash and Pexels do not require attribution. Pixabay does not require attribution. Picsum falls under Unsplash's license. Openverse aggregates content with per-image licenses — some require attribution, some are CC0. Always check the per-image license field for Openverse results. For enterprise use with liability requirements, consider paid tiers from Getty, Shutterstock, or Adobe Stock.

Which stock photo API has no signup?

Picsum (Lorem Picsum) requires no signup, no API key, and no rate limits — just construct URLs and get images. Openverse allows unauthenticated queries at lower rate limits. Unsplash, Pexels, and Pixabay all require a free email signup to get an API key.

Can I hotlink images directly from these APIs?

Yes, all five providers explicitly support hotlinking on their free tiers. Unsplash's documentation even encourages it and provides UTM parameters to track image usage. Pexels and Pixabay allow it without restrictions. Picsum is designed for hotlinking (that's the entire model). For high-traffic production apps you may want to proxy through a CDN anyway for cache control, but there's no license or terms obligation to do so.

How do these compare to Unsplash or Pexels via web scraping?

Do not scrape. All five providers have robots.txt-blocked scraping and will ban your IP if you try to bypass the API. The free tiers on all of these APIs are so generous (5,000+ requests/hour on Unsplash approved apps, 20,000/month on Pexels) that scraping provides no meaningful benefit. Use the API. It's free, faster, and legally clean.

What's the difference between stock photo APIs and AI image generation APIs?

Stock photo APIs return existing photographs curated from photographers — real people, real places, real objects. AI image generation APIs (see our /free-ai-image-apis page) create novel images from text prompts. Use stock photos when you want photographic realism from a real subject; use AI generation when you need something specific that doesn't exist as a photograph. Many production apps use both.

Related on FreeAPI.watch

Last reviewed: July 2026. Free tier terms verified against provider docs.