> ## Documentation Index
> Fetch the complete documentation index at: https://docs.growthmarketing.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Autocomplete

> Retrieves search suggestion keywords from Google's autocomplete service



## OpenAPI

````yaml post /google-autocomplete
openapi: 3.0.0
info:
  title: Growth Marketing API
  description: API for company information, logos, MOZ metrics, and SERP data
  version: 1.0.0
  contact:
    name: Growth Marketing AI
    url: https://growthmarketing.ai
servers:
  - url: https://api.growthmarketing.ai
    description: Production server
security:
  - ApiKeyAuth: []
paths:
  /google-autocomplete:
    post:
      summary: Google Autocomplete
      description: Retrieves search suggestion keywords from Google's autocomplete service
      operationId: getGoogleAutocomplete
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - keyword
              properties:
                keyword:
                  type: string
                  description: Search term
                  example: albert einstein
                language_code:
                  type: string
                  description: Language code
                  default: en
                  example: en
                location_code:
                  type: integer
                  description: Location code (2840 for US)
                  default: 2840
                  example: 2840
                client:
                  type: string
                  description: Client type
                  default: gws-wiz-serp
                  example: gws-wiz-serp
                device:
                  type: string
                  description: Device type
                  default: desktop
                  enum:
                    - desktop
                    - mobile
                  example: desktop
                os:
                  type: string
                  description: Operating system
                  default: windows
                  enum:
                    - windows
                    - macos
                    - android
                    - ios
                  example: windows
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      data:
                        type: object
                        properties:
                          api:
                            type: string
                            example: serp
                          function:
                            type: string
                            example: live
                          se:
                            type: string
                            example: google
                          se_type:
                            type: string
                            example: autocomplete
                          keyword:
                            type: string
                            example: albert einstein
                          language_code:
                            type: string
                            example: en
                          location_code:
                            type: integer
                            example: 2840
                          client:
                            type: string
                            example: gws-wiz-serp
                          device:
                            type: string
                            example: desktop
                          os:
                            type: string
                            example: windows
                      result:
                        type: array
                        items:
                          $ref: '#/components/schemas/GoogleAutocompleteResult'
components:
  schemas:
    GoogleAutocompleteResult:
      type: object
      properties:
        keyword:
          type: string
          example: albert einstein
        type:
          type: string
          example: autocomplete
        se_domain:
          type: string
          example: google.com
        location_code:
          type: integer
          example: 2840
        language_code:
          type: string
          example: en
        check_url:
          type: string
          example: https://google.com/search?q=albert+einstein&hl=en&gl=US
        items:
          type: array
          items:
            type: object
            properties:
              type:
                type: string
                example: autocomplete
              rank_group:
                type: integer
                example: 1
              rank_absolute:
                type: integer
                example: 1
              suggestion:
                type: string
                example: albert einstein
              search_query_url:
                type: string
                example: https://www.google.com/search?q=albert+einstein
              thumbnail_url:
                type: string
                example: http://t0.gstatic.com/images?q=...
              highlighted:
                type: array
                items:
                  type: string
                nullable: true
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key

````