-
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
LocalGroupLocationList
List locations in a given group. This endpoint returns a simplified response containing only location IDs.
JSON-RPC Method:
local.group.location.listgroup_id
number
The ID of the local group.
page
object
Control the number of results returned per call in addition to fetching additional results. The default limit is 25 with an n value of 0 (indicating the first page of results). Make subsequent calls to the endpoint with incrementing n values to fetch additional pages of results. To get all results, you must continue making calls with incrementing n values until an empty result set is returned.
1{
2 "group_id": 123,
3 "page": {
4 "n": 0,
5 "limit": 25
6 }
7}locations
array
id
number
The id of the location
page
object
Control how much data is returned by providing a specific page number (n) and limit to the number of results in a given page. Additionally, may provide a sort order.
1{
2 "locations": [
3 {
4 "id": 1001
5 },
6 {
7 "id": 1002
8 },
9 {
10 "id": 1003
11 }
12 ],
13 "page": {
14 "n": 0,
15 "limit": 25
16 }
17}Does not require any quota.