구글 최신 생성형 AI 뉴스 검색기

구글 최신 생성형 AI 뉴스 검색기 · Actions GPT

SerpApi Search Service

This API provides search functionality using the SerpApi service, enabling searches across different engines like Google News.

  • GET /searchPerform a search using SerpApi
Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "SerpApi Search Service",
    "version": "1.0.0",
    "description": "This API provides search functionality using the SerpApi service, enabling searches across different engines like Google News."
  },
  "servers": [
    {
      "url": "https://serpapi.com"
    }
  ],
  "paths": {
    "/search": {
      "get": {
        "summary": "Perform a search using SerpApi",
        "operationId": "searchSerpApi",
        "parameters": [
          {
            "name": "engine",
            "in": "query",
            "required": true,
            "description": "Search engine to use for the query.",
            "schema": {
              "type": "string",
              "example": "google_news"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "Query string to search for.",
            "schema": {
              "type": "string",
              "example": "pizza"
            }
          },
          {
            "name": "api_key",
            "in": "query",
            "required": true,
            "description": "API key for authenticating with SerpApi.",
            "schema": {
              "type": "string",
              "enum": [
                "3f861f61c49ea1a8dab17b84f6e1078464109b7f397b32a1516835b2d9880e73"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with search results.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "search_results": {
                      "type": "array",
                      "items": {
                        "type": "object"
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad request due to invalid parameters."
          },
          "401": {
            "description": "Unauthorized access due to missing or invalid API key."
          }
        }
      }
    }
  }
}