Photos

Find similar photos

Return photos that look similar to a given one — a quick way to offer alternatives or build a visually consistent set. The reference photo itself is never included in the results. Each result has the same fields as a search result.

get/api/v1/photos/{photo_id}/similar

Request

  • Base URL: https://api.pexafy.com
  • URL: https://api.pexafy.com/api/v1/photos/{photo_id}/similar
  • Auth: API key in header x-api-key

Path parameters

photo_idstring required

The reference photo's unique Pexafy identifier (a UUID).

Query parameters

per_pageinteger

Number of similar photos to return, from 1 to 100. Defaults to 20.

limitinteger nullable

Maximum TOTAL number of similar photos across all pages — NOT the page size (use per_page for that). Omit for no cap.

cursorstring nullable

Token to fetch the next page. Take pagination.next_cursor from a previous response and pass it back here. See the Pagination guide.

Response

Successful Response

successboolean

Changes

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