# Pexels Scraper (`piotrv1001/pexels-scraper`) Actor

Scrape Pexels photos and videos by keyword: title, description, tags, size, duration, image, video and download URLs and the creator's profile. Filter by orientation, size and color. A Pexels API alternative and video downloader list, no API key.

- **URL**: https://apify.com/piotrv1001/pexels-scraper.md
- **Developed by:** [FalconScrape](https://apify.com/piotrv1001) (community)
- **Categories:** AI, SEO tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

### 🚀 Pexels Scraper: Pexels Photos, Videos and Download Links

Export **Pexels photos and videos** for any keyword as clean JSON, CSV or Excel. The **Pexels Scraper** returns free stock photos and **free stock videos** with title, description, tags, size, duration, frame rate, image, video and download URLs and the creator's profile. Use it as a **Pexels API** alternative with no API key, as a **Pexels video downloader** list for bulk download, or to build an image or video dataset.

### 🎯 Use Cases

- **Pexels free videos for a project**: collect stock video for a topic, with the MP4 file, a small preview clip and a thumbnail for each.
- **Vertical videos for Reels, Shorts and TikTok**: search videos with **Orientation: Portrait** to get vertical clips only.
- **4K stock footage**: search videos with **Minimum size: Large** to get 4K clips.
- **Image and video datasets**: labelled media (title, description, tags, colors, size) for AI training, testing or search.
- **Creator research**: find the photographers and videographers behind a niche, with location, Instagram and profile link.

### ✨ Features

- **Photos or videos**, with filters for orientation, minimum size and color.
- **Media data**: title, description, alt text, tags, dominant colors, width and height, duration and frame rate for videos, featured flag, created and published dates.
- **Files**: a 1440 px image, a 750 px thumbnail and the original download link for photos; the MP4 file, a preview clip and thumbnails for videos.
- **Creator profile**: name, username, profile URL, location, avatar, Instagram and Twitter.
- **Many keywords per run**: each with its own limit; an item found by two keywords is saved and charged once.

### 🛠️ How It Works

1. **Enter your search keywords**, one per line.
2. **Pick photos or videos** and any filters.
3. **Run it**: download the results as JSON, CSV or Excel, or get them through the API.

### ⚙️ Input

| Field | What it does |
| --- | --- |
| **Search keywords** | Words to search for on Pexels, one per line. |
| **Media type** | Photos (default) or videos. |
| **Orientation** | Any, landscape, portrait or square. |
| **Minimum size** | Photos: large (24 MP+) or medium (12 MP+). Videos: large (4K). |
| **Color** | A color name (red, blue …) or a hex code such as `#ff0000`. Photos only. |
| **Max results per keyword** | Stop after this many results for each keyword. Default 50. Pexels shows at most 480 results per search. |

```json
{
    "queries": ["ocean waves", "city at night"],
    "mediaType": "video",
    "orientation": "portrait",
    "maxItems": 100
}
```

### 💰 Pricing

Pay only for the results you get. No monthly rental.

| Event | Price | What you get |
| --- | --- | --- |
| **Result** | $0.001 per result ($1.00 per 1,000) | One photo or video with all fields below |
| **Actor start** | $0.00005 per run | Charged once when the run starts. |

Examples: 50 results = $0.05 · 480 results (a full search) = $0.48 · 1,000 results = $1.00.

### 📊 Sample Output Data

```json
{
    "id": "39784928",
    "query": "coffee shop",
    "title": "Cozy Cafe Entrance with Warm Lighting and Barista",
    "description": "Barista serving behind the counter of a warmly lit cafe, viewed through the glass entrance.",
    "altDescription": "Barista serving behind the counter of a warmly lit cafe, viewed through the glass entrance.",
    "mediaType": "Photo",
    "url": "https://www.pexels.com/photo/cozy-cafe-entrance-with-warm-lighting-and-barista-39784928/",
    "slug": "cozy-cafe-entrance-with-warm-lighting-and-barista",
    "imageUrl": "https://images.pexels.com/photos/39784928/pexels-photo-39784928.jpeg?auto=compress&cs=tinysrgb&w=1440",
    "thumbnailUrl": "https://images.pexels.com/photos/39784928/pexels-photo-39784928.jpeg?auto=compress&cs=tinysrgb&w=750",
    "downloadUrl": "https://images.pexels.com/photos/39784928/pexels-photo-39784928.jpeg?cs=srgb&dl=pexels-luchik-39784928.jpg&fm=jpg",
    "previewUrl": null,
    "width": 4267,
    "height": 5689,
    "durationSeconds": null,
    "fps": null,
    "tags": ["Barista", "Café", "Coffee Shop", "Counter", "Entrance", "Exterior View"],
    "colors": ["#291d19", "#806b62", "#c1ac77", "#e29536"],
    "license": "Pexels",
    "isFeatured": true,
    "createdAt": "2026-09-26T08:41:52.000Z",
    "publishedAt": "2026-09-27T17:00:27.784Z",
    "author": "Iryna Varanovich",
    "authorId": "86419186",
    "authorUsername": "luchik",
    "authorUrl": "https://www.pexels.com/@luchik/",
    "authorLocation": "Минск, Минская область, Беларусь",
    "authorAvatarUrl": "https://images.pexels.com/users/avatars/86419186/irina-varanovich-355.jpeg?auto=compress&fit=crop&h=256&w=256",
    "authorInstagram": "oh_luchik",
    "authorTwitter": null,
    "scrapedAt": "2026-11-09T08:11:08.458Z"
}
```

The tag list above is shortened. For videos, `downloadUrl` is the MP4 file, `previewUrl` a small preview clip, `imageUrl` the poster frame, and `durationSeconds` and `fps` are filled.

### 🔁 Schedule and Integrate

Run the same keywords once a week in Apify **Schedules** to collect what is new. Send the results to **Google Sheets**, **Zapier**, **Make**, **n8n** or your own webhook through Apify integrations, or download the files from `downloadUrl` in your own script.

### 🤖 Use with AI Agents (MCP)

This Actor works as a tool in Claude, ChatGPT, Cursor and other MCP clients through the Apify MCP server (`https://mcp.apify.com`). An agent can call it with:

```json
{ "queries": ["mountain lake"], "mediaType": "video", "maxItems": 20 }
```

### ❓ FAQ

**Is there an official Pexels API?** Yes. The Pexels API needs an account and an API key, and is limited to 200 requests an hour by default. This Actor needs no key and returns the same public data a visitor sees in Pexels search, plus tags and creator details, ready to export.

**Can I use it as a Pexels video downloader?** Every video row has `downloadUrl`, the MP4 file, so you can bulk download Pexels videos with any download tool or script. The Actor does not store the files itself.

**Are Pexels photos and videos free?** Yes, under the Pexels License: free to use, including commercially, without attribution. Some uses are not allowed (for example selling unaltered copies); see the license on Pexels.

**How many results can I get per keyword?** Pexels shows visitors at most 480 results per search (20 pages), however many matches it reports. When a keyword reaches that limit, the status message says so. Split it into narrower keywords, or run the same keyword with each orientation, to get more.

**Why does the color filter not work with videos?** Pexels offers the color filter for photos only, so the run stops with a message instead of returning unfiltered videos. The same goes for the medium size on videos.

**Do I need a Pexels account?** No.

### 🔗 Related Scrapers

- [Unsplash Image Scraper](https://apify.com/piotrv1001/unsplash-image-scraper): free and Unsplash+ photos and illustrations for the same keywords.
- [Adobe Stock Scraper](https://apify.com/piotrv1001/adobe-stock-scraper): Adobe Stock search results with keywords.
- [Google Images Scraper](https://apify.com/piotrv1001/google-images-scraper): image results from Google for the same keywords.
- [Pinterest Search Scraper](https://apify.com/piotrv1001/pinterest-search-scraper): pins for a keyword, to see which visual styles people save.

# Actor input Schema

## `queries` (type: `array`):

Keywords to search on Pexels, one per line.

## `mediaType` (type: `string`):

Photos or videos.

## `orientation` (type: `string`):

Only results with this orientation. Portrait videos are vertical videos.

## `size` (type: `string`):

Photos: large = 24 MP or more, medium = 12 MP or more. Videos: large = 4K (medium is for photos only).

## `color` (type: `string`):

Only photos with this color: a name such as red or blue, or a hex code such as #ff0000. Photos only. Leave empty for any color.

## `maxItems` (type: `integer`):

Stop after this many results for each keyword. Pexels shows at most 480 results per search.

## Actor input object example

```json
{
  "queries": [
    "mountain lake"
  ],
  "mediaType": "photo",
  "orientation": "all",
  "size": "all",
  "color": "blue",
  "maxItems": 50
}
```

# Actor output Schema

## `results` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "queries": [
        "mountain lake"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("piotrv1001/pexels-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "queries": ["mountain lake"],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("piotrv1001/pexels-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "queries": [
    "mountain lake"
  ],
  "maxItems": 50
}' |
apify call piotrv1001/pexels-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,piotrv1001/pexels-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/iNG5vNf16nECd13Zv/builds/fzaAJCJUaf2x089kq/openapi.json
