Actions17
- Photo Actions
- Collection Actions
- User Actions
Collection → List Photos
AI-generatedSummary
List photos contained in a specified Unsplash collection, with support for pagination and limits.
Inputs
- Collection ID (required) — Specify the unique identifier of the collection whose photos you want to list.
- Return All — Choose whether to return all photos or limit the number of results.
- Limit — Maximum number of photos to return if not returning all (1-5000).
- Additional Fields — Optional pagination fields: Page number (default 1) and Per Page count (max 30) to control pagination.
Output shape
a list of photo records within the specified collection
Supports pagination using the 'Page' and 'Per Page' additional fields. If 'Return All' is true, all photos from the collection are retrieved without manual pagination. The response is an array of photo objects as returned by Unsplash's /collections/{collectionId}/photos endpoint.
Examples
Example 1: List first 10 photos of a collection
Collection ID set to target collection; Return All set to false; Limit set to 10; Additional Fields left default.
Example 2: Retrieve all photos from a collection
Collection ID set; Return All set to true; Additional Fields can be used to control per-request page size.