Images

Search stock photos

Changed on

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
  • Auth
    API key in header Authorization

Query parameters

query, string required

The search term used to find photos.

count, integer

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 required
object, 'stock_photo_search_result'
query, string
total, integer

Total number of matching photos available upstream.

credits_used, 0
photos, object[]

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    1 more change in this revision