Skip to main content
GET
/
api
/
v1
/
local-seo
/
locations
/
{location_id}
/
analytics
/
performance
Get Location Performance Metrics
curl --request GET \
  --url http://localhost:8000/api/v1/local-seo/locations/{location_id}/analytics/performance \
  --header 'Authorization: Bearer <token>'
{
  "start_date": "2023-12-25",
  "end_date": "2023-12-25",
  "comparison_start_date": "2023-12-25",
  "comparison_end_date": "2023-12-25",
  "total_views": 0,
  "maps_views": 0,
  "search_views": 0,
  "phone_calls": 0,
  "direction_requests": 0,
  "website_clicks": 0,
  "bookings": 0,
  "views_growth_pct": 123,
  "maps_views_growth_pct": 123,
  "search_views_growth_pct": 123,
  "phone_calls_growth_pct": 123,
  "direction_requests_growth_pct": 123,
  "website_clicks_growth_pct": 123,
  "bookings_growth_pct": 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

Response

Successful Response

start_date
string<date>
required

Start date of the metrics period

end_date
string<date>
required

End date of the metrics period

comparison_start_date
string<date>
required

Start date of the comparison period

comparison_end_date
string<date>
required

End date of the comparison period

total_views
integer
default:0

Total Business Impressions (Maps + Search)

maps_views
integer
default:0

Impressions on Google Maps (Desktop + Mobile)

search_views
integer
default:0

Impressions on Google Search (Desktop + Mobile)

phone_calls
integer
default:0

Total phone calls

direction_requests
integer
default:0

Total direction requests

website_clicks
integer
default:0

Total website clicks

bookings
integer
default:0

Total bookings

views_growth_pct
number | null

Views growth percentage vs previous period

maps_views_growth_pct
number | null

Growth percentage for Maps views

search_views_growth_pct
number | null

Growth percentage for Search views

phone_calls_growth_pct
number | null

Growth percentage for phone calls

direction_requests_growth_pct
number | null

Growth percentage for directions

website_clicks_growth_pct
number | null

Growth percentage for website clicks

bookings_growth_pct
number | null

Growth percentage for bookings