-
SEO Learning Center
Broaden your SEO knowledge with resources for all skill levels.
-
The Beginner's Guide to SEO
If you're brand new to SEO, start here.
-
SEO Q&A
Get answers from the Moz Community.
-
Free Downloads and More
Quick access to whitepapers, reports, guides, webinars, and case studies.
-
Help Hub
Learn how to use Moz products.
-
Community & Events
Connect with over 600k online marketers.
-
SEO Training
Instructor-led classes and seminars
LocalLocationInsightGbpLeadHistoryFetch
Returns Google Business Profile lead history over time for a given location, bucketed by day, week, or month. The date range may not exceed 12 months and buckets are returned ordered oldest to newest.
JSON-RPC Method:
local.location.insight.gbp.lead.history.fetchlocation_id
number
The id of the location
date_start
string
A calendar date in YYYY-MM-DD format.
date_end
string
A calendar date in YYYY-MM-DD format.
date_aggregation
string
(Optional)
The bucket size used to aggregate a Google Business Profile insight time series. Accepted and returned in lowercase.
Acceptable Values:
dayweekmonth1{
2 "location_id": 12345,
3 "date_start": "2025-01-01",
4 "date_end": "2025-12-31",
5 "date_aggregation": "month"
6}gbp_lead_history
object
Google Business Profile lead history for a location over a date range. Echoes back the requested location and date range and carries the per-bucket reports.
1{
2 "gbp_lead_history": {
3 "location_id": 12345,
4 "date_start": "2025-01-01",
5 "date_end": "2025-12-31",
6 "date_aggregation": "month",
7 "gbp_lead_history_reports": [
8 {
9 "date": "2025-01-01",
10 "total_leads": 120,
11 "actions_website": 80,
12 "actions_phone": 25,
13 "actions_driving_directions": 15,
14 "total_impressions": 5400,
15 "ctr": 0.022
16 }
17 ]
18 }
19}Does not require any quota.