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

# Google Business Profile info

> Fetch Google Business Profile data for a business name or keyword. Results are cached for 6 hours. Counts against keyword_lookups_daily plan limit.



## OpenAPI

````yaml https://api.surnex.io/openapi.json get /v1/projects/{project_id}/local/gbp
openapi: 3.1.0
info:
  title: Surnex API
  description: |-
    Surnex SEO Platform API — api.surnex.io

    Provides the complete backend for the Surnex SEO dashboard including:
    - Multi-tenant organization management
    - Project tracking (domains)
    - Keyword rank tracking (Phase 1+)
    - Backlink analysis (Phase 3+)
    - Site auditing (Phase 4+)
    - Stripe billing integration
    - MCP endpoint for AI agents at /mcp
  version: 0.1.0
servers: []
security: []
paths:
  /v1/projects/{project_id}/local/gbp:
    get:
      tags:
        - Local SEO
      summary: Google Business Profile info
      description: >-
        Fetch Google Business Profile data for a business name or keyword.
        Results are cached for 6 hours. Counts against keyword_lookups_daily
        plan limit.
      operationId: get_gbp_info_v1_projects__project_id__local_gbp_get
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Project Id
        - name: keyword
          in: query
          required: true
          schema:
            type: string
            description: Business name or search keyword
            title: Keyword
          description: Business name or search keyword
        - name: location_code
          in: query
          required: true
          schema:
            type: integer
            description: DataForSEO numeric location code
            title: Location Code
          description: DataForSEO numeric location code
        - name: language_code
          in: query
          required: true
          schema:
            type: string
            description: ISO language code
            title: Language Code
          description: ISO language code
        - name: X-API-Key
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/APIResponse_GBPInfoResponse_'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    APIResponse_GBPInfoResponse_:
      properties:
        success:
          type: boolean
          title: Success
          default: true
        data:
          anyOf:
            - $ref: '#/components/schemas/GBPInfoResponse'
            - type: 'null'
      type: object
      title: APIResponse[GBPInfoResponse]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    GBPInfoResponse:
      properties:
        title:
          anyOf:
            - type: string
            - type: 'null'
          title: Title
        address:
          anyOf:
            - type: string
            - type: 'null'
          title: Address
        phone:
          anyOf:
            - type: string
            - type: 'null'
          title: Phone
        rating:
          anyOf:
            - type: number
            - type: 'null'
          title: Rating
        reviews_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Reviews Count
        category:
          anyOf:
            - type: string
            - type: 'null'
          title: Category
        url:
          anyOf:
            - type: string
            - type: 'null'
          title: Url
        latitude:
          anyOf:
            - type: number
            - type: 'null'
          title: Latitude
        longitude:
          anyOf:
            - type: number
            - type: 'null'
          title: Longitude
        hours:
          anyOf:
            - items:
                additionalProperties: true
                type: object
              type: array
            - type: 'null'
          title: Hours
          description: Business hours schedule.
        service_areas:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Service Areas
          description: Service area names.
        verified_status:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Verified Status
          description: Whether the GBP listing is verified.
        price_range:
          anyOf:
            - type: string
            - type: 'null'
          title: Price Range
          description: Price range indicator (e.g., '$$').
        attributes:
          anyOf:
            - items:
                type: string
              type: array
            - type: 'null'
          title: Attributes
          description: Business attributes (wheelchair, wifi, etc.).
        photos_count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Photos Count
          description: Number of photos in the listing.
      type: object
      title: GBPInfoResponse
      description: Google Business Profile information for a business.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````