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
}
]
}
]
}
The Pexels API gives you access to our full photo and video library, with fresh content added daily so your projects and designs stay up to date with the latest visual trends. High-quality and hand-selected, from our curation team to your users.
Not only are we continuously adding new content and improving the Pexels search functionality, our search algorithm also learns with every new search made by each one of our millions of monthly users. Our constantly updated search ensures that you and your users quickly find the perfect result.
Not only are all photos and videos on Pexels completely free, but the API can be used for free as well. Just sign up and start building without limits.
A powerful search algorithm developed by our engineering team and vetted by 100M+ users is now yours. Deliver the right photos and videos to your audience.
Search through our content in 28 different languages. We are ready for your global user base. Plus, our visually diverse library covers everyone's needs with content depicting a wide range of cultures all around the world.
We can handle any volume. More than 15B requests are processed by our servers each month with an uptime of more than 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.
Don't know what you are looking for or looking for some inspiration? Use the random API endpoint for completely random photos or videos.