[← Back to tools]
apify.youtube-videos

Scrape YouTube videos: $0.0023 / result, no Apify account

Use Apify from Claude, Claude Code, Cursor, ChatGPT, and other agents through one Cralo balance.

Search or scrape public YouTube video metadata using Apify's YouTube Scraper.

Price and execution

Price
$0.0023 / result
Pricing model
Per result, billed on success
Execution class
queued

Limits

No additional limits are published for this tool.

Parameters

Fields apify.youtube-videos accepts as JSON input.

  • urlstring (uri)Optional

    Public profile, page, or listing URL.

  • limitintegerOptional

    Maximum number of records to return (1 to 1000, default 10). Quoted price scales with this limit.

  • querystringOptional

    Search keyword.

Raw input JSON Schema
{
  "type": "object",
  "required": [],
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "pattern": "^https://(www\\.)?youtube\\.com/",
      "description": "Public profile, page, or listing URL."
    },
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 1000,
      "minimum": 1,
      "description": "Maximum number of records to return (1 to 1000, default 10). Quoted price scales with this limit."
    },
    "query": {
      "type": "string",
      "maxLength": 300,
      "description": "Search keyword."
    }
  },
  "additionalProperties": false
}

Returns

Fields a successful apify.youtube-videos call returns.

  • countintegerRequired
  • resultsarrayRequired
  • retrieved_atstring (date-time)Required
  • provider_request_idstring | nullRequired
Raw output JSON Schema
{
  "type": "object",
  "required": [
    "results",
    "count",
    "provider_request_id",
    "retrieved_at"
  ],
  "properties": {
    "count": {
      "type": "integer",
      "minimum": 0
    },
    "results": {
      "type": "array",
      "maxItems": 1000
    },
    "retrieved_at": {
      "type": "string",
      "format": "date-time"
    },
    "provider_request_id": {
      "type": [
        "string",
        "null"
      ]
    }
  },
  "additionalProperties": false
}

Run this tool

Copy this instruction to your agent to set up Cralo and call this tool with the example input.

Set up Cralo by following https://cralo.ai/SKILL.md, then call the apify.youtube-videos tool with this input: {"query":"coffee","limit":1}

Safety notes

Side Effect
read_only
Public Sources Only
Yes
Authenticated Content
No

How this compares to using Apify directly

You do not need a separate Apify account or subscription for this call. Cralo uses one prepaid balance across all tools and shows the per-call price before you run the command.

Related tools

[Browse all tools]