네이버쇼핑(상품) - 네이버 실시간 검색 기반

네이버쇼핑(상품) - 네이버 실시간 검색 기반 · GPT 작업

SerpAPI Naver Search

SerpAPI를 이용한 Naver 검색 API.

  • GET /searchnaverSearch

    SerpAPI를 이용하여 Naver에서 특정 쿼리에 대한 검색 결과를 가져옵니다.

원본 API 스키마
{
  "openapi": "3.1.0",
  "info": {
    "title": "SerpAPI Naver Search",
    "description": "SerpAPI를 이용한 Naver 검색 API.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://serpapi.com"
    }
  ],
  "paths": {
    "/search": {
      "get": {
        "description": "SerpAPI를 이용하여 Naver에서 특정 쿼리에 대한 검색 결과를 가져옵니다.",
        "operationId": "naverSearch",
        "parameters": [
          {
            "name": "engine",
            "in": "query",
            "description": "사용할 검색 엔진",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "naver"
              ]
            }
          },
          {
            "name": "query",
            "in": "query",
            "description": "검색어",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "where",
            "in": "query",
            "description": "검색 위치 (예: 웹 검색)",
            "required": false,
            "schema": {
              "type": "string",
              "enum": [
                "web"
              ]
            }
          },
          {
            "name": "api_key",
            "in": "query",
            "description": "API 키",
            "required": true,
            "schema": {
              "type": "string",
              "enum": [
                "127d858e7bfd34a365c47d7b08703667b8b9f0561955db572b5c79426783f033"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "성공적으로 검색 결과를 반환합니다.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "organic_results": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "title": {
                            "type": "string"
                          },
                          "link": {
                            "type": "string"
                          },
                          "snippet": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "required": [
                    "organic_results"
                  ],
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "잘못된 요청입니다."
          },
          "401": {
            "description": "인증에 실패했습니다. 올바른 API 키를 제공하세요."
          },
          "500": {
            "description": "서버 오류가 발생했습니다."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {}
  }
}