LocalLocationCreate

⌘K

Creates a new location.

JSON-RPC Method:

local.location.create
Go to Example Code

Request

location

object

A location to be created.

1{
2  "location": {
3    "level": "local-lite",
4    "account_id": 1,
5    "auto_sync_enabled": true,
6    "remote_id": "ExampleBusiness",
7    "listings_name": "Example Business",
8    "website_url": "https://www.example-business.com",
9    "email_address": "info@example-business.com",
10    "store_code": "",
11    "short_description": "Doing things since 1986.",
12    "long_description": "Really long descriptions.",
13    "languages": [],
14    "keywords": [
15      "tutoring",
16      "online tutoring",
17      "test preparation",
18      "academic tutoring"
19    ],
20    "brands": [
21      "example"
22    ],
23    "payment_forms": [],
24    "price_range": "omit",
25    "service_areas": [],
26    "service_area_only": false,
27    "services": [],
28    "primary_category": "gcid:educational_consultant",
29    "additional_categories": [
30      "gcid:tutoring_service",
31      "gcid:private_tutor"
32    ],
33    "attributes": [],
34    "address": {
35      "address_line_1": "1234 Astroworld Ave",
36      "address_line_2": "Suite 306",
37      "sublocality": "",
38      "county": "Roswell",
39      "city": "Schenectady",
40      "state_province": "NY",
41      "postal_code": "12345",
42      "country": "US"
43    },
44    "opening_status": "open",
45    "hours": {
46      "monday": [
47        "09:00-21:00"
48      ],
49      "tuesday": [
50        "09:00-21:00"
51      ],
52      "wednesday": [
53        "09:00-21:00"
54      ],
55      "thursday": [
56        "09:00-21:00"
57      ],
58      "friday": [
59        "09:00-21:00"
60      ],
61      "saturday": [
62        "09:00-21:00"
63      ],
64      "sunday": [
65        "09:00-21:00"
66      ]
67    },
68    "more_hours": {
69      "kitchen hours": {
70        "monday": [
71          "09:00-21:00"
72        ]
73      }
74    },
75    "opening_hours_notes": "",
76    "opening_date": "2025-03-01",
77    "special_hours": {
78      "2025-08-04": [
79        "04:00-02:30"
80      ],
81      "2025-08-05": [
82        "04:00-02:30"
83      ],
84      "2025-08-06": [
85        "04:00-02:30"
86      ]
87    },
88    "network_fields": [],
89    "phone": "+1 561-395-5555",
90    "fax": "",
91    "create_page": true,
92    "published": false
93  }
94}

Response

location

object

A Moz Local location.

1{
2  "location": {
3    "id": 4,
4    "level": "local-lite",
5    "status": "active",
6    "account_id": 1,
7    "auto_sync_enabled": true,
8    "remote_id": "ExampleBusiness",
9    "listings_name": "Example Business",
10    "location_name": "Example Business",
11    "website_url": "https://www.example-business.com",
12    "email_address": "info@example-business.com",
13    "store_code": "",
14    "short_description": "Doing things since 1986.",
15    "long_description": "Really long descriptions.",
16    "languages": [],
17    "keywords": "tutoring,online tutoring,test preparation,academic tutoring",
18    "brands": [
19      "example"
20    ],
21    "payment_forms": [],
22    "price_range": "omit",
23    "service_areas": [],
24    "service_area_only": false,
25    "services": [],
26    "primary_category": "gcid:educational_consultant",
27    "additional_categories": [
28      "gcid:tutoring_service",
29      "gcid:private_tutor"
30    ],
31    "attributes": [],
32    "address": {
33      "address_line_1": "1234 Astroworld Ave",
34      "address_line_2": "Suite 306",
35      "sublocality": "",
36      "county": "Roswell",
37      "city": "Schenectady",
38      "state_province": "NY",
39      "postal_code": "12345",
40      "country": "US"
41    },
42    "opening_status": "open",
43    "hours": {
44      "monday": [
45        "09:00-21:00"
46      ],
47      "tuesday": [
48        "09:00-21:00"
49      ],
50      "wednesday": [
51        "09:00-21:00"
52      ],
53      "thursday": [
54        "09:00-21:00"
55      ],
56      "friday": [
57        "09:00-21:00"
58      ],
59      "saturday": [
60        "09:00-21:00"
61      ],
62      "sunday": [
63        "09:00-21:00"
64      ]
65    },
66    "more_hours": {
67      "kitchen hours": {
68        "monday": [
69          "09:00-21:00"
70        ]
71      }
72    },
73    "opening_hours_notes": "",
74    "opening_date": "2025-03-01",
75    "special_hours": {
76      "2025-08-04": [
77        "04:00-02:30"
78      ],
79      "2025-08-05": [
80        "04:00-02:30"
81      ],
82      "2025-08-06": [
83        "04:00-02:30"
84      ]
85    },
86    "network_fields": [],
87    "phone": "+1 561-395-5555",
88    "fax": ""
89  }
90}

Example Code

Quota Usage

Does not require any quota.