Get Google Search Console sites
List all of sites from the authenticated google search console in account.
Query Parameters
relatedSiteUrl string
Filters the list to include only site URLs that are equal to or related to the given site URL, including its parent or base URLs.
Responses
- 200
- 401
- 412
List of GSC sites
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
url string required
The Website URL, it may also start with thew sc-domain:
prefix.
[
{
"url": "string"
}
]
Unauthorized
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
url string required
The Website URL, it may also start with thew sc-domain:
prefix.
[
{
"url": "string"
}
]
When the account is not connected to any Google Search Console
application/json
Schema
Example (from schema)
Schema
- Array [
- ]
url string required
The Website URL, it may also start with thew sc-domain:
prefix.
[
{
"url": "string"
}
]
GET /google-search-console/sites
Authorization
name: Authorizationtype: apiKeydescription: `Key {your key}`in: header
Request
Request
curl / cURL
curl -L -X GET 'https://api.wordlift.io/google-search-console/sites' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
python / requests
curl -L -X GET 'https://api.wordlift.io/google-search-console/sites' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
nodejs / axios
curl -L -X GET 'https://api.wordlift.io/google-search-console/sites' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'
php / cURL
curl -L -X GET 'https://api.wordlift.io/google-search-console/sites' \
-H 'Accept: application/json' \
-H 'Authorization: <API_KEY_VALUE>'