YouTube Scraper
Search YouTube by Hashtag
Find YouTube videos or Shorts under a hashtag, with title, views, publish date, duration and channel.
Endpoint
Parameters
| Name | Type | Required | Note |
|---|---|---|---|
| hashtagstring · required | string | required | Hashtag to search for |
| typestring · optional | string | optional | Search for all types of content or only shorts One of: |
| limitnumber · optional | number | optional | 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. |
| continuationTokenstring · optional | string | optional | Continuation token to get more videos. Get 'continuationToken' from previous response. |
Response schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"videos": {
"type": "array"
},
"limitApplied": {
"type": "boolean",
"description": "True when a Limit trimmed the results; there were more in this response."
},
"continuationToken": {
"type": "string"
}
},
"additionalProperties": true
}