Google Search Console API
  1. sites
Google Search Console API
  • urlInspection
    • /v1/urlInspection/index:inspect
      POST
  • urlTestingTools
    • /v1/urlTestingTools/mobileFriendlyTest:run
      POST
  • sites
    • /webmasters/v3/sites
      GET
    • /sites
      GET
    • /webmasters/v3/sites/{siteUrl}
      DELETE
    • /sites/{siteUrl}
      DELETE
    • /webmasters/v3/sites/{siteUrl}
      GET
    • /sites/{siteUrl}
      GET
    • /webmasters/v3/sites/{siteUrl}
      PUT
    • /sites/{siteUrl}
      PUT
  • searchanalytics
    • /webmasters/v3/sites/{siteUrl}/searchAnalytics/query
      POST
    • /sites/{siteUrl}/searchAnalytics/query
      POST
  • sitemaps
    • /webmasters/v3/sites/{siteUrl}/sitemaps
      GET
    • /sites/{siteUrl}/sitemaps
      GET
    • /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
      DELETE
    • /sites/{siteUrl}/sitemaps/{feedpath}
      DELETE
    • /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
      GET
    • /sites/{siteUrl}/sitemaps/{feedpath}
      GET
    • /webmasters/v3/sites/{siteUrl}/sitemaps/{feedpath}
      PUT
    • /sites/{siteUrl}/sitemaps/{feedpath}
      PUT
  1. sites

/webmasters/v3/sites/{siteUrl}

GET
/webmasters/v3/sites/{siteUrl}
sites
Retrieves information about specific site.
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://searchconsole.googleapis.com//webmasters/v3/sites/'
Response Response Example
{
  "permissionLevel": "SITE_PERMISSION_LEVEL_UNSPECIFIED",
  "siteUrl": "string"
}

Request

Path Params
siteUrl
string 
required
The URI of the property as defined in Search Console. Examples: http://www.example.com/ or sc-domain:example.com.

Responses

🟢200Successful response
application/json
Body
Contains permission level information about a Search Console site. For more information, see [Permissions in Search Console](https://support.google.com/webmasters/answer/2451999).
permissionLevel
enum<string> 
optional
The user's permission level for the site.
Allowed values:
SITE_PERMISSION_LEVEL_UNSPECIFIEDSITE_OWNERSITE_FULL_USERSITE_RESTRICTED_USERSITE_UNVERIFIED_USER
siteUrl
string 
optional
The URL of the site.
Modified at 2023-08-15 09:03:48
Previous
/sites/{siteUrl}
Next
/sites/{siteUrl}
Built with