{
  "openapi": "3.0.1",
  "info": {
    "title": "🚀 Pexels Scraper · 10,000 Free Photos & Videos/Month",
    "description": "Pexels Scraper gets you stock photos & videos ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — download links, every 4K MP4, tags, EXIF & views. 💰 $0.50 per 1,000 photos & videos, no start fee. Scrape your first 10,000 photos & videos free every month 🚀",
    "version": "0.0",
    "x-build-id": "AssnheDi1OewIhabk"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/omkar-cloud~pexels-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-omkar-cloud-pexels-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/omkar-cloud~pexels-scraper/runs": {
      "post": {
        "operationId": "runs-sync-omkar-cloud-pexels-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/omkar-cloud~pexels-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-omkar-cloud-pexels-scraper",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "searchQueries": {
            "title": "Search Keywords",
            "type": "array",
            "description": "What to search for — e.g. new york city, coffee, ocean waves. Rows carry an `input` field so you can tell keywords apart.",
            "items": {
              "type": "string"
            }
          },
          "mediaType": {
            "title": "Media Type",
            "enum": [
              "photos",
              "videos",
              "all"
            ],
            "type": "string",
            "description": "Search photos, videos or both. Also picks what a photographer link returns.",
            "default": "photos"
          },
          "orientation": {
            "title": "Orientation",
            "enum": [
              "",
              "landscape",
              "portrait",
              "square"
            ],
            "type": "string",
            "description": "Only landscape, portrait or square media.",
            "default": ""
          },
          "size": {
            "title": "Minimum Size",
            "enum": [
              "",
              "small",
              "medium",
              "large"
            ],
            "type": "string",
            "description": "Minimum original size: Small is 4 MP photos / SD videos, Medium 12 MP / HD, Large 24 MP / 4K.",
            "default": ""
          },
          "peopleCount": {
            "title": "People in Frame",
            "enum": [
              "",
              "0",
              "1",
              "2",
              "3+"
            ],
            "type": "string",
            "description": "Number of people in the photo or video.",
            "default": ""
          },
          "peopleAge": {
            "title": "Age of People",
            "enum": [
              "",
              "baby",
              "child",
              "teenager",
              "adult",
              "senior_adult"
            ],
            "type": "string",
            "description": "Age group of the people shown.",
            "default": ""
          },
          "dateFrom": {
            "title": "Uploaded Within",
            "enum": [
              "",
              "last_24_hours",
              "last_week",
              "last_month",
              "last_year"
            ],
            "type": "string",
            "description": "Only media uploaded within this window.",
            "default": ""
          },
          "photographer": {
            "title": "Only From Photographer",
            "type": "string",
            "description": "Only this photographer's media in the searches — a user id, @handle or profile link (@eberhardgross)."
          },
          "minWidth": {
            "title": "Min Photo Width (px)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Minimum photo width in pixels."
          },
          "maxWidth": {
            "title": "Max Photo Width (px)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum photo width in pixels."
          },
          "minHeight": {
            "title": "Min Photo Height (px)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Minimum photo height in pixels."
          },
          "maxHeight": {
            "title": "Max Photo Height (px)",
            "minimum": 1,
            "maximum": 50000,
            "type": "integer",
            "description": "Maximum photo height in pixels."
          },
          "minDuration": {
            "title": "Min Video Length (s)",
            "minimum": 1,
            "maximum": 3600,
            "type": "integer",
            "description": "Minimum video length in seconds."
          },
          "maxDuration": {
            "title": "Max Video Length (s)",
            "minimum": 1,
            "maximum": 3600,
            "type": "integer",
            "description": "Maximum video length in seconds."
          },
          "frameRate": {
            "title": "Frame Rate",
            "enum": [
              "",
              "24",
              "25",
              "30",
              "50",
              "60+"
            ],
            "type": "string",
            "description": "Video frames per second.",
            "default": ""
          },
          "resolution": {
            "title": "Video Resolution",
            "enum": [
              "",
              "1080p",
              "4k",
              "8k"
            ],
            "type": "string",
            "description": "Only 1080p, 4K or 8K videos.",
            "default": ""
          },
          "urls": {
            "title": "Pexels URLs or IDs",
            "type": "array",
            "description": "Photo or video links (https://www.pexels.com/photo/…-691668/) and bare ids (691668), search pages (https://www.pexels.com/search/videos/ocean/?orientation=portrait), photographer profiles (https://www.pexels.com/@eberhardgross/ or @eberhardgross) and collections (https://www.pexels.com/collections/mighty-mountains-cwgidat/). Photo and video links are always billed as detailed rows.",
            "items": {
              "type": "string"
            }
          },
          "similarTo": {
            "title": "Similar Media To",
            "type": "array",
            "description": "Photo or video links or ids — returns the media Pexels shows as similar to each one (up to 1,000 each).",
            "items": {
              "type": "string"
            }
          },
          "uploadsSort": {
            "title": "Photographer Uploads Order",
            "enum": [
              "recent",
              "popular"
            ],
            "type": "string",
            "description": "Order of a photographer link's uploads.",
            "default": "recent"
          },
          "language": {
            "title": "Language",
            "enum": [
              "",
              "en-US",
              "pt-BR",
              "es-ES",
              "ca-ES",
              "de-DE",
              "it-IT",
              "fr-FR",
              "sv-SE",
              "id-ID",
              "pl-PL",
              "ja-JP",
              "zh-TW",
              "zh-CN",
              "ko-KR",
              "th-TH",
              "nl-NL",
              "hu-HU",
              "vi-VN",
              "cs-CZ",
              "da-DK",
              "fi-FI",
              "uk-UA",
              "el-GR",
              "ro-RO",
              "nb-NO",
              "sk-SK",
              "tr-TR",
              "ru-RU"
            ],
            "type": "string",
            "description": "Language of titles, tags and page links. Default English.",
            "default": ""
          },
          "maxResultsPerSearch": {
            "title": "Max Results per Search or Link",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop each keyword, search page, photographer, collection or similar-media list after this many rows. Caps your cost: you pay per row. Pexels serves up to 480 results per search.",
            "default": 100
          },
          "includeDetails": {
            "title": "Scrape Full Details",
            "type": "boolean",
            "description": "Also open every photo and video: views, downloads, likes, camera EXIF, file size, place, content-safety ratings, page links in 28 languages and the photographer's full profile with followers and all-time stats. Billed as a detailed row.",
            "default": false
          },
          "onlyNewMedia": {
            "title": "Only New Photos & Videos",
            "type": "boolean",
            "description": "Remember every photo and video this input set has returned, and on later runs push only media never seen before — perfect for a scheduled feed. Already-seen media are skipped and not billed.",
            "default": false
          },
          "monitorName": {
            "title": "Monitor Name",
            "type": "string",
            "description": "Optional. Keeps a separate history under this name — one per saved search or client. Without it, the history is keyed on your inputs."
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}