Outscraper icon

Outscraper

Interact with Outscraper API

Actions52

YouTube → Search

AI-generated

Overview

This node interacts with the Outscraper API to perform a YouTube search based on a user-provided query. It is useful for retrieving YouTube video data such as video titles, IDs, and other metadata by specifying search terms. Common scenarios include gathering video content related to specific topics, monitoring trends, or collecting data for analysis.

Use Case Examples

  1. Searching for 'funny cats videos' to get a list of related YouTube videos.
  2. Limiting the number of search results to 50 for efficient data processing.
  3. Using additional fields to specify which video data fields to include in the response.

Properties

Name Meaning
Query The search query string to find relevant YouTube videos (e.g., funny cats videos). This is a required input.
Async Boolean flag to determine whether the request should be executed asynchronously.
Webhook URL to which Outscraper will send a POST request once the search task is finished, used for asynchronous execution callbacks.
Limit Maximum number of search results to return, with a minimum value of 1.
Additional Fields Optional additional parameters such as specifying which fields to include in the response and whether to execute the request as a UI task.
Request Options Node-level request configuration options including batching, SSL certificate validation, proxy settings, and request timeout.

Output

JSON

  • results - Array of search result objects returned from the YouTube search query, containing video metadata and other requested fields.

Dependencies

  • Outscraper API key credential

Troubleshooting

  • Ensure the API key credential is correctly configured and has permissions to access the Outscraper YouTube search API.
  • If asynchronous execution is enabled, verify the webhook URL is reachable and correctly configured to receive POST requests.
  • Check network settings if using a proxy or if SSL certificate validation errors occur; consider enabling 'Ignore SSL Issues' if appropriate.
  • Limit parameter must be a positive integer; invalid values may cause request failures.

Links

Discussion