The rating metric displays the margin between the greatest possible and actual keyword positions. It represents the relative visibility rate of a domain in SERP for the keywords specified in the keywords field of the Task POST array.
rating is calculated as sum(100 – keywords_positions).
For example, if the domain ranks first for a specific keyword, its rating for this keyword will be 99 (100 – 1 = 99).
The same calculation is performed for each keyword specified in the keywords field of the Task POST array. After that, DataForSEO API sums up the ratings of all specified keywords to calculate the rating of the domain.
| Keyword | Website position | Rating |
| SEO software | 5 | 95 |
| Rank tracker | 19 | 81 |
| SEO tools | 67 | 33 |
| Domain rating = 209 | ||
As for the visibility metric, it represents the website visibility rate based on the SERP positions of the keywords specified in the keywords field of the Task POST array:
- Keywords with positions in the range from 1 to 10 are assigned the visibility index from 1 to 0.1, respectively;
- Keywords with positions in the range from 11 to 20 have the fixed visibility index of 0.05;
- Keywords with positions from 20 to 100 have a visibility index of 0.
As with the rating metric, the visibility of the domain is calculated by summing up the visibility values of all keywords specified in the keywords field of the Task POST array.
Example:
| Keyword | Website position | Visibility |
| SEO software | 5 | 0.6 |
| Rank tracker | 19 | 0.05 |
| SEO tools | 67 | 0 |
| Domain visibility = 0.65 | ||