Google Videos API

Find videos matching a query.

What is this API?

Serqo’s Google Videos API returns video results shown for a Google query as structured JSON. Use engine: "google" and type: "videos"; available entries may include a title, source, duration, thumbnail and video-page link.

Common use cases

  • Find videos about a product, topic or named entity.
  • Compare video result placement across queries and search markets.
  • Collect titles, sources and page links for content research.

Request example

POST https://api.serqo.io/v1/search
FieldValue
enginegoogle
typevideos

Request headers

Create an API key and store it on your server. Send the API key in the x-api-key header.

HeaderValueDescription
Content-Typeapplication/jsonJSON request body.
x-api-keyYOUR_API_KEYAPI key used to authenticate the request.
bash
export SERP_API_KEY='YOUR_API_KEY'

curl https://api.serqo.io/v1/search \
  -H "x-api-key: $SERP_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "q": "beginner pottery wheel",
  "engine": "google",
  "type": "videos",
  "gl": "us",
  "hl": "en"
}'

Code examples

Use the same API key with a standard HTTP client. These examples require Node.js 22 or later, or Python 3.

JavaScript
const response = await fetch('https://api.serqo.io/v1/search', {
  method: 'POST',
  headers: { 'x-api-key': process.env.SERP_API_KEY, 'Content-Type': 'application/json' },
  body: JSON.stringify({"q": "beginner pottery wheel","engine":"google","type":"videos"}),
});
const result = await response.json();
if (!response.ok) throw new Error(`${response.status}: ${result.error?.message ?? 'Search failed'}`);
console.log(result.data);
Python
import json
import os
from urllib.request import Request, urlopen

payload = {"q": "beginner pottery wheel","engine":"google","type":"videos"}
request = Request(
    'https://api.serqo.io/v1/search',
    data=json.dumps(payload).encode(),
    headers={
        'x-api-key': os.environ['SERP_API_KEY'],
        'Content-Type': 'application/json',
    },
)
with urlopen(request) as response:
    result = json.load(response)
    print(result['data'])

Parameters

The number of results returned per request depends on the search engine and may vary.

FieldTypeRequiredDefaultDescription
qstringYes—Non-empty search query.
enginestringNogoogleUse google for this API.
typestringNowebUse videos for this API.
glstringNo—Two-letter lowercase country code, for example us.
hlstringNo—Interface language code, for example en.
startintegerNo—Offset from 0 to 1000000. Use nextStart from the response.
safeoff | activeNo—Explicit-content filter: off disables it, active enables it.
tbsstringNo—Google time filter, such as qdr:d, qdr:w or qdr:m.

Only q is required by the API, but keep engine and type as shown for this search. A dash means the API does not assign a default. Unknown parameters return 422 INVALID_PARAM.

Response

HTTP 200. A real API response, trimmed to the first three results for readability. Field availability and result groups vary by the returned page; values can be null.

