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/

Photo → Search

AI-generated

Summary

Search photos matching a query with optional filters for color, orientation, size, and locale.

Inputs

  • query (required) — Text to search for in photos (tags, title, description)
  • returnAll — If true, returns all available results; otherwise respects the limit parameter
  • limit — Maximum number of photos to return (API allows up to 80 per request; limit capped at 5000)
  • additionalFields — Optional filters: color, locale, orientation, page, perPage, size

Output shape

Array of photo objects matching the search criteria, emitted as n8n main items.

Per-request API limit is 80 items; pagination handles larger result sets when returnAll is true.

Examples

Example 1: Search for nature photos, return up to 20 results

query: 'nature', limit: 20, returnAll: false

Discussion