30 days free. No credit card. Full access from the moment you connect your site.

Start free trial

Get Rank Math Index Status

rank-math/get-index-status returns stored Google URL Inspection results: whether each URL is indexed, its coverage state, and any crawl or indexing problems Search Console reported.

These are stored results. Running a fresh inspection is rank-math/inspect-url.

At a glance

Abilityrank-math/get-index-status
ToolsetRank Math — toolset/rank-math
GroupRank Math › Analytics
RequiresRank Math SEO, active on the site
Capabilitymanage_options
SafetyRead-only — changes nothing
RepeatableIdempotent — running it twice leaves the same result
Ships inAcrossAI Abilities Manager 0.0.34 and later

How it works

Indexing is the question underneath every other SEO question, and it is the one people skip. A page that is not indexed has no position, earns no impressions, and every optimisation applied to it is wasted — and nothing on the site indicates the situation.

The coverage state is more informative than the indexed flag. “Discovered but not indexed”, “crawled but not indexed” and “excluded by noindex” are three different problems with three different fixes, and only the third is visible from inside WordPress.

This requires a connected Search Console with URL Inspection available, which is a narrower requirement than Search Console alone.

If the storage table is missing — which happens on installs where Rank Math’s database setup did not complete — the error says so and names the maintenance tool that creates it, rather than reporting an empty result.

Input

NameTypeRequiredWhat it is
urlsarrayNoRestrict to these URLs.
pageintegerNo1-based page number.
per_pageintegerNoRows per page.

What comes back

NameTypeWhat it is
resultsarrayOne entry per URL: indexed state, coverage state, and reported problems.
totalintegerHow many results are stored.
successbooleanWhether the call completed.
messagestringA one-line summary of what happened, suitable for showing a human.
error_codestringPresent only on failure — a stable machine-readable reason, such as a missing field, a wrong field type or an unmet confirmation.

Example

Ask your assistant:

Are our new pages actually indexed?

It resolves to one call:

{
  "ability": "rank-math/get-index-status",
  "parameters": {
    "per_page": 50
  }
}

Worth knowing

  • The coverage state distinguishes three different problems the indexed flag flattens.
  • Needs Search Console with URL Inspection available.
  • A missing storage table is reported with the tool that creates it.
  • Stored results — inspect fresh with the inspection ability.

Related abilities


Get the plugins:
AcrossAI Abilities Manager · AcrossAI MCP Manager

Browse the rest: Every ability, by category


Keep reading