Inspect one URL with Search Console URL Inspection
curl --request POST \
--url https://api.seomator.com/v1/projects/{id}/gsc/inspect \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"url": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({url: '<string>'})
};
fetch('https://api.seomator.com/v1/projects/{id}/gsc/inspect', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/projects/{id}/gsc/inspect"
payload = { "url": "<string>" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"url": "<string>",
"property": "<string>",
"link": "<string>",
"index": {},
"mobileUsability": {},
"richResults": {}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}Inspect one URL with Search Console URL Inspection
Index status, last crawl, canonical, mobile usability and rich results for a URL on the project domain.
Reads only the project country unless country is all. 409 when Search Console is not connected or access was lost; 503 when Google does not answer. Answers are cached a day (an hour with fresh and for inspections).
POST
/
v1
/
projects
/
{id}
/
gsc
/
inspect
Inspect one URL with Search Console URL Inspection
curl --request POST \
--url https://api.seomator.com/v1/projects/{id}/gsc/inspect \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"url": "<string>"
}
'const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({url: '<string>'})
};
fetch('https://api.seomator.com/v1/projects/{id}/gsc/inspect', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.seomator.com/v1/projects/{id}/gsc/inspect"
payload = { "url": "<string>" }
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"url": "<string>",
"property": "<string>",
"link": "<string>",
"index": {},
"mobileUsability": {},
"richResults": {}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}{
"error": {
"code": "bad_request",
"message": "<string>",
"requestId": "<string>"
}
}Authorizations
Path Parameters
Project id (proj_…) or slug (the domain with dots as dashes).
Body
application/json
A full URL on the project domain.