YouTube Scraper

Search YouTube

Searches YouTube by keyword query and returns matching videos, channels, playlists, shorts, shelves, and live streams. Each video result includes title, URL, thumbnail, view count (views), publish date, duration, channel info, and badges. Supports filtering by upload date, sorting by relevance or popularity, and paginating with continuationToken. Set is_paid_promotions=true to search YouTube videos with the paid product placement / sponsorship disclosure.

1 creditNo API key needed

Endpoint

Parameters

NameTypeRequiredNote
querystring · requiredstringrequired

Search query. For stricter title matching, use YouTube's intitle: operator, for example intitle:"Foursquare Swarm". Quoted queries by themselves may still be broadened by YouTube when no fresh exact matches are available.

typestring · optionalstringoptional

Type of content to search for

One of: videos, shorts, channels, playlists

limitnumber · optionalnumberoptional

Maximum number of results to return from this request. Leave empty for everything this request returns. This trims the response — it does not fetch more; use the returned cursor for the next batch. The price is the same either way.

regionstring · optionalstringoptional

2 letter country code of the country to put the proxy in.

sortBystring · optionalstringoptional

Sort by

One of: relevance, popular

durationstring · optionalstringoptional

Duration of the video. Only applies to videos (not shorts).

One of: under_3_min, between_3_and_20_min, over_20_min

uploadDatestring · optionalstringoptional

Upload date

One of: today, this_week, this_month, this_year

includeExtrasstring · optionalstringoptional

This will get you the like + comment count and the description. To get the full details of the video, use the /v1/youtube/video endpoint. *This will slow down the response slightly.*

continuationTokenstring · optionalstringoptional

Continuation token to get more videos. Get 'continuationToken' from previous response.

Response schema

{
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "properties": {
    "lives": {
      "type": "array"
    },
    "shorts": {
      "type": "array"
    },
    "videos": {
      "type": "array"
    },
    "shelves": {
      "type": "array"
    },
    "channels": {
      "type": "array"
    },
    "playlists": {
      "type": "array"
    },
    "limitApplied": {
      "type": "boolean",
      "description": "True when a Limit trimmed the results; there were more in this response."
    },
    "continuationToken": {
      "type": "string"
    }
  },
  "additionalProperties": true
}

Get started

How to use this tool

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, and this tool comes with it. There’s no API key or account to set up.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this tool when the job calls for it, along with any others it needs.

  3. Make it a workflow

    Add it as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether it runs on its own or asks first. When it asks, you see an Allow or Deny card before any credits are spent.