Catalog

Pexels API

Pexels data through one normalized API - per-request USD pricing, no subscriptions, and automatic failover on redundant endpoints.

Endpoints1Providers2From · search photos$3.17/1k results · OctopusFull breakdownRead docs
Uptime
99.65%
30d · 1,437 calls
Requests
1,437
30d · weekly, last 12 wks
Response
4.2s
median · 30d

Call the Pexels API

Base URLhttps://api.getanyapi.com
Auth headerAuthorization: Bearer $ANYAPI_KEY
Example request: Search photos
curl -X POST https://api.getanyapi.com/v1/run/pexels.search_photos \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"coffee","limit":2}'

Measured performance

What the Pexels API actually does

Every call through AnyAPI over the last 30 days, counted here rather than promised.

99.7%
of calls succeeded (1,437 calls)
Succeeded on first lane 99.6%Recovered by failover 0.1%Failed 0.3%
Response time (1,432 calls)
Typical (p50)
4.2s
Half of requests finish within 4.2s
p99 response time
26.6s
p99 response time: 99% of requests finish within 26.6s

FAQ

About the Pexels API

The AnyAPI Pexels API returns Pexels data as normalized JSON across 1 endpoint: search photos. You call one endpoint per job with a single key, and AnyAPI routes each request across 2 sources, falling back automatically when one fails. Pricing is in US dollars, $3.17 per 1,000 results, and never more than $0.0666 for a single request, with no subscription and no monthly minimum. Over the last 30 days, 99.7% of Pexels calls through AnyAPI succeeded, with a median response time of 4.2 seconds across 1,437 measured calls.

Pricing is in US dollars, $3.17 per 1,000 results, and never more than $0.0666 for a single request, with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

One endpoint: search photos. Every one takes the same authentication and returns the same normalized response shape, so reaching a second Pexels endpoint is a change of URL and nothing else.

Over the last 30 days, 99.7% of Pexels calls through AnyAPI succeeded, with a median response time of 4.2 seconds across 1,437 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.