Pexels API guide
pexels.com
Search Pexels for stock photos and videos, filter results by orientation and size, and browse media in your collections.
Actions and inputs
photos searchFind photos that match a keyword and visual filters.
Inputs query, orientation, size, color, locale
videos searchFind videos that match a keyword and format filters.
Inputs query, orientation, size, locale
collections listList collections in your Pexels account.
Inputs page size
collections mediaBrowse photos and videos in a collection.
Inputs collection ID, media type
Media collections
- Create
Create a collection in your Pexels account.
Inputs Collection name
- Read
Browse the photos and videos in one of your collections.
Inputs Collection name or URL
- Update
Rename your collection or add and remove media.
Inputs Collection, new name or media to add or remove
- Delete
Delete your collection without deleting the original photos or videos.
Inputs Collection and confirmation