List a user's Pexels collections and retrieve the media (photos and videos) inside a specific collection

domain: api.pexels.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Authenticate requests with the 'Authorization: YOUR_API_KEY' header
  2. Call GET https://api.pexels.com/v1/collections/featured to list Pexels-curated public collections, or GET https://api.pexels.com/v1/collections to list the authenticated key owner's own collections
  3. Use per_page to page through collections; the response includes id, title, media_count, photos_count, and videos_count for each
  4. Call GET https://api.pexels.com/v1/collections/:id with the collection's id to retrieve its media items, optionally passing type=photos or type=videos to filter by media kind and sort=asc/desc
  5. Paginate collection media the same way as search results, via next_page/prev_page in the JSON body

Known gotchas

Related routes

Search Pexels photos and videos with orientation, size, color, and locale filters while tracking the monthly rate limit
api.pexels.com · 6 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans