전국 맛집 지도
전국 맛집 지도 · Actions GPT
SerpApi Search
This is a sample spec for making requests to SerpApi for searching, specifically using the Google engine for general queries.
GET /searchPerform a Google search via SerpApiMakes a Google search request through SerpApi with specified parameters.
Schéma original API
{
"openapi": "3.0.0",
"info": {
"title": "SerpApi Search",
"description": "This is a sample spec for making requests to SerpApi for searching, specifically using the Google engine for general queries.",
"version": "1.0.1"
},
"servers": [
{
"url": "https://serpapi.com",
"description": "Main API server"
}
],
"paths": {
"/search": {
"get": {
"operationId": "searchGoogle",
"summary": "Perform a Google search via SerpApi",
"description": "Makes a Google search request through SerpApi with specified parameters.",
"parameters": [
{
"in": "query",
"name": "engine",
"schema": {
"type": "string"
},
"description": "Search engine to use, for this spec 'google'.",
"required": true
},
{
"in": "query",
"name": "q",
"schema": {
"type": "string"
},
"description": "Query string to search for.",
"required": true
},
{
"in": "query",
"name": "api_key",
"schema": {
"type": "string"
},
"description": "27bfa8466c787c8ebed6ce9be092b2c4b73a549913cca02a10f7a78fa458292d",
"required": true
}
],
"responses": {
"200": {
"description": "A successful response from SerpApi.",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"search_results": {
"type": "array",
"items": {
"type": "object",
"description": "Individual search result items."
}
}
}
}
}
}
}
}
}
}
}
}