api.pexels.com/v1/search?query=nature
{
"page": 1,
"per_page": 15,
"total_results": 24310,
"url": "https://api.pexels.com/v1/curated",
"next_page": "https://api.pexels.com/v1/curated?page=2"
"photos": [
{
"width": 2986,
"height": 5979,
"url": "https://www.pexels.com/photo/landscape-photography-of-waterfalls-surrounded-by-green-leafed-plants-931007/",
"photographer": "Oliver Sjöström",
"src": {
"original": "https://*.jpg",
"large": "https://*.jpg",
"large2x": "https://*.jpg",
"medium": "https://*.jpg",
"small": "https://*.jpg",
"portrait": "https://*.jpg",
"landscape": "https://*.jpg",
"tiny": "https://*.jpg"
}
},
(NEXT PHOTOS)
]
}
api.pexels.com/v1/curated
{
"page": 1,
"per_page": 15,
"total_results": 13531,
"url": "https://api.pexels.com/v1/curated",
"next_page": "https://api.pexels.com/v1/curated?page=2"
"photos": [
{
"width": 2800,
"height": 3500,
"url": "https://www.pexels.com/photo/back-view-photo-woman-in-white-dress-standing-on-green-grass-field-3218135/",
"photographer": "Andy Vu",
"src": {
"original": "https://*.jpg",
"large": "https://*.jpg",
"large2x": "https://*.jpg",
"medium": "https://*.jpg",
"small": "https://*.jpg",
"portrait": "https://*.jpg",
"landscape": "https://*.jpg",
"tiny": "https://*.jpg"
}
}
(NEXT PHOTOS)
]
}
api.pexels.com/videos/popular
{
"page": 1,
"per_page": 1,
"total_results": 19794,
"url": "https://www.pexels.com/videos/",
"videos": [
{
"id": 1448735,
"width": 4096,
"height": 2160,
"url": "https://www.pexels.com/video/video-of-forest-1448735/",
"image": "https://images.pexels.com/videos/1448735/free-video-1448735.jpg?fit=crop&w=1200&h=630&auto=compress&cs=tinysrgb",
"full_res": null,
"tags": [],
"duration": 32,
"user": {
"id": 574687,
"name": "Ruvim Miksanskiy",
"url": "https://www.pexels.com/@digitech"
},
"video_files": [
{
"id":58649,
"quality":"sd",
"file_type":"video/mp4",
"width":640,
"height":338,
"link":"https://player.vimeo.com/external/291648067.sd.mp4?s=7f9ee1f8ec1e5376027e4a6d1d05d5738b2fbb29&profile_id=164&oauth2_token_id=57447761"
},
],
"video_pictures": [
{
"id": 133236,
"picture": "https://static-videos.pexels.com/videos/1448735/pictures/preview-0.jpg",
"nr":0
}
]
}
]
}
Our API is used by first-time coders to tech giants. Built with developers and users in mind, our API is reliable, easy to integrate and gives your users unlimited creative options without disrupting their workflow.
All content is selected and tagged by our curation team to ensure quality, freshness and searchability.
Our visually diverse library is searchable in 28 languages and contributed by photographers across 170 countries.
Words and images matter. Whether searching for love or leadership, our algorithm is consciously designed to produce results that reflect and celebrate the diversity of our world.
Our algorithm has been vetted by 100M+ users and learns with each new search. More than 15B requests are processed by our servers each month with an uptime of over 99.99%.
The most relevant, engaging content each day directly in your app or website. Our feed of curated content is continuously updated, so you’re always in the loop.
Search for a specific term to show the most relevant photos and videos to your user in a fraction of a second. Limit the results to only show what’s relevant like vertical video or horizontal photos.
Use the collections endpoint to have the API connect straight to your own custom selection of Pexels images and videos.
Requesting an API Key has a default limit. If you have a larger application and plan to exceed the default API limits, please contact us at [email protected]
Nope! If you’re able to provide and show acceptable attribution to Pexels and our contributors, limits can be lifted free of charge
Please! Always credit our photographers when possible (e.g. "Photo by John Doe on Pexels" with a link to the photo page on Pexels). If you’re unable to include a full link back, please use a text link (e.g. "Photos provided by Pexels")
Yes, we’d be delighted for you to make use of the Pexels logo but please don’t use it as an app icon. You can find our logo here in white or black.
We kindly ask that you do not copy the core functionality of Pexels. Please note that wallpaper apps are not supported within our eligibility requirements.
From entrepreneurs and educators to writers and developers, our image and video API helps millions of people find that little extra something to bring their ideas to life.