JSON
{
  "success": true,
  "requestId": "req_fe105853-caa3-47fd-bbff-1187722402c2",
  "data": {
    "engine": "google",
    "type": "videos",
    "query": {
      "q": "beginner pottery wheel",
      "gl": "us",
      "hl": "en"
    },
    "searchInformation": {
      "totalResults": 106000,
      "timeTakenMs": 210,
      "displayed": "About 106,000 results"
    },
    "results": [
      {
        "position": 1,
        "type": "video",
        "title": "A Beginner's Guide to the Wheel/Throwing a Bowl",
        "url": "https://www.youtube.com/watch?v=Tllu3Qae9g0",
        "displayedUrl": "www.youtube.com › watch",
        "domain": "youtube.com",
        "source": "YouTube",
        "date": null,
        "snippet": null,
        "snippetHighlightedWords": [],
        "thumbnail": "https://img.youtube.com/vi/Tllu3Qae9g0/hqdefault.jpg",
        "favicon": null,
        "duration": "20:55",
        "price": null,
        "rating": null,
        "sitelinks": [
          {
            "title": "14:44",
            "url": "https://www.google.com/goto?url=CAESZgHrOzAVE5fh8O8BNOUh5C-eLKbdFfSZsCYB00T8Fr0ld45HwUXWl4xf1k4RUwUWv-S7Fc0_mwzK321OdL9uC_NUu4u0W5clxhDQjaKKAUtTbmffIZ2mkGqJ5GvArOonqbQa0d5Nzg"
          },
          {
            "title": "wheel throwing for beginners",
            "url": "https://www.google.com/search?safe=off&sca_esv=64345335af5ad8d5&hl=en&gl=us&udm=vids&sxsrf=APpeQnvFC0XWTBv0f_jp0FSreIZkiC_pEQ:1792735711734&q=Wheel+throwing+for+beginners&sa=X&ved=2ahUKEwiJr5j6vM-XAxVJlIkEHaP0Ix4Q1QJ6BAgdEAE"
          },
          {
            "title": "how to throw a cylinder on a pottery wheel",
            "url": "https://www.google.com/search?safe=off&sca_esv=64345335af5ad8d5&hl=en&gl=us&udm=vids&sxsrf=APpeQnvFC0XWTBv0f_jp0FSreIZkiC_pEQ:1792735711734&q=How+to+throw+a+cylinder+on+a+pottery+wheel&sa=X&ved=2ahUKEwiJr5j6vM-XAxVJlIkEHaP0Ix4Q1QJ6BAgfEAE"
          },
          {
            "title": "how to throw clay on a wheel step by step",
            "url": "https://www.google.com/search?safe=off&sca_esv=64345335af5ad8d5&hl=en&gl=us&udm=vids&sxsrf=APpeQnvFC0XWTBv0f_jp0FSreIZkiC_pEQ:1792735711734&q=How+to+throw+clay+on+a+wheel+step+by+step&sa=X&ved=2ahUKEwiJr5j6vM-XAxVJlIkEHaP0Ix4Q1QJ6BAghEAE"
          },
          {
            "title": "how to turn on a pottery wheel",
            "url": "https://www.google.com/search?safe=off&sca_esv=64345335af5ad8d5&hl=en&gl=us&udm=vids&sxsrf=APpeQnvFC0XWTBv0f_jp0FSreIZkiC_pEQ:1792735711734&q=How+to+turn+on+a+pottery+wheel&sa=X&ved=2ahUKEwiJr5j6vM-XAxVJlIkEHaP0Ix4Q1QJ6BAgjEAE"
          },
          {
            "title": "turning pottery on the wheel",
            "url": "https://www.google.com/search?safe=off&sca_esv=64345335af5ad8d5&hl=en&gl=us&udm=vids&sxsrf=APpeQnvFC0XWTBv0f_jp0FSreIZkiC_pEQ:1792735711734&q=Turning+pottery+on+the+wheel&sa=X&ved=2ahUKEwiJr5j6vM-XAxVJlIkEHaP0Ix4Q1QJ6BAgkEAE"
          },
          {
            "title": "how to use a pottery wheel",
            "url": "https://www.google.com/search?safe=off&sca_esv=64345335af5ad8d5&hl=en&gl=us&udm=vids&sxsrf=APpeQnvFC0XWTBv0f_jp0FSreIZkiC_pEQ:1792735711734&q=How+to+use+a+pottery+wheel&sa=X&ved=2ahUKEwiJr5j6vM-XAxVJlIkEHaP0Ix4Q1QJ6BAgiEAE"
          },
          {
            "title": "beginner throwing clay",
            "url": "https://www.google.com/search?safe=off&sca_esv=64345335af5ad8d5&hl=en&gl=us&udm=vids&sxsrf=APpeQnvFC0XWTBv0f_jp0FSreIZkiC_pEQ:1792735711734&q=Beginner+throwing+clay&sa=X&ved=2ahUKEwiJr5j6vM-XAxVJlIkEHaP0Ix4Q1QJ6BAggEAE"
          },
          {
            "title": "pottery wheel video",
            "url": "https://www.google.com/search?safe=off&sca_esv=64345335af5ad8d5&hl=en&gl=us&udm=vids&sxsrf=APpeQnvFC0XWTBv0f_jp0FSreIZkiC_pEQ:1792735711734&q=Pottery+wheel+video&sa=X&ved=2ahUKEwiJr5j6vM-XAxVJlIkEHaP0Ix4Q1QJ6BAgeEAE"
          }
        ],
        "extensions": {
          "profileName": "Jasmeet Studio",
          "extensions": [
            "Jasmeet Studio"
          ],
          "clip": null,
          "cardPosition": 1
        }
      },
      {
        "position": 2,
        "type": "video",
        "title": "Pottery For Beginners: Wheel Throwing",
        "url": "https://www.youtube.com/watch?v=qSKyRVpVbmU",
        "displayedUrl": "www.youtube.com › watch",
        "domain": "youtube.com",
        "source": "YouTube",
        "date": null,
        "snippet": null,
        "snippetHighlightedWords": [],
        "thumbnail": "https://img.youtube.com/vi/qSKyRVpVbmU/hqdefault.jpg",
        "favicon": null,
        "duration": "15:57",
        "price": null,
        "rating": null,
        "sitelinks": [],
        "extensions": {
          "profileName": "Sarah Wells Rolland",
          "extensions": [
            "Sarah Wells Rolland"
          ],
          "clip": "https://encrypted-vtbn0.gstatic.com/video?q=tbn:ANd9GcR0FmP0nVkFjkPss_2UzTNzVabyJ__L5fTsEA",
          "cardPosition": 2
        }
      },
      {
        "position": 3,
        "type": "video",
        "title": "Potters Wheel - BEGINNERS TIPS - pottery ceramics",
        "url": "https://www.youtube.com/watch?v=rBYCl_w7KXo",
        "displayedUrl": "www.youtube.com › watch",
        "domain": "youtube.com",
        "source": "YouTube",
        "date": null,
        "snippet": null,
        "snippetHighlightedWords": [],
        "thumbnail": "https://img.youtube.com/vi/rBYCl_w7KXo/hqdefault.jpg",
        "favicon": null,
        "duration": "10:14",
        "price": null,
        "rating": null,
        "sitelinks": [],
        "extensions": {
          "profileName": "Red Rocking Bird",
          "extensions": [
            "Red Rocking Bird"
          ],
          "clip": null,
          "cardPosition": 3
        }
      }
    ],
    "features": {
      "knowledgePanel": {
        "title": null,
        "subtitle": null,
        "description": null,
        "kgmid": null,
        "attributes": {
          "AutocompletePrediction": "Delete"
        },
        "sources": []
      },
      "videoResults": [
        {
          "position": 1,
          "title": "A Beginner's Guide to the Wheel/Throwing a Bowl",
          "source": "YouTube",
          "profileName": "Jasmeet Studio",
          "extensions": [
            "Jasmeet Studio"
          ],
          "sourceLogo": null,
          "duration": "20:55",
          "clip": null,
          "thumbnail": "https://img.youtube.com/vi/Tllu3Qae9g0/hqdefault.jpg",
          "link": "https://www.youtube.com/watch?v=Tllu3Qae9g0"
        },
        {
          "position": 2,
          "title": "Pottery For Beginners: Wheel Throwing",
          "source": "YouTube",
          "profileName": "Sarah Wells Rolland",
          "extensions": [
            "Sarah Wells Rolland"
          ],
          "sourceLogo": null,
          "duration": "15:57",
          "clip": "https://encrypted-vtbn0.gstatic.com/video?q=tbn:ANd9GcR0FmP0nVkFjkPss_2UzTNzVabyJ__L5fTsEA",
          "thumbnail": "https://img.youtube.com/vi/qSKyRVpVbmU/hqdefault.jpg",
          "link": "https://www.youtube.com/watch?v=qSKyRVpVbmU"
        },
        {
          "position": 3,
          "title": "Potters Wheel - BEGINNERS TIPS - pottery ceramics",
          "source": "YouTube",
          "profileName": "Red Rocking Bird",
          "extensions": [
            "Red Rocking Bird"
          ],
          "sourceLogo": null,
          "duration": "10:14",
          "clip": null,
          "thumbnail": "https://img.youtube.com/vi/rBYCl_w7KXo/hqdefault.jpg",
          "link": "https://www.youtube.com/watch?v=rBYCl_w7KXo"
        },
        {
          "position": 4,
          "title": "5 steps to throwing POTS on the Potter's Wheel",
          "source": "YouTube",
          "profileName": "Jonthepotter",
          "extensions": [
            "Jonthepotter"
          ],
          "sourceLogo": null,
          "duration": "12:21",
          "clip": null,
          "thumbnail": "https://img.youtube.com/vi/pCqSCDIGiqM/hqdefault.jpg",
          "link": "https://www.youtube.com/watch?v=pCqSCDIGiqM&vl=en"
        },
        {
          "position": 5,
          "title": "How to Use a Pottery Wheel to Make a Cylinder | JEN ALLEN",
          "source": "YouTube",
          "profileName": "Ceramic Arts Network",
          "extensions": [
            "Ceramic Arts Network"
          ],
          "sourceLogo": null,
          "duration": "22:34",
          "clip": null,
          "thumbnail": "https://img.youtube.com/vi/3ItAqQayoJ4/hqdefault.jpg",
          "link": "https://www.youtube.com/watch?v=3ItAqQayoJ4"
        },
        {
          "position": 6,
          "title": "Best Pottery Wheel for Beginners - short version",
          "source": "YouTube",
          "profileName": "Mikkel deMib - Pottery Tips",
          "extensions": [
            "Mikkel deMib - Pottery Tips"
          ],
          "sourceLogo": null,
          "duration": "9:15",
          "clip": null,
          "thumbnail": "https://img.youtube.com/vi/feEbMEmzO2o/hqdefault.jpg",
          "link": "https://www.youtube.com/watch?v=feEbMEmzO2o"
        },
        {
          "position": 7,
          "title": "Making A Plate Beginner Pottery Wheel Projects # 12",
          "source": "YouTube",
          "profileName": "Pottery Crafters",
          "extensions": [
            "Pottery Crafters"
          ],
          "sourceLogo": null,
          "duration": "11:26",
          "clip": "https://encrypted-vtbn0.gstatic.com/video?q=tbn:ANd9GcQvqAwh02cIajme96xaip_Sak0IoMO7uS64BQ",
          "thumbnail": "https://img.youtube.com/vi/BkpZXut1ynw/hqdefault.jpg",
          "link": "https://www.youtube.com/watch?v=BkpZXut1ynw"
        },
        {
          "position": 8,
          "title": "Is it the Best Pottery Wheel for Beginners? Vevor ...",
          "source": "YouTube",
          "profileName": "Three Little Potters",
          "extensions": [
            "Three Little Potters"
          ],
          "sourceLogo": null,
          "duration": "18:38",
          "clip": "https://encrypted-vtbn0.gstatic.com/video?q=tbn:ANd9GcRxKmVVD_rKsInkTu32XvucHOo9iKjManhMnA",
          "thumbnail": "https://img.youtube.com/vi/wrbeGrBDwzE/hqdefault.jpg",
          "link": "https://www.youtube.com/watch?v=wrbeGrBDwzE"
        },
        {
          "position": 9,
          "title": "Wheel Throwing For Beginners: How to Throw a Cylinder",
          "source": "YouTube",
          "profileName": "Ceramic Jim",
          "extensions": [
            "Ceramic Jim"
          ],
          "sourceLogo": null,
          "duration": "5:05",
          "clip": "https://encrypted-vtbn0.gstatic.com/video?q=tbn:ANd9GcSlxeO_hJrHlaS8ONIBXTEdmmFYzciznFXuMw",
          "thumbnail": "https://img.youtube.com/vi/dmgMKbHyDFw/hqdefault.jpg",
          "link": "https://www.youtube.com/watch?v=dmgMKbHyDFw"
        }
      ]
    },
    "pagination": {
      "page": 1,
      "start": 0,
      "hasNext": false,
      "nextStart": null
    },
    "meta": {
      "elapsedMs": 3544
    }
  },
  "meta": {
    "cache": "miss"
  }
}

