unsplash

Search Unsplash photos

Query params: q (search text), page (1-based), optional orientation (landscape|portrait|squarish), optional color (black_and_white|black|white|yellow|orange|red|purple|magenta|green|teal|blue). If UNSPLASH_ACCESS_KEY is unset, returns unsplashConfigured: false and empty results.

get/api/v1/media/unsplash/search

Request

  • Base URL: https://slatehut.com
  • URL: https://slatehut.com/api/v1/media/unsplash/search
  • Auth: HTTP bearer

Query parameters

qstring
pageinteger
orientation'landscape' | 'portrait' | 'squarish'
color'black_and_white' | 'black' | 'white' | 'yellow' | 'orange' | 'red' | 'purple' | 'magenta' | 'green' | 'teal' | 'blue'

Response

Thumbnails and metadata; use id as photoId for import

unsplashConfiguredboolean required

False when UNSPLASH_ACCESS_KEY is not set

pageinteger required
totalPagesinteger required

Changes

No recorded changes to this operation across all 1 revision of this API.