The Google Short Videos API provides real-time access to short-form video content indexed by Google, allowing users to retrieve videos based on specific queries, topics, platforms, and customizable filters for highly relevant video results.

Get Your API Key

Sign in at hasdata.com, go to your account settings, and copy your API key. All requests must include your key in the x-api-key header.

Make Your First Request

curl --request GET \
  --url 'https://api.hasdata.com/scrape/google/short-videos?q=Coffee&location=Austin%2CTexas%2CUnited%20States&deviceType=desktop' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>'

API Parameters

ParameterDefault ValueRequiredDescription
qCoffeeYesSearch query term for retrieving short videos results.
locationAustin,Texas,United StatesNoGoogle canonical location for the search.
uule-NoThe encoded location parameter.
gl-NoThe two-letter country code for the country you want to limit the search to.
lr-NoThe ‘lr’ parameter specifies the language of the websites to return results from. This parameter filters results based on the language of the web content.
hl-NoThe two-letter language code for the language you want to use for the search.
cr-NoThe country code for the country you want to limit the search to.
page-NoPage number for paginated results, where 0 is the first page.
deviceTypedesktopNoSpecify the device type for the search.