Skip to content
//Pexels Scraper example\\

Blue portrait forest photos, 10 results

Photos filtered by orientation and color.

Updated November 18, 2026

What this example returns

This example returns up to 10 results.

The dataset’s “Media” view shows 14 columns: Preview, Type, Title, Photographer, Width, Height, Orientation, Main color, Tags, Duration (s), Download, Pexels page, Profile, and Search term. See every output field.

What each setting does

The input this example runs Pexels Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Search terms searchQueries

forest

Keywords to search on Pexels, one per line (e.g. nature, city skyline, coffee). Each term is its own search with its own result limit.

Media type mediaType

Photos

Which kind of media to return. With 'Photos and videos' a search returns half photos, half videos.

Max results per input maxItems

10

Maximum results for each search term, URL, ID or the discover feed. The limit applies per input, so the run total can be up to this number times the number of inputs (one search term plus the discover feed with 5 gives up to 10). 0 = everything Pexels serves (capped by your maximum charge).

Default: 20 → this example uses 10

Orientation orientation

Portrait

Image or video orientation.

Default: Any → this example uses Portrait

Color (photos) color

Blue

Dominant color of photo search results.

Default: Any → this example uses Blue

Number of people peopleCount

Any

How many people appear in the photo or video (search only).

Age group peopleAge

Any

Age of the people shown (search only).

Date posted datePosted

Any time

Only media published in this period (search only).

Video resolution resolution

Any

Minimum video resolution (video search only).

Video frame rate frameRate

Any

Video frame rate (video search only).

Include the discover feed includeDiscoverFeed

No

Also return the newest curated media from Pexels' discover feed (no search term needed). The feed counts as its own input with its own Max results per input, on top of your search terms.

Deep search past 480 results deepSearch

Yes

Pexels shows about 480 results per search. When you ask for more, the search is repeated with color, orientation and other filter splits to collect thousands of unique results.

Skip duplicates dedupe

Yes

Save each photo or video only once per run, even if several inputs return it.

.json
{
  "searchQueries": [
    "forest"
  ],
  "maxItems": 10,
  "mediaType": "photos",
  "orientation": "portrait",
  "color": "blue",
  "peopleCount": "all",
  "peopleAge": "all",
  "datePosted": "all",
  "resolution": "all",
  "frameRate": "all",
  "includeDiscoverFeed": false,
  "deepSearch": true,
  "dedupe": true
}

What it costs

From about $0.009 for 10 results

An estimate at the lowest plan price: 10 × $0.0009 per result (One Pexels photo or video saved to the dataset, with download URLs, tags, colors, dimensions and photographer details). A run is charged for the events it reports, so one that finds fewer results costs less. Platform usage is included in the event price.

Full pricing

Other ways to run Pexels Scraper

All examples of Pexels Scraper

About Pexels Scraper

Scrape free stock photos and videos from Pexels without an API key: search with orientation, color, size, people and duration filters, or pull collections, photographer portfolios, similar media and the discover feed. Get download URLs at every size, video files, tags, colors, dimensions and photographer details.

Price:
From $0.90 / 1,000 results
Developer:
Echofield
Categories:
Videos, AI, Marketing

Pexels Scraper pageOutput fieldsPricing

Related actors

//From the blog\\

Latest articles

All articles

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.

No credit card. No setup calls.