# Pexels

Pexels offers a free API that provides access to a vast library of high-quality photos and videos, enabling seamless integration into applications and websites.

- **Category:** images & design
- **Auth:** API_KEY
- **Composio Managed App Available?** N/A
- **Tools:** 9
- **Triggers:** 0
- **Slug:** `PEXELS`
- **Version:** 20260424_00

## Tools

### Get Collection Media

**Slug:** `PEXELS_COLLECTION_MEDIA`

Tool to get all media within a collection by its ID. Use when you need to fetch paginated media from a specific collection.

### Get Curated Photos

**Slug:** `PEXELS_CURATED_PHOTOS`

Tool to get real-time curated photos. Use when you need to fetch curated photos with pagination support.

### Featured Collections

**Slug:** `PEXELS_FEATURED_COLLECTIONS`

Tool to get featured collections. Use when you need curated collections of photos and videos with pagination support.

### Get Photo

**Slug:** `PEXELS_GET_PHOTO`

Tool to retrieve detailed information about a specific photo. Use when you have a valid photo ID to fetch metadata including dimensions, photographer details, and image URLs. Use after confirming the photo ID from search or curated endpoints.

### Get Video by ID

**Slug:** `PEXELS_GET_VIDEO_BY_ID`

Tool to retrieve detailed information about a specific video from Pexels. Use when you have a valid video ID to fetch metadata including dimensions, duration, videographer details, and available video file versions.

### Get My Collections

**Slug:** `PEXELS_MY_COLLECTIONS`

Tool to get all of the user's collections on Pexels. Use when you need to list a user's collections with pagination support.

### Get Popular Videos

**Slug:** `PEXELS_POPULAR_VIDEOS`

Tool to retrieve current popular Pexels videos. Use when you want to fetch trending videos from Pexels.

### Search Photos

**Slug:** `PEXELS_SEARCH_PHOTOS`

Tool to search for photos on Pexels. Use when you need to retrieve photos by a search term and optional filters. Call after confirming you have a valid Pexels API key. Response image URLs are nested under `photo.src.<size>` (e.g., `photo.src.original`, `photo.src.landscape`, `photo.src.medium`); the top-level `url` field is not sufficient for accessing specific image sizes.

### Search Videos

**Slug:** `PEXELS_SEARCH_VIDEOS`

Tool to search for videos on Pexels by query and optional filters. Use when you need to find relevant video assets. Combining multiple filters with a narrow query may return few or no results; only apply strict filter combinations when explicitly required.
