# Pexels and Unsplash Scraper: Free Stock Photos and Videos

> Search free photos and videos on Pexels and Unsplash in one run. Get author, size, tags, likes, license and file links in one table. No login, no API key.

URL: https://cliqtomedia.com/actors/stock-photos-scraper/

Category: E-commerce & prices · Status: live on Apify Store · Apify page: https://apify.com/cliqtomedia/stock-photos-scraper?fpr=cliqto

Enter keywords, links or photographer names. You get one row per photo or video from Pexels and Unsplash. Rows have author, size, tags, likes, license and file links. No login and no API key.

## How to use it: 3 steps

1. **Make a free Apify account.** Apify is the cloud platform where our tools run. The free plan gives you $5 of usage every month, no credit card needed. You pay Apify, not us.
2. **Paste your input and press Start.** No code needed: you fill in a form (the input). It already has a working example. For example: `mountains` in Search queries. Each start is one run.
3. **Download the results.** When the run ends, the results are in a table (the dataset). Open Output, press Export and pick Excel or CSV. JSON and the API are there too.

## What it does

This Actor searches Pexels and Unsplash by keyword and saves each free photo or video as a row: title, author, size, colors, tags, likes, downloads, license and direct file links.



### Good for

- Find free photos for an article, a slide deck or a social post and keep author and license next to each file.
- Compare what Pexels and Unsplash have for the same keyword in one table.
- Export all photos of a photographer, a collection or an Unsplash topic.
- Watch a keyword every week and get only photos that were not in earlier runs.

## Price

Pay per event. Apify bills you, not us.

| What you pay for | Price | When |
|---|---|---|
| Photo or video saved | $0.0009 (from $0.00063 on paid Apify plans) | One free photo or video from Pexels or Unsplash saved to the dataset, with author, size, tags, license and file links. |
| Start fee | $0.005 | Charged once per run. This tool uses 1 GB of memory or less by default; more memory costs more. |

- One photo: about $0.0059.
- 1,000 photos: about $0.91.
- Every day 100 photos, for 30 days: about $2.85 a month.

Free to try: the Apify free plan gives you $5 of usage every month, no credit card needed.

Prices checked on 27 November 2026. Current price: https://apify.com/cliqtomedia/stock-photos-scraper?fpr=cliqto

## Questions

### Do I need an API key?

No. Keys are optional. The tool reads public pages.

### Does it download the files?

No. It saves links to the files. Follow each site's license and credit the author when you can.

### Can I get videos from Unsplash?

No. Unsplash has no free videos here. Videos come from Pexels only.

### Do I need a Pexels or Unsplash account or API key?

No. The Actor reads public pages without login or key. Your own key is optional: with a Pexels key, curated photos come from the full feed.

### Can I use the photos for free?

Pexels and Unsplash photos are free under their own licenses, which the Actor saves in `license` and `licenseUrl`. Paid Unsplash+ photos are not free and are skipped unless you turn on `includePremium`.

### Why are the counts from Pexels and Unsplash different?

The Actor takes results from the sources in turn, but one site can have fewer matches or fewer items left after your filters. The run summary shows the count from each source.

### Are the results always the same?

The sites change their search order and add new media every day, so results can change between runs. Use `onlyNew` to get only what is new.

## Data fields

- `id` (string): Media id on the source (Pexels digits or Unsplash id).
- `source` (string): Where the item is from.
- `mediaType` (string): photo or video.
- `url` (string): Page of the item on Pexels or Unsplash.
- `title` (string): Title (Pexels); caption or alt text on Unsplash.
- `description` (string): Author's description.
- `alt` (string): Alt text describing the image.
- `width` (number): Width of the original in px.
- `height` (number): Height of the original in px.
- `aspectRatio` (number): Width divided by height.
- `orientation` (string): landscape, portrait or square.
- `colors` (array): Dominant colors as hex (Pexels: palette; Unsplash: main color).
- `mainColor` (string): Average color as hex.
- `blurHash` (string): BlurHash placeholder string (Unsplash).
- `tags` (array): Keywords of the item (with details).
- `likes` (number): Likes.
- `downloads` (number): Downloads (with details).
- `views` (number): Views (with details).
- `photographer` (string): Author name.
- `photographerUsername` (string): Author username.
- `photographerId` (string): Author id.
- `photographerUrl` (string): Author profile page.
- `photographerLocation` (string): Author location as written in the profile.
- `photographerAvatar` (string): Author avatar image.
- `photographerInstagram` (string): Author Instagram handle, if public.
- `photographerTwitter` (string): Author X/Twitter handle, if public.
- `previewUrl` (string): Medium preview image URL.
- `downloadUrl` (string): Full-size file URL (largest video file for videos); null for Unsplash+ items.
- `imageUrls` (object): Image sizes: original, large, medium, small, thumb.
- `videoFiles` (array): Video files, largest first: quality, width, height, fps, fileType, link.
- `duration` (number): Video length in seconds.
- `fps` (number): Video frames per second.
- `videoPreviewUrl` (string): Short preview clip of the video.
- `license` (string): License name: Pexels License, Unsplash License or Unsplash+ License.
- `licenseUrl` (string): License text.
- `isPremium` (boolean): true for paid Unsplash+ items.
- `createdAt` (string): Publication date (ISO 8601).
- `camera` (string): Camera make and model.
- `exif` (object): EXIF: make, model, aperture, focalLength, iso, exposureTime.
- `location` (object): Where the photo was taken: name, city, country, latitude, longitude.

