API Reference
Google SERP
Retrieves search engine results from Google.
POST
/
google-serp
Copy
curl --request POST \
--url https://api.growthmarketing.ai/google-serp \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"keyword": "marketing",
"language_code": "en",
"location_code": 2840,
"device": "desktop"
}'
Copy
{
"success": true,
"data": {
"data": {
"api": "serp",
"function": "live",
"se": "google",
"se_type": "organic",
"language_name": "English",
"location_name": "United States",
"keyword": "marketing",
"device": "desktop",
"os": "windows",
"se_domain": "google.co.uk"
},
"result": [
{
"type": "featured_snippet",
"rank_group": 1,
"rank_absolute": 2,
"domain": "www.ama.org",
"title": "What is Marketing? — The Definition of Marketing — AMA",
"description": "Marketing is the activity, set of institutions, and processes for creating, communicating, delivering, and exchanging offerings that have value for customers, clients, partners, and society at large.",
"url": "https://www.ama.org/the-definition-of-marketing-what-is-marketing/"
},
{
"type": "organic",
"rank_group": 1,
"rank_absolute": 4,
"domain": "www.investopedia.com",
"title": "Marketing in Business: Strategies and Types Explained",
"description": "Marketing refers to the activities of a company associated with buying, advertising, distributing, or selling a product or service.",
"url": "https://www.investopedia.com/terms/m/marketing.asp",
"breadcrumb": "https://www.investopedia.com › ... › Marketing Essentials"
}
]
}
}
Authorizations
Body
application/json
Response
200
application/json
Successful response
The response is of type object
.
Copy
curl --request POST \
--url https://api.growthmarketing.ai/google-serp \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '{
"keyword": "marketing",
"language_code": "en",
"location_code": 2840,
"device": "desktop"
}'
Copy
{
"success": true,
"data": {
"data": {
"api": "serp",
"function": "live",
"se": "google",
"se_type": "organic",
"language_name": "English",
"location_name": "United States",
"keyword": "marketing",
"device": "desktop",
"os": "windows",
"se_domain": "google.co.uk"
},
"result": [
{
"type": "featured_snippet",
"rank_group": 1,
"rank_absolute": 2,
"domain": "www.ama.org",
"title": "What is Marketing? — The Definition of Marketing — AMA",
"description": "Marketing is the activity, set of institutions, and processes for creating, communicating, delivering, and exchanging offerings that have value for customers, clients, partners, and society at large.",
"url": "https://www.ama.org/the-definition-of-marketing-what-is-marketing/"
},
{
"type": "organic",
"rank_group": 1,
"rank_absolute": 4,
"domain": "www.investopedia.com",
"title": "Marketing in Business: Strategies and Types Explained",
"description": "Marketing refers to the activities of a company associated with buying, advertising, distributing, or selling a product or service.",
"url": "https://www.investopedia.com/terms/m/marketing.asp",
"breadcrumb": "https://www.investopedia.com › ... › Marketing Essentials"
}
]
}
}
Assistant
Responses are generated using AI and may contain mistakes.