List page issues

Indexing and page experience issues of a property with their URL count and validation state.

GET https://cotlet.dev/api/v1/google-search-console/page-issues

read

Returns the rows of the "Why pages aren't indexed" table and the "Improve page experience" table: the reason, its source, the number of pages and, if a fix was submitted, the validation state (Not started, Started, Looking good, Passed or Failed). Use the reason as status in list_pages_by_index_status. An issue drops off the table 90 days after its last instance is gone.

Parameters

Parameters: list_page_issues
NameTypeDescription
property string required string Property as Search Console lists it: sc-domain:example.com for a Domain property, https://example.com/ for a URL-prefix property.
kind enum enum not_indexed or page_experience. Default: not_indexed.

Request

cURL
curl "https://cotlet.dev/api/v1/google-search-console/page-issues?property=property" \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("google-search-console", "list_page_issues", {"property":"property"})
Node.js
const result = await cotlet.call('google-search-console', 'list_page_issues', {"property":"property"});
CLI
cotlet call google-search-console list_page_issues --data '{"property":"property"}'

Example response

JSON

{
  "property": "sc-domain:example.com",
  "indexed_pages": 5820,
  "issues": [
    {
      "reason": "Crawled - currently not indexed",
      "source": "Google systems",
      "pages": 1412,
      "validation": "Not started"
    },
    {
      "reason": "Discovered - currently not indexed",
      "source": "Google systems",
      "pages": 388,
      "validation": "Not started"
    },
    {
      "reason": "Not found (404)",
      "source": "Website",
      "pages": 64,
      "validation": "Started"
    }
  ]
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.