-
SEO Learning Center
Broaden your SEO knowledge with resources for all skill levels.
-
The Beginner's Guide to SEO
If you're brand new to SEO, start here.
-
SEO Q&A
Get answers from the Moz Community.
-
Free Downloads and More
Quick access to whitepapers, reports, guides, webinars, and case studies.
-
Help Hub
Learn how to use Moz products.
-
Community & Events
Connect with over 600k online marketers.
-
SEO Training
Instructor-led classes and seminars
Research Tools
Manage Location
DataSiteRankingKeywordCount
⌘K
Retrieve a summary of the number of keywords for which the provided query (domain, subdomain, or page) ranks in the top 50.
JSON-RPC Method:
data.site.ranking-keyword.count
Request
target_query
object
The target query to use for the ranking keyword count.
Response
ranking_keyword_count
object
An object describing the number of keywords for which the given query ranks in the top 50 results.
target_query
object
1{
2 "target_query": {
3 "query": "moz.com",
4 "scope": "domain",
5 "locale": "en-US",
6 "original_target_query": {
7 "query": "moz.com",
8 "scope": "domain",
9 "locale": "en-US"
10 },
11 "suggestion": null
12 },
13 "ranking_keyword_count": {
14 "total": 39817,
15 "position": {
16 "rank_1": 2689,
17 "rank_2": 1062,
18 "rank_3": 1014,
19 "rank_4": 989,
20 "rank_5": 1093,
21 "rank_6": 1145,
22 "rank_7": 1206,
23 "rank_8": 1273,
24 "rank_9": 1112,
25 "rank_10": 1082,
26 "rank_11": 983,
27 "rank_12": 976,
28 "rank_13": 876,
29 "rank_14": 834,
30 "rank_15": 833,
31 "rank_16": 778,
32 "rank_17": 774,
33 "rank_18": 770,
34 "rank_19": 776,
35 "rank_20": 772,
36 "rank_21": 755,
37 "rank_22": 762,
38 "rank_23": 724,
39 "rank_24": 718,
40 "rank_25": 725,
41 "rank_26": 700,
42 "rank_27": 690,
43 "rank_28": 698,
44 "rank_29": 713,
45 "rank_30": 685,
46 "rank_31": 751,
47 "rank_32": 721,
48 "rank_33": 711,
49 "rank_34": 666,
50 "rank_35": 648,
51 "rank_36": 651,
52 "rank_37": 641,
53 "rank_38": 631,
54 "rank_39": 595,
55 "rank_40": 582,
56 "rank_41": 566,
57 "rank_42": 597,
58 "rank_43": 584,
59 "rank_44": 579,
60 "rank_45": 573,
61 "rank_46": 549,
62 "rank_47": 518,
63 "rank_48": 473,
64 "rank_49": 361,
65 "rank_50": 213
66 }
67 }
68}
Example Code
Quota Usage
Uses 1 row per call.
api.limits.data.rows