PeumeAPI

Finance & crypto

Pexels Photo Search

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.

From $0.0054 per call

Call it

curl https://api.peume.com/v1/call/pexels-photo-search \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "query": "your query"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: pexels-photo-search.

Parameters

minHeightinteger

Only return photos at least this many pixels tall.

orientationstring

Only return photos with this orientation. Omit for any orientation.

landscape · portrait · square

routestring

Upstream source to run on; omit for "octopus". octopus ($0.0006 + $0.0036 per result, at most $0.0726, 99.7% uptime); gecko ($0.0136 + $0.00441 per result, at most $0.1018). Output fields only some routes return: tags (octopus). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.

octopus · gecko

peopleCountstring

Only return photos showing this many people: "0" for none, "1" or "2". Omit for any number.

0 · 1 · 2

queryRequiredstring

Keyword or phrase to search Pexels photos for, e.g. "coffee" or "city skyline".

limitinteger

Maximum number of photos to return (1-20, default 20). You are billed per photo returned, so a lower limit costs less.

minWidthinteger

Only return photos at least this many pixels wide.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.