Skip to main content
GET
/
api
/
v1
/
local-seo
/
locations
/
{location_id}
/
analytics
/
performance
/
detailed
Get Location Detailed Performance Metrics
curl --request GET \
  --url http://localhost:8000/api/v1/local-seo/locations/{location_id}/analytics/performance/detailed \
  --header 'Authorization: Bearer <token>'
{
  "views": {
    "current": {
      "total_value": 123,
      "series": [
        {
          "metric_date": "2023-12-25",
          "value": 123
        }
      ]
    },
    "platform_breakdown": {
      "maps_desktop": 123,
      "maps_mobile": 123,
      "search_desktop": 123,
      "search_mobile": 123
    },
    "comparison": {
      "total_value": 123,
      "series": [
        {
          "metric_date": "2023-12-25",
          "value": 123
        }
      ]
    },
    "growth_pct": 123
  },
  "phone_calls": {
    "current": {
      "total_value": 123,
      "series": [
        {
          "metric_date": "2023-12-25",
          "value": 123
        }
      ]
    },
    "comparison": {
      "total_value": 123,
      "series": [
        {
          "metric_date": "2023-12-25",
          "value": 123
        }
      ]
    },
    "growth_pct": 123
  },
  "direction_requests": {
    "current": {
      "total_value": 123,
      "series": [
        {
          "metric_date": "2023-12-25",
          "value": 123
        }
      ]
    },
    "comparison": {
      "total_value": 123,
      "series": [
        {
          "metric_date": "2023-12-25",
          "value": 123
        }
      ]
    },
    "growth_pct": 123
  },
  "website_clicks": {
    "current": {
      "total_value": 123,
      "series": [
        {
          "metric_date": "2023-12-25",
          "value": 123
        }
      ]
    },
    "comparison": {
      "total_value": 123,
      "series": [
        {
          "metric_date": "2023-12-25",
          "value": 123
        }
      ]
    },
    "growth_pct": 123
  },
  "bookings": {
    "current": {
      "total_value": 123,
      "series": [
        {
          "metric_date": "2023-12-25",
          "value": 123
        }
      ]
    },
    "comparison": {
      "total_value": 123,
      "series": [
        {
          "metric_date": "2023-12-25",
          "value": 123
        }
      ]
    },
    "growth_pct": 123
  },
  "search_keywords": [
    {
      "term": "<string>",
      "value": 123,
      "threshold": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Path Parameters

location_id
string
required

Query Parameters

current_from_year
integer
required
Required range: 2000 <= x <= 2100
current_from_month
integer
required
Required range: 1 <= x <= 12
current_to_year
integer
required
Required range: 2000 <= x <= 2100
current_to_month
integer
required
Required range: 1 <= x <= 12
compared_from_year
integer | null
Required range: 2000 <= x <= 2100
compared_from_month
integer | null
Required range: 1 <= x <= 12
compared_to_year
integer | null
Required range: 2000 <= x <= 2100
compared_to_month
integer | null
Required range: 1 <= x <= 12

Response

Successful Response

views
ViewsMetricStats · object
required

Total Views with platform breakdown

phone_calls
MetricComparisonStats · object
required

Phone calls metric with time-series

direction_requests
MetricComparisonStats · object
required

Direction requests metric with time-series

website_clicks
MetricComparisonStats · object
required

Website clicks metric with time-series

bookings
MetricComparisonStats · object
required

Bookings metric with time-series

search_keywords
SearchKeywordSchema · object[]

Top search terms that triggered profile listing