Pexels Search photos API
Search Pexels for free stock photos by keyword. Returns image URLs in several sizes, dimensions, alt text, the photographer's name and profile, and the photo's Pexels page.
Pricing and providers
Pexels Search photos API pricing: one API, 2 interchangeable providers
The cheapest provider serves first. If it fails, the next one takes over in the same call.
capped at $0.0666 per request1 result$0.0038511 results$0.0368521 results$0.0666 capYou are charged for what comes back. Lower the limit to pay less - and no single request can cost more than the cap, however much comes back.2GeckoBackup 1-$4.67/1k resultsup to $0.0933 / requestMetered per result returned$0.0125 base + $0.00404 per result
capped at $0.0933 per request1 result$0.0165410 results$0.052920 results$0.0933 capYou are charged for what comes back. Lower the limit to pay less - and no single request can cost more than the cap, however much comes back.
Call it
Get Pexels search photos in one request
Loading...
Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request and response
Last verified 2026-09-30 · uptime and latency measured over 30dYou send
The JSON body of the request.
No fields published for this endpoint.
You get back
The JSON response.
No fields published for this endpoint.
FAQ
About the Pexels Search photos API
The AnyAPI Pexels Search photos API returns Pexels search photos data as normalized JSON from one POST call to /v1/run/pexels.search_photos. Search Pexels for free stock photos by keyword. Returns image URLs in several sizes, dimensions, alt text, the photographer's name and profile, and the photo's Pexels page. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs $3.17 per 1,000 results, and never more than $0.0666 for a single request, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of Pexels search photos calls through AnyAPI succeeded, with a median response time of 6.9 seconds across 8 measured calls.