-
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
Metadata
List Locales Locale
JSON-RPC Method:
metadata.locale.listUse this endpoint to list every locale a search engine supports. Each one is a valid locale for a serp_query with the same engine.
Each engine supports a different set of locales, so engine is required. Some methods only accept certain engines, so check that the method you're calling supports the engine too.
engine
string
The search engine to list supported locales for.
Acceptable Values:
googlebingyahoo1{
2 "engine": "google"
3}engine
string
The search engine the locales are supported for.
Acceptable Values:
googlebingyahoolocales
array
Every locale the engine supports. Each one is a valid locale for a serp_query with the same engine.
items
string
(Optional)
A language and a country, e.g. en-US. Some languages include a regional variant, so a few locales have three parts, e.g. es-419-AR.
1{
2 "engine": "google",
3 "locales": [
4 "en-US",
5 "en-GB",
6 "es-ES",
7 "fr-FR",
8 "de-DE"
9 ]
10}Requires access to the Moz API row quota, but uses zero rows per call.
api.limits.data.rows