Pexels icon

Pexels

Search and browse free photos and videos from Pexels | Documentation: https://dps.media/node-n8n-cho-pexels-tu-dong-hoa-tim-kiem-anh-va-video-mien-phi/

Video → Search

AI-generated

Summary

Search Pexels videos with a text query and optional filters.

Inputs

  • query (required) — Text to search for in videos
  • returnAll — If true, returns all matching videos without a limit applied
  • limit — Max videos to return when returnAll is false (default 50, capped at 80 per API request)
  • additionalFields — Optional filters for duration, size, and dimensions. Default: {}

Output shape

Array of video objects from the Pexels /videos/search endpoint, processed via the node's returnJsonArray helper and output on the main connector.

Each item represents a single video matching the search criteria.

Examples

Example 1: Basic text search

Query: 'sunset over mountains'; Return All: false; Limit: 10

Example 2: Filter by duration and size

Query: 'nature'; Min Duration: 30; Max Duration: 300; Size: large

Discussion