Pexels Scraper

ENDPOINTS
GET/collections/details

Collection Details

Fetch a collection: title, description, photo and video counts, curators, preview images and tags.

QUERY PARAMS

Pexels collection ID, slug or any pexels.com collection URL.

Examples:

  • ID: cwgidat
  • Slug: mighty-mountains-cwgidat
  • URL: https://www.pexels.com/collections/mighty-mountains-cwgidat/
{
  "id": "cwgidat",
  "title": "Mighty Mountains",
  "slug": "mighty-mountains-cwgidat",
  "link": "https://www.pexels.com/collections/mighty-mountains-cwgidat/",
  "description": null,
  "is_featured": true,
  "is_private": false,
  "counts": {
    "media": 145,
    "photos": 119,
    "videos": 26
  },
  "curators": [
    {
      "id": 2163818374,
      "name": "Pexels Curation",
      "username": null,
      "slug": "pexels-curation-2163818374",
      "link": "https://www.pexels.com/@pexels-curation-2163818374/",
      "is_staff": true,
      "avatar": "https://images.pexels.com/users/avatars/2163818374/pexels-curation-909.png"
    }
  ],
  "preview_images": [
    "https://images.pexels.com/photos/12762122/pexels-photo-12762122.jpeg?auto=compress&cs=tinysrgb&dpr=1&w=500",
    "https://images.pexels.com/photos/12784538/pexels-photo-12784538.jpeg?auto=compress&cs=tinysrgb&h=130",
    "https://images.pexels.com/videos/3214020/free-video-3214020.jpg?auto=compress&cs=tinysrgb&h=130",
    "https://images.pexels.com/photos/12779583/pexels-photo-12779583.jpeg?auto=compress&cs=tinysrgb&h=130"
  ],
  "tags": [
    "mountain"
  ]
}