Get access to 30+ marketing and SEO tools. analyze competitors, keywords, and backlinks for free..

We use cookies to make Serpstat better. By clicking "Accept and Continue", you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts.

By using the website, you agree to our Privacy policy

Sign in Sign Up

Obtaining the list of project regions and their status (getProjectRegions)

getProjectRegions method returns the list of project regions and their status.

Request parameters
Parameter Value Description
id any number or string Request ID
method RtApiSearchEngineProcedure.getProjectRegions API method name
params {...} Array of parameters
projectId  number
Project ID

Response parameters
Parameter Description
id Request ID
result Contains the answer
projectId Project ID
regions Array of regions
id Region ID
active
Region status. “True” - means active, otherwise deactivated
serpType SERP type. Organic or Paid (PPC)
deviceType Device type. Desktop or Mobile
searchEngine Search engine type: Google or Yandex
country Search results country
region Search results region
city Search results city
langCode Language code

Example PHP Python
Request data:
{
    "id": 1,
    "method": "RtApiSearchEngineProcedure.getProjectRegions",
    "params": {
        "projectId": 1
    }
}
​

Response data:
{
    "id": "1",
    "result": {
        "projectId": 1,
        "regions": [
            {
                "id": 236859,
                "active": true,
                "serpType": "organic",
                "deviceType": "desktop",
                "searchEngine": "google",
                "country": "Switzerland",
                "region": "",
                "city": "",
                "langCode": "de"
            }
        ]
    }
}

Share this article with your friends

Sign In Free Sign Up

You’ve reached your query limit.

Or email
Forgot password?
Or email
Optional
Back To Login

Don’t worry! Just fill in your email and we’ll send over your password.

Are you sure?

Awesome!

To complete your registration you need to enter your phone number

Back

We sent confirmation code to your phone number

Your phone Resend code Queries left

Something went wrong.

Contact our support team
Or confirm the registration using the Telegram bot Follow this link
Please pick the project to work on

Personal demonstration

Serpstat is all about saving time, and we want to save yours! One of our specialists will contact you and discuss options going forward.

These may include a personal demonstration, a trial period, comprehensive training articles & webinar recordings, and custom advice from a Serpstat specialist. It is our goal to make you feel comfortable while using Serpstat.

Name

Email

Phone

We are glad of your comment
Upgrade your plan

Upgrade your plan

Export is not available for your account. Please upgrade to Lite or higher to get access to the tool. Learn more

Sign Up Free

Спасибо, мы с вами свяжемся в ближайшее время

Invite
View Editing

E-mail
Message
Optional
E-mail
Message
Optional

You have run out of limits

You have reached the limit for the number of created projects. You cannot create new projects unless you increase the limits or delete existing projects.

I want more limits