Pexels Scraper

ENDPOINTS
GET/search/trending

Trending Searches

Get Pexels' popular or trending search terms, worldwide or per country, with result counts and cover images.

QUERY PARAMS

popular is the all-time top searches; trending is what is rising now.

Default: popular

Allowed values: popular, trending

Photos or videos. Omit for both.

Allowed values: photos, videos

2-letter country code for that country's trending terms.

Example: br

{
  "type": "popular",
  "media_type": null,
  "country": null,
  "results": [
    {
      "term": "wallpaper",
      "link": "https://www.pexels.com/search/wallpaper/",
      "image": "https://images.pexels.com/photos/2793175/pexels-photo-2793175.jpeg",
      "photo_id": 2793175,
      "total_results": 69227
    },
    {
      "term": "background",
      "link": "https://www.pexels.com/search/background/",
      "image": "https://images.pexels.com/photos/21492/pexels-photo.jpg",
      "photo_id": 21492,
      "total_results": 582829
    },
    {
      "term": "flowers",
      "link": "https://www.pexels.com/search/flowers/",
      "image": "https://images.pexels.com/photos/1408221/pexels-photo-1408221.jpeg",
      "photo_id": 1408221,
      "total_results": 317936
    },
    {
      "term": "landscape",
      "link": "https://www.pexels.com/search/landscape/",
      "image": "https://images.pexels.com/photos/3408744/pexels-photo-3408744.jpeg",
      "photo_id": 3408744,
      "total_results": 1159158
    },
    {
      "term": "dog",
      "link": "https://www.pexels.com/search/dog/",
      "image": "https://images.pexels.com/photos/1189673/pexels-photo-1189673.jpeg",
      "photo_id": 1189673,
      "total_results": 4461
    },
    {
      "term": "sunset",
      "link": "https://www.pexels.com/search/sunset/",
      "image": "https://images.pexels.com/photos/256888/pexels-photo-256888.jpeg",
      "photo_id": 256888,
      "total_results": 188327
    },
    {
      "term": "beach",
      "link": "https://www.pexels.com/search/beach/",
      "image": "https://images.pexels.com/photos/1665725/pexels-photo-1665725.jpeg",
      "photo_id": 1665725,
      "total_results": 158105
    },
    {
      "term": "mountain",
      "link": "https://www.pexels.com/search/mountain/",
      "image": "https://images.pexels.com/photos/795188/pexels-photo-795188.jpeg",
      "photo_id": 795188,
      "total_results": 233289
    },
    {
      "term": "texture",
      "link": "https://www.pexels.com/search/texture/",
      "image": "https://images.pexels.com/photos/4431922/pexels-photo-4431922.jpeg",
      "photo_id": 4431922,
      "total_results": 422781
    },
    {
      "term": "cat",
      "link": "https://www.pexels.com/search/cat/",
      "image": "https://images.pexels.com/photos/1440918/pexels-photo-1440918.jpeg",
      "photo_id": 1440918,
      "total_results": 8181
    }
  ]
}