Scraper API
Unsplashunsplash.searchAvailable
Unsplash search
The photos on the page, 20: description, what they show, width, height, dominant colour, likes, whether they are Unsplash+ or sponsored, the photographer's name and page, when they were published, and the image at three sizes.
Give it what to search for, and optionally an orientation, free or Unsplash+ photos only, and the latest first.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 4, 1 required
- Record
- 19 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/unsplash.search/runs
sent, and answered
a record of the run19 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 19 fields are set down here; the whole record is below.

What it is used for
- Find photos to use
- Search with license free and keep each photo's
image_regularwith thephotographer_nameto credit. - Build a mood board
- Search a theme and group the photos by
colorand orientation. - Track popular photography
- Run a search on a schedule and follow the
likesof its photos over time.
What you send
What to search for, and optionally an orientation, free or Unsplash+ photos only, and the latest first. These are its 4 inputs, as its schema has them.
querystring Required- What to search for, e.g.
mountain,coffee shop. orientationstring Optional- The photos' orientation.Default
any licensestring Optional- Free photos only, Unsplash+ photos only, or both.Default
any orderstring Optional- The order of the results.Default
relevance
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/unsplash.search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"mountain"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("unsplash.search", {"query": "mountain"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("unsplash.search", { query: "mountain" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "unsplash.search", map[string]any{"query": "mountain"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("unsplash.search", Map.of("query", "mountain"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run unsplash.search --input query=mountainInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The photos on the page, 20: description, what they show, width, height, dominant colour, likes, whether they are Unsplash+ or sponsored, the photographer's name and page, when they were published, and the image at three sizes. A record has 19 fields. One we could not read is null, never an empty string or a zero.
{
"position": 2,
"photo_id": "Bkci_8qcdvQ",
"url": "https://unsplash.com/photos/snow-capped-mountains-with-valley-and-forest-Bkci_8qcdvQ",
"description": "travelyukon, Wet mountain valley",
"alt_description": "snow capped mountains with valley and forest",
"width": 5760,
"height": 3840,
"color": "#26260c",
"likes": 7929,
"plus": false,
"sponsored": false,
"photographer_name": "Kalen Emsley",
"photographer_username": "kalenemsley",
"photographer_url": "https://unsplash.com/@kalenemsley",
"image_regular": "https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=NHwxMjA3fDA&ixlib=rb-4.1.0&q=80&w=1080",
"image_small": "https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=NHwxMjA3fDA&ixlib=rb-4.1.0&q=80&w=400",
"image_full": "https://images.unsplash.com/photo-1464822759023-fed622ff2c3b?crop=entropy&cs=srgb&fm=jpg&ixid=NHwxMjA3fDA&ixlib=rb-4.1.0&q=85",
"created_at": "2016-06-01T23:13:24Z",
"fetched_at": "2026-11-19T21:46:17.197584Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
The fields of a record
positioninteger- The photo's place on the page, from 1.
photo_idstring- Unsplash's id of the photo.
urlstring- The photo's page on unsplash.com.
descriptionstring or null- The photographer's description, when there is one.
alt_descriptionstring or null- Unsplash's description of what the photo shows, e.g.
aerial photo of foggy mountains. widthinteger or null- The original's width in pixels.
heightinteger or null- The original's height in pixels.
colorstring or null- The photo's dominant colour, e.g.
#405973. likesinteger or null- How many liked it.
plusboolean or null- True for an Unsplash+ photo, which needs a subscription to download; false for a free one.
sponsoredboolean- True for a sponsored photo placed in the results.
photographer_namestring or null- The photographer's name, to credit the photo.
photographer_usernamestring or null- The photographer's username on Unsplash.
photographer_urlstring or null- The photographer's page on unsplash.com.
image_regularstring or null- The image, 1080 pixels wide.
image_smallstring or null- The image, 400 pixels wide.
image_fullstring or null- The image at full size.
created_atdatetime or null- When the photo was published on Unsplash.
fetched_atdatetime- When the page was read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- One run reads the first 20 photos of a search.
- Downloading and using a photo is under Unsplash's license; Unsplash+ photos need a subscription.
The bounds its schema sets
orientation- any, landscape, portrait, squarish; any unless you say otherwise
license- any, free, plus; any unless you say otherwise
order- relevance, latest; relevance unless you say otherwise
Questions
What does Unsplash search return?
The photos on the page, 20: description, what they show, width, height, dominant colour, likes, whether they are Unsplash+ or sponsored, the photographer's name and page, when they were published, and the image at three sizes. A record has 19 fields, among them position, photo_id, url, description, alt_description and width. A value that could not be read is null, never an empty string or a zero.
What do I send?
What to search for, and optionally an orientation, free or Unsplash+ photos only, and the latest first. The input query is required. Optional: orientation, license and order.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: orientation any, landscape, portrait, squarish (any unless you say otherwise); license any, free, plus (any unless you say otherwise); order relevance, latest (relevance unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
One run reads the first 20 photos of a search. Downloading and using a photo is under Unsplash's license; Unsplash+ photos need a subscription.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id unsplash.search and the same input. It costs what the same API call costs.
Unsplash
Photos on Unsplash: what they show, their size and colour, whether they are free, and the photographer to credit, as its search pages show them.
- Industry
- News, music and books
- Where
- Worldwide
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.