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

X-API-Key
string
header
required

Body

application/json
keyword
string
required

Search term

Example:

"marketing"

language_code
string
default:en

Language code

Example:

"en"

location_code
integer
default:2840

Location code (2840 for US)

Example:

2840

device
enum<string>
default:desktop

Device type

Available options:
desktop,
mobile
Example:

"desktop"

Response

200
application/json
Successful response
success
boolean
Example:

true

data
object