Images

Search stock photos

Searches free Pexels stock photography by keyword and returns ready-to-use, resolvable image URLs. No credits are charged (credits_used is always 0).

get/images/stock

Request

  • Base URL: https://api.crevio.co/v1
  • URL: https://api.crevio.co/v1/images/stock
  • Auth: API key in header Authorization

Query parameters

querystring required

The search term used to find photos.

countinteger

Number of photos to return (1–80).

orientation'landscape' | 'portrait' | 'square'

Filter by photo orientation.

color'red' | 'orange' | 'yellow' | 'green' | 'turquoise' | 'blue' | 'violet' | 'pink' | 'brown' | 'black' | 'gray' | 'white'

Filter by dominant color.

size'large' | 'medium' | 'small'

Filter by minimum photo size.

Response

Matching stock photos

object'stock_photo_search_result'
querystring
totalinteger

Total number of matching photos available upstream.

credits_used0

Changes

No recorded changes to this operation across all 2 revisions of this API.