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

# Get Location Performance Metrics



## OpenAPI

````yaml https://dev-api.cattix.com/openapi.json get /api/v1/local-seo/locations/{location_id}/analytics/performance
openapi: 3.1.0
info:
  title: CATTIX API
  description: CATTIX Backend API
  version: 0.107.0
servers:
  - url: http://localhost:8000
    description: Local
  - url: https://dev-api.cattix.com
    description: Development
  - url: https://staging-api.cattix.com
    description: Staging
  - url: https://api.cattix.com
    description: Production
security: []
paths:
  /api/v1/local-seo/locations/{location_id}/analytics/performance:
    get:
      tags:
        - Location Analytics
      summary: Get Location Performance Metrics
      operationId: >-
        get_location_performance_metrics_api_v1_local_seo_locations__location_id__analytics_performance_get
      parameters:
        - name: location_id
          in: path
          required: true
          schema:
            type: string
            title: Location Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LocationInteractionsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - OAuth2PasswordBearer: []
components:
  schemas:
    LocationInteractionsResponse:
      properties:
        total_views:
          type: integer
          title: Total Views
          description: Total Business Impressions (Maps + Search)
          default: 0
        maps_views:
          type: integer
          title: Maps Views
          description: Impressions on Google Maps (Desktop + Mobile)
          default: 0
        search_views:
          type: integer
          title: Search Views
          description: Impressions on Google Search (Desktop + Mobile)
          default: 0
        phone_calls:
          type: integer
          title: Phone Calls
          description: Total phone calls
          default: 0
        direction_requests:
          type: integer
          title: Direction Requests
          description: Total direction requests
          default: 0
        website_clicks:
          type: integer
          title: Website Clicks
          description: Total website clicks
          default: 0
        bookings:
          type: integer
          title: Bookings
          description: Total bookings
          default: 0
        start_date:
          type: string
          format: date
          title: Start Date
          description: Start date of the metrics period
        end_date:
          type: string
          format: date
          title: End Date
          description: End date of the metrics period
        comparison_start_date:
          type: string
          format: date
          title: Comparison Start Date
          description: Start date of the comparison period
        comparison_end_date:
          type: string
          format: date
          title: Comparison End Date
          description: End date of the comparison period
        views_growth_pct:
          anyOf:
            - type: number
            - type: 'null'
          title: Views Growth Pct
          description: Views growth percentage vs previous period
        maps_views_growth_pct:
          anyOf:
            - type: number
            - type: 'null'
          title: Maps Views Growth Pct
          description: Growth percentage for Maps views
        search_views_growth_pct:
          anyOf:
            - type: number
            - type: 'null'
          title: Search Views Growth Pct
          description: Growth percentage for Search views
        phone_calls_growth_pct:
          anyOf:
            - type: number
            - type: 'null'
          title: Phone Calls Growth Pct
          description: Growth percentage for phone calls
        direction_requests_growth_pct:
          anyOf:
            - type: number
            - type: 'null'
          title: Direction Requests Growth Pct
          description: Growth percentage for directions
        website_clicks_growth_pct:
          anyOf:
            - type: number
            - type: 'null'
          title: Website Clicks Growth Pct
          description: Growth percentage for website clicks
        bookings_growth_pct:
          anyOf:
            - type: number
            - type: 'null'
          title: Bookings Growth Pct
          description: Growth percentage for bookings
      type: object
      required:
        - start_date
        - end_date
        - comparison_start_date
        - comparison_end_date
      title: LocationInteractionsResponse
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    OAuth2PasswordBearer:
      type: oauth2
      flows:
        password:
          scopes: {}
          tokenUrl: api/v1/users/authorization/token

````