# YouTube search results

Provider: Crawl4AI
Final price: $0.0009/success
Success rate: 100%

The videos YouTube finds for a query: title, link, video id, channel, views, when it was published (as YouTube says it, "3 years ago"), length and a short description. `limit` caps the rows (at most 20). A run takes about a second: YouTube's own search answer, plus one more call when it holds fewer videos than `limit`. Columns: title, url, video_id, channel, views, published, length, description.

## Example

```curl
curl -X POST 'https://toolswitch.dev/v1/tools/crawl4ai.youtube.search.videos' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"query":"rust programming"}'
```

[View on Toolswitch](https://toolswitch.dev/pt/tools/crawl4ai.youtube.search.videos)