Response fields

FieldTypeDescription
data.queryobjectSearch query passed to the engine.
data.searchInformationobjectReported result count and search timing, when provided.
successbooleanWhether the request succeeded. True in this example.
requestIdstringRequest identifier to include when troubleshooting.
data.typestringSearch type used for this response.
data.enginestringEngine that returned the results.
data.resultsarrayMain result list. Check feature groups as well when present.
data.featuresobjectAdditional result groups; groups not returned by the engine may be absent.
data.paginationobjectCurrent offset and next-page availability.
data.meta.elapsedMsnumberSearch duration in milliseconds, not a performance guarantee.
meta.cachestring | nullhit, miss, or null if cache status is unknown.

Result fields

Read data.features.videoResults when present. Some results may instead appear in data.results; check both before treating a search as empty.

FieldTypeDescription
data.features.videoResults[].positionintegerVideo position.
data.features.videoResults[].titlestring | nullVideo title.
data.features.videoResults[].sourcestring | nullSource label.
data.features.videoResults[].profileNamestring | nullChannel or profile name.
data.features.videoResults[].extensionsstring[]Other text shown on the video card.
data.features.videoResults[].sourceLogostring | nullSource logo when provided.
data.features.videoResults[].durationstring | nullDuration as displayed, for example 4:12.
data.features.videoResults[].clipstring | nullMay be null; a playable video stream is not guaranteed.
data.features.videoResults[].thumbnailstring | nullThumbnail when provided.
data.features.videoResults[].linkstring | nullVideo-page link.

