Pexels: Search photos
Free Pexels stock photos for a search phrase: title, size, colours, tags, licence, photographer name and image links, with the total count.
GET /v1/pexels/search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
query | string | Required | Up to 100 characters Words to search for, for example mountain lake. |
page | integer | Optional | Any Results page, 1 to 20, 24 photos a page. Default 1. |
Example request
Pexels
GET/v1/pexels/search?query=mountain+lake
{
"success": true,
"data": {
"query": "mountain lake",
"items": [
{
"id": "41238365",
"title": "Scenic Autumn View of Tovel Lake in Italy",
"description": "Breathtaking autumn landscape at Tovel Lake with mountain reflections in Trentino, Italy.",
"alt": "Breathtaking autumn landscape at Tovel Lake with mountain reflections in Trentino, Italy.",
"width": 4640,
"height": 6960,
"aspect_ratio": 0.6666666666666666,
"average_color": "#757263",
"colors": [
"#1b211d",
"#626461",
"#a49689"
],
"tags": [
"Alps",
"Alps Mountains",
"Autumn"
],
"license": "Pexels",
"license_url": "https://www.pexels.com/license/",
"photographer": {
"name": "Gio Spigo",
"url": "https://www.pexels.com/@gio-spigo-276311867/"
},
"image": {
"small": "https://images.pexels.com/photos/41238365/pexels-photo-41238365.jpeg?auto=compress&cs=tinysrgb&h=130",
"medium": "https://images.pexels.com/photos/41238365/pexels-photo-41238365.jpeg?auto=compress&cs=tinysrgb&w=750",
"large": "https://images.pexels.com/photos/41238365/pexels-photo-41238365.jpeg?auto=compress&cs=tinysrgb&w=1440",
"original": "https://images.pexels.com/photos/41238365/pexels-photo-41238365.jpeg?cs=srgb&dl=pexels-gio-spigo-276311867-41238365.jpg&fm=jpg"
},
"created_at": "2026-11-24T09:34:50.000Z",
"published_at": "2026-11-24T11:00:42.238Z",
"url": "https://www.pexels.com/photo/scenic-autumn-view-of-tovel-lake-in-italy-41238365/"
},
{
"id": "41238373",
"title": "Serene Autumn Landscape at Lake Tovel",
"description": "Scenic view of Lake Tovel in Trentino, Italy with autumn colors and misty mountains.",
"alt": "Scenic view of Lake Tovel in Trentino, Italy with autumn colors and misty mountains.",
"width": 4640,
"height": 6960,
"aspect_ratio": 0.6666666666666666,
"average_color": "#615e57",
"colors": [
"#121615",
"#555859",
"#8b827b"
],
"tags": [
"Alpine Lake",
"Alps",
"Autumn"
],
"license": "Pexels",
"license_url": "https://www.pexels.com/license/",
"photographer": {
"name": "Gio Spigo",
"url": "https://www.pexels.com/@gio-spigo-276311867/"
},
"image": {
"small": "https://images.pexels.com/photos/41238373/pexels-photo-41238373.jpeg?auto=compress&cs=tinysrgb&h=130",
"medium": "https://images.pexels.com/photos/41238373/pexels-photo-41238373.jpeg?auto=compress&cs=tinysrgb&w=750",
"large": "https://images.pexels.com/photos/41238373/pexels-photo-41238373.jpeg?auto=compress&cs=tinysrgb&w=1440",
"original": "https://images.pexels.com/photos/41238373/pexels-photo-41238373.jpeg?cs=srgb&dl=pexels-gio-spigo-276311867-41238373.jpg&fm=jpg"
},
"created_at": "2026-11-24T09:34:51.000Z",
"published_at": "2026-11-24T11:00:42.238Z",
"url": "https://www.pexels.com/photo/serene-autumn-landscape-at-lake-tovel-41238373/"
},
{
"id": "27667695",
"title": "Starting Point - Oeschinensee Lake Hike",
"description": "Turquoise waters of Oeschinensee Lake amidst the Swiss Alps, Kandersteg. Ideal travel spot.",
"alt": "Turquoise waters of Oeschinensee Lake amidst the Swiss Alps, Kandersteg. Ideal travel spot.",
"width": 2700,
"height": 4800,
"aspect_ratio": 0.5625,
"average_color": "#7b979b",
"colors": [
"#000000",
"#008b8b",
"#556b2f"
],
"tags": [
"4k Wallpaper",
"Alpine",
"Alpine Lake"
],
"license": "Pexels",
"license_url": "https://www.pexels.com/license/",
"photographer": {
"name": "Nanda Gopal Lakshman",
"url": "https://www.pexels.com/@nanda-gopal-lakshman-1548481679/"
},
"image": {
"small": "https://images.pexels.com/photos/27667695/pexels-photo-27667695.jpeg?auto=compress&cs=tinysrgb&h=130",
"medium": "https://images.pexels.com/photos/27667695/pexels-photo-27667695.jpeg?auto=compress&cs=tinysrgb&w=750",
"large": "https://images.pexels.com/photos/27667695/pexels-photo-27667695.jpeg?auto=compress&cs=tinysrgb&w=1440",
"original": "https://images.pexels.com/photos/27667695/pexels-photo-27667695.jpeg?cs=srgb&dl=pexels-nanda-gopal-lakshman-1548481679-27667695.jpg&fm=jpg"
},
"created_at": "2024-08-09T14:20:44.000Z",
"published_at": "2024-08-10T16:00:28.667Z",
"url": "https://www.pexels.com/photo/starting-point-oeschinensee-lake-hike-27667695/"
}
],
"total_photos": 342912,
"related_searches": [
"alpine lake",
"mountain river",
"forest lake"
],
"pagination": {
"current_page": 1,
"per_page": 24,
"total_items": 10000,
"total_pages": 334,
"has_more": true
}
},
"meta": {
"request_id": "req_29d28ec8841b4e98ab8d45420e78200a",
"credits_charged": 1,
"credits_remaining": 170
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
data has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
items | object[] |
related_searches | string[] |
pagination | object |