API Reference
Google SERP
API Reference
Google SERP
Retrieves search engine results from Google.
POST
/
google-serp
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"
}'
{
"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
Search term
Example:
"marketing"
Language code
Example:
"en"
Location code (2840 for US)
Example:
2840
Device type
Available options:
desktop
, mobile
Example:
"desktop"
Response
200
application/json
Successful response
Example:
true
Example:
"serp"
Example:
"live"
Example:
"google"
Example:
"organic"
Example:
"English"
Example:
"United States"
Example:
"marketing"
Example:
"desktop"
Example:
"windows"
Example:
"google.co.uk"
Example:
"organic"
Example:
1
Example:
1
Example:
"example.com"
Example:
"Example Title"
Example:
"Example description..."
Example:
"https://example.com/page"
Example:
"example.com › category › page"
Example:
[
{
"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"
}
]
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"
}'
{
"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"
}
]
}
}