Main result entries

FieldTypeDescription
data.results[].domainstring | nullDestination domain, when available.
data.results[].faviconstring | nullSite icon when provided.
data.results[].sitelinksarrayAdditional links nested under the result.
data.results[].sitelinks[].titlestringSitelink label.
data.results[].sitelinks[].urlstring | nullSitelink destination.
data.results[].extensionsobjectOther result-specific properties.
data.results[].snippetHighlightedWordsstring[], optionalHighlighted terms in the snippet, when provided.
data.results[].positionintegerRank on this results page, starting at 1.
data.results[].typestringResult category: organic, news, image, video, shopping, local, forum, book, patent or ad. This can differ from the request type.
data.results[].titlestring | nullTitle shown in the result.
data.results[].urlstring | nullDestination URL when resolved; it may be null.
data.results[].displayedUrlstring | nullURL or domain displayed by the engine; not always a clickable link.
data.results[].sourcestring | nullSource name or displayed domain.
data.results[].datestring | nullDate text when extracted; not necessarily an ISO timestamp.
data.results[].snippetstring | nullResult summary.
data.results[].thumbnailstring | nullThumbnail URL or inline data URL, when provided.
data.results[].durationstring | nullVideo duration text when provided.
data.results[].pricestring | nullPrice text when provided.
data.results[].ratingnumber | nullRating when provided.

