Start building with the power of Pexels

Boost engagement with just a few lines of code – the Pexels API helps you incorporate the world’s best free stock photos and videos into your app or website. Sign up now for free unlimited requests.

Interested in free unlimited calls for your large use application? Get in touch with us at [email protected]
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
        }
      ]
    }
  ]
}

Seamless Integration
It’s never been faster and easier to bring the Pexels experience to your audience. Built with users and developers in mind; our API is the solution for incorporating stock photos and videos into your platform.
New Content Every Day

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.

Always Improving

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.

Unlimited Requests for Free

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.

Unmatched Search

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.

28 Languages

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.

Scalable & Reliable

We can handle any volume. More than 15B requests are processed by our servers each month with an uptime of more than 99.99%.

Developers Showcase
Our image and video API is used by thousands of developers and companies. Get started building with our API and develop something awesome.
Become a partner
Frequently Asked Questions
Are there any limits or restrictions on calls?
You can get unlimited requests for free. If you use the API in production or in a larger application and plan to exceed the default API limits, please contact us: [email protected]
Do I have to pay for higher limits?
If you’re able to provide and show acceptable attribution, limits can be lifted free of charge. Please contact [email protected]
Do we have to include attribution?
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")
Can I include the Pexels logo in my app or on my site?
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.
I have a similar marketplace or photo library to Pexels, can I use the API to add your images?
We kindly ask that you do not copy the core functionality of Pexels.

Start building, we are here to help along the way

Learn more about the possibilities to partner with Pexels
Choose your language: English Português Español Català Deutsch Italiano Français Svenska Bahasa Indonesia Polski 日本語 繁體中文 简体中文 한국어 ภาษาไทย Nederlands Magyar Tiếng Việt Čeština Dansk Suomi Українська Ελληνικά Română Norsk Slovenčina Türkçe Русский