## Input settings

- `searchQueries` (array): Keywords to search on Pexels and Unsplash, one per line, e.g. mountains or ocean sunset. Each query runs on every selected source.
- `mode` (string): Leave on Search for keyword search. Other modes read the matching list below. Links in Start URLs are always collected, whatever the mode.
- `sources` (array): Pexels, Unsplash or both (default both). Unsplash has photos only.
- `mediaType` (string): Videos come from Pexels only.
- `startUrls` (array): Any pexels.com or unsplash.com page: a photo, video, search, collection, photographer or topic page. The Actor reads only the id from the link.
- `mediaIds` (array): For modes By ID and Similar. Digits = Pexels id (33999682), other ids = Unsplash (Bkci_8qcdvQ), or full links.
- `collections` (array): For mode Collections: collection links or ids. Add pexels: or unsplash: before a bare id, e.g. unsplash:317099.
- `usernames` (array): For mode Photographers: profile links or usernames. Add pexels: or unsplash: before a bare username, e.g. unsplash:kalenemsley.
- `topics` (array): For mode Topics: topic slugs or links, e.g. nature, wallpapers, travel.
- `orientation` (string): Both sources filter by orientation.
- `color` (string): A color name (black_and_white, black, white, yellow, orange, red, purple, magenta, green, teal, blue) or a hex color like ff0000 (hex works on Pexels only). Leave empty for any color.
- `size` (string): Pexels size filter. For both sources use minimum width/height below.
- `peopleCount` (string): Pexels search only.
- `peopleAge` (string): Pexels search only.
- `minWidth` (integer): Skip items narrower than this. 0 = no limit.
- `minHeight` (integer): Skip items lower than this. 0 = no limit.
- `maxWidth` (integer): 0 = no limit.
- `maxHeight` (integer): 0 = no limit.
- `minDuration` (integer): Videos only. 0 = no limit.
- `maxDuration` (integer): Videos only. 0 = no limit.
- `minFps` (integer): Videos only, e.g. 50 for smooth slow motion. 0 = no limit.
- `orderBy` (string): Unsplash search order. Pexels always sorts by relevance.
- `includePremium` (boolean): Off by default: only free photos. When on, Unsplash+ photos are listed with isPremium true, license Unsplash+ and no download link.
- `contentFilter` (string): Unsplash content filter.
- `locale` (string): Language of your queries for Pexels, e.g. de-DE, es-ES, ja-JP. Default en-US.

## Step by step on Apify

1. Open the Input tab. Search queries already has `mountains` (box 1 in the picture). Add more keywords, one per line, if you need them.
2. Keep Sources (Pexels and Unsplash) and Media type (Photos) for a first test (box 2). For videos, choose Videos: they come from Pexels.
3. Keep Max results at the prefilled 20 (in the Output section). Without a value the Actor saves up to 100.
4. Click Start.
5. Open the Output tab and check the Overview table (box 5): preview, source, type, title, author, width and height. License and file links are further right; the Videos and Authors views show more.

## Use cases