Pagination

  1. Check data.pagination.hasNext; stop when it is false.
  2. Use data.pagination.nextStart as start. Keep the other search parameters unchanged.
  3. Send the next request. Each page is a separate search request.
FieldTypeDescription
data.pagination.nextUrlstring | nullSearch-engine URL for the next page, when available; use nextStart with this API.
data.pagination.requestedPageintegerPage requested; may differ from the returned page if the engine does not provide it.
data.pagination.pageintegerCurrent page number.
data.pagination.startintegerCurrent result offset.
data.pagination.hasNextbooleanWhether another page is available.
data.pagination.nextStartinteger | nullOffset for the next request, or null when unavailable.

Errors

JSON
{
  "success": false,
  "requestId": "req_example",
  "error": {
    "code": "INVALID_PARAM",
    "message": "Unknown parameter \"page\"",
    "retryable": false
  }
}
FieldTypeDescription
error.codestringMachine-readable error code.
error.messagestringReason the request failed.
error.retryablebooleanWhether retrying is recommended.
error.retryAfterMsnumber, optionalMinimum wait before retrying, in milliseconds.
HTTP statusMeaningWhat to do
400Invalid request or unsupported search type.Check the query and engine/type combination.
401Missing, invalid or revoked API key.Check the authentication header and API key.
402Insufficient credits.Check your credit balance.
403Permission or plan restriction.Check account access and plan limits.
422Invalid parameter.Correct the parameter identified by error.message.
429Request rate or queue limit.Follow the retry rules below.
5xxServer or search service failure.Keep the requestId; retry only if allowed.

Retry rules

  • Retry only when error.retryable is true.
  • If error.retryAfterMs is present, wait at least that many milliseconds.

Pricing and limits

  • Successful searches use credits at the applicable rate.
  • Failed searches and timeouts are not charged.
  • Cache hits are free at the default rate. Before searching, your available balance must cover the full request cost.

See plan pricing and rate-limit and credit details.

Frequently asked questions

Does the API return a playable video file?

No. The response describes results shown on the search page; it does not promise a playable stream. A video-page link or thumbnail may be present when the result provides one.

How are video searches charged?

Successful searches use the applicable credit rate for the engine, type and country. Failed searches and timeouts release the reservation; cache hits are free at the default rate. See Pricing and limits below for the current rules.