# Pexels media extractor for exact photo and video URLs

**Use case:** 

Extract exact Pexels photo and video URLs with downloadable files, creator credit, dimensions, video duration, FPS, tags, and license links.

## Input

```json
{
  "queries": [
    "coffee"
  ],
  "startUrls": [
    {
      "url": "https://www.pexels.com/photo/cup-of-coffee-on-saucer-459489/"
    },
    {
      "url": "https://www.pexels.com/video/sea-waves-rushing-to-the-shore-1409899/"
    }
  ],
  "mediaType": "photos",
  "maxResults": 2
}
```

## Output

```json
{
  "mediaId": {
    "label": "Media ID"
  },
  "mediaType": {
    "label": "Type"
  },
  "title": {
    "label": "Title"
  },
  "creator": {
    "label": "Creator",
    "format": "object"
  },
  "width": {
    "label": "Width"
  },
  "height": {
    "label": "Height"
  },
  "duration": {
    "label": "Duration (s)"
  },
  "detailUrl": {
    "label": "Pexels page",
    "format": "link"
  },
  "thumbnailUrl": {
    "label": "Preview",
    "format": "image"
  },
  "primaryDownloadUrl": {
    "label": "Download",
    "format": "link"
  },
  "licenseName": {
    "label": "License"
  },
  "query": {
    "label": "Query"
  },
  "scrapedAt": {
    "label": "Scraped at",
    "format": "date"
  }
}
```

## About this Actor

This example demonstrates how to use [Pexels Stock Photos and Videos Scraper](https://apify.com/automation-lab/pexels-stock-media-scraper) with a specific input configuration. Visit the [Actor detail page](https://apify.com/automation-lab/pexels-stock-media-scraper) to learn more, explore other use cases, and run it yourself.