| Task | Input | You get | Key fields | Next step |
|---|---|---|---|---|
| Photos for an article or a post | `searchQueries`, `orientation` | photo row | `previewUrl`, `downloadUrl`, `photographer`, `license` | CSV or Google Sheets |
| Stock video clips for editing | `mediaType: videos`, `minDuration` | video row | `videoFiles`, `duration`, `fps`, `width`, `height` | Excel export, editing list |
| Credit authors correctly | any | photo or video row | `photographer`, `photographerUrl`, `license`, `licenseUrl` | your CMS |
| New photos for a keyword every week | `onlyNew`, `stateName` | new photo row | `id`, `url`, `createdAt` | schedule + Slack or Notion |
| A photographer or collection export | `mode: byUser` or `byCollection` | photo or video row | `id`, `title`, `likes`, `downloads`, `downloadUrl` | spreadsheet |
| What is popular in a niche | `searchQueries`, `includeDetails` | photo row with stats | `likes`, `downloads`, `views`, `tags` | spreadsheet or BI tool |

## Tips

- Start with 20 results to check the table.
- Use orientation, color and size filters to get only photos that fit.
- Turn on only new items and run weekly to see fresh photos for a keyword.

## Limits



- Up to 10000 items per run. A run of 10000 items takes about 11–13 minutes; the default timeout is 1 hour.
- Videos come from Pexels only: Unsplash has no free videos.
- Paid Unsplash+ photos are skipped by default; turn on `includePremium` to add them (`isPremium: true`).
- Without your Pexels key, `mode: curated` reads only the newest page of the curated feed; with a free key from the Pexels API it reads the full feed.
- Pexels search is fuzzy: a rare or misspelled keyword can still return near matches.
- Downloads, views, camera, EXIF and location exist on Unsplash only; Pexels gives likes.
- The Actor saves links, not the files. Follow the Pexels License and the Unsplash License when you use the media, and credit the author when you can.
- Public pages only: no login, no uploads, no account data.

## Sample result

```json
{
  "id": "Bkci_8qcdvQ",
  "source": "unsplash",
  "mediaType": "photo",
  "url": "https://unsplash.com/photos/snow-capped-mountains-with-valley-and-forest-Bkci_8qcdvQ",
  "title": "travelyukon, Wet mountain valley",
  "alt": "snow capped mountains with valley and forest",
  "width": 5760,
  "height": 3840,
  "orientation": "landscape",
  "mainColor": "#26260c",
  "tags": ["forest", "mountains", "snow", "lake", "valley", "canada"],
  "likes": 7929,
  "downloads": 1952864,
  "views": 308735555,
  "photographer": "Kalen Emsley",
  "photographerUrl": "https://unsplash.com/@kalenemsley",
  "previewUrl": "https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?…&w=1080",
  "downloadUrl": "https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?…&q=85",
  "license": "Unsplash License",
  "licenseUrl": "https://unsplash.com/license",
  "isPremium": false,
  "createdAt": "2016-06-01T23:13:24Z",
  "camera": "Canon, EOS 5D Mark III",
  "location": { "name": "Kluane National Park and Reserve of Canada, Canada", "country": "Canada" },
  "query": "mountains",
  "rank": 1
}
```

## Use it from code

Actor ID: `cliqtomedia/stock-photos-scraper`

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("cliqtomedia/stock-photos-scraper").call(run_input={
    "searchQueries": [
        "mountains"
    ],
    "mode": "search"
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

```bash
curl -X POST "https://api.apify.com/v2/acts/cliqtomedia~stock-photos-scraper/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"searchQueries": ["mountains"], "mode": "search"}'
```

```python
# pip install langchain-apify
# set APIFY_TOKEN in your environment
from langchain_apify import ApifyActorsTool

tool = ApifyActorsTool("cliqtomedia/stock-photos-scraper")
result = tool.invoke({"run_input": {"searchQueries": ["mountains"], "mode": "search"}})
print(result)
```

run-sync waits up to 300 seconds; for longer runs start a run and use a webhook. LlamaIndex and MCP: https://cliqtomedia.com/actors/ai-agents/

## Similar tools

- [Google Images Scraper - Image URLs, Sizes & Source Pages](https://cliqtomedia.com/actors/google-images-scraper/)
- [Pinterest Search Scraper: Pins & Boards, No Login](https://cliqtomedia.com/actors/pinterest-search-scraper/)
- [Social Video Downloader: TikTok, Instagram, X - No Login](https://cliqtomedia.com/actors/social-video-downloader/)
- [Adobe Stock Scraper: Search, Keywords & Asset Data](https://cliqtomedia.com/actors/adobe-stock-scraper/)
- [AliExpress Scraper: Products, Prices & Reviews, No Login](https://cliqtomedia.com/actors/aliexpress-scraper/)
- [Alibaba Scraper: Products, Suppliers & Prices, No Login](https://cliqtomedia.com/actors/alibaba-scraper/)
