Fetch a random Unsplash photo constrained by search term, collection, topic, or orientation for placeholder/header imagery

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

Steps

  1. Send a GET request to /photos/random with Client-ID authorization
  2. Optionally filter using collections or topics (comma-separated public IDs) to narrow the randomization pool
  3. Alternatively filter using query, plus optional username and orientation (landscape, portrait, squarish) parameters
  4. Set the count parameter (default 1, max 30) if multiple random photos are needed in one call
  5. Handle the response shape difference: without count the response is a single photo object, but supplying count (even count=1) always returns an array

Known gotchas

Related routes

Search Unsplash photos and comply with download tracking and hotlinking rules
unsplash · 5 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