Start building with the power of Pexels

Give your users access to our entire photo and video library without leaving your app or website. It’s free and seamlessly integrates with just a few lines of code. Get started and immediately receive your unique API key.

Do you have a high traffic platform? Get in touch with us to unlock unlimited free requests and explore custom builds 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

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.

Hand-Selected, Updated Daily

All content is selected and tagged by our curation team to ensure quality, freshness and searchability.

28 Languages

Our visually diverse library is searchable in 28 languages and contributed by photographers across 170 countries.

Diverse & Inclusive

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.

Unmatched Search

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%.

Frequently Asked Questions

Are there any limits or restrictions on calls?

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]

Do I have to pay for higher limits?

Nope! If you’re able to provide and show acceptable attribution to Pexels and our contributors, limits can be lifted free of charge

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. Please note that wallpaper apps are not supported within our eligibility requirements.

Developers Showcase

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.

Learn more about the possibilities to partner with Pexels here.
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 Русский