Facets

List colors

List the dominant colors you can filter photos by. Each entry has a name (pass it as color_name when searching) and its hex code — handy for building a color picker.

Facets are simply the lists of values that the search filters accept. Read them once to populate your filter UI, then feed the chosen value back into Search photos.

get/api/v1/facets/colors

Request

  • Base URL: https://api.pexafy.com
  • URL: https://api.pexafy.com/api/v1/facets/colors
  • Auth: API key in header x-api-key

Response

Successful Response

successboolean

Changes

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