Allah Movie ai

Allah Movie ai · GPT-Aktionen

SerpApi YouTube Search Service

API for querying YouTube videos using SerpApi.

  • GET /searchSearch YouTube

    Performs a search on YouTube using SerpApi.

Ursprüngliches API-Schema
{
  "openapi": "3.0.0",
  "info": {
    "title": "SerpApi YouTube Search Service",
    "version": "1.0.0",
    "description": "API for querying YouTube videos using SerpApi."
  },
  "servers": [
    {
      "url": "https://serpapi.com"
    }
  ],
  "paths": {
    "/search": {
      "get": {
        "operationId": "youtubeVideoSearch",
        "summary": "Search YouTube",
        "description": "Performs a search on YouTube using SerpApi.",
        "parameters": [
          {
            "name": "engine",
            "in": "query",
            "description": "The search engine to be used, set to 'youtube'.",
            "required": true,
            "schema": {
              "type": "string",
              "default": "youtube"
            }
          },
          {
            "name": "search_query",
            "in": "query",
            "description": "The search query term for YouTube.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "api_key",
            "in": "query",
            "description": "fca11ca9dfaed3a88e76e266c98216f7802a3be582d183821e6a02f37103093e.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with search results",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "videos": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string"
                          },
                          "description": {
                            "type": "string"
                          },
                          "thumbnail": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "default": {
            "description": "Error response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}