invantive documentationpart of invantive cloud
Invantive Support ForumsLog In / Sign Up

RankByUrl: Matomo Matomo Seo Get Rank

read only REST

  • Catalog: Matomo
  • Schema: SEO
  • Label: Matomo Seo Get Rank

Can only retrieve data.

Summary

External SEO ranking metrics for one URL - one row per metric (for instance 'Bing indexed pages', 'Domain Age'), rather than a report over the traffic tracked for the site.

API Source

  • Endpoint: /index.php?module=API&method=SEO.getRank&url={url}&format=json

Performance Characteristics

Characteristic Value
Write rows per minute 48

The result can be cached on the client.

Parameters

Name Data Type Required Default Documentation
url varchar2 The URL to look up SEO ranking data for - any URL, not necessarily one of the sites tracked in Matomo.

Table Columns

The columns of the table RankByUrl are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

Name Data Type Label Required Marks Documentation
id varchar2 itgen_mat_id filters on the platform, writable The ranking metric's own short code, for instance 'bing-index' or 'domain-age'.
label varchar2 itgen_mat_label filters on the platform, writable The ranking metric's own name, for instance 'Bing indexed pages' or 'Domain Age'.
rank varchar2 itgen_mat_rank filters on the platform, writable The metric's own value - a plain number for some metrics ('0'), free text for others ('8 years 352 days' for domain age), so kept as String throughout rather than risking a conversion failure on the first metric that answers text.
rank_suffix varchar2 itgen_mat_rank_suffix filters on the platform, writable The unit rank is expressed in, where Matomo states one - for instance 'Pages', blank for metrics whose own value already reads as a complete answer.