[ad_1]
The aim of this Jupyter Pocket book is to introduce the Moz Hyperlinks API the usage of Python. This will have to paintings on any pocket book webhosting atmosphere, similar to Google Colab.
For those who’re having a look at this on Github, the code snippets will also be reproduction/pasted into your personal pocket book atmosphere. By the point you’ve run this script to the ground, you’ll have used each and every Moz Hyperlinks API endpoint, and will select the portions you need to your personal challenge. The authentic documentation will also be discovered right here.
Puzzled? Be certain that to try my intro to the Moz Hyperlinks API.
Do world imports
The import statements on the best of a Python program are used to load exterior sources that don’t seem to be loaded via default within the Python interpreter. Those sources would possibly come with libraries or modules that offer further capability to this system.
Import statements are most often positioned on the best of a program, ahead of another code is performed. This permits this system to load any important sources ahead of they’re wanted in this system.
As soon as the sources had been loaded the usage of import statements, they are able to be used anyplace in this system, no longer simply within the mobile the place the import remark used to be written. This permits this system to get entry to the capability supplied via the imported sources right through its execution.
The libraries right here no longer a part of the usual Python library are requests and sqlitedict. You’ll set up the with pip set up requests and pip set up sqlitedict to your terminal or a Jupyter mobile. For those who’re the usage of Anaconda, requests is pre-installed.
import json import requests from headlines import * from pprint import pprint from sqlitedict import SqliteDict as sqldict
Load login values from exterior document
The code beneath reads a document named “linksapi.txt” from the “property” listing, which incorporates the login credentials, together with the get entry to ID and secret key had to get entry to the Moz API. Those credentials are extracted from the document and assigned to 2 variables named ACCESSID and SECRETKEY. The with remark is used to be sure that the document is correctly closed after it’s been learn. Create a document whose contents appear to be this along with your credentials manually retreived from moz.com:
ACCESSID: mozscape-1234567890 SECRETKEY: 1234567890abcdef1234567890abcdef
As soon as the credentials are extracted from the document, they’re saved in a tuple named AUTH_TUPLE. This tuple can be utilized as an issue to the Moz API purposes to authenticate and authorize get entry to to the information.
The aim of this way is to steer clear of hard-coding delicate login credentials at once in this system, which might pose a safety possibility if the code used to be shared or printed publicly. As an alternative, the credentials are saved in a separate document that isn’t integrated within the repository, and will also be simply created and up to date as wanted. This manner, the code will also be shared with out exposing the credentials to the general public.
with open("../property/linksapi.txt") as fh: ACCESSID, SECRETKEY = [x.strip().split(" ")[1] for x in fh.readlines()] AUTH_TUPLE = (ACCESSID, SECRETKEY) # Do not display contents
Configure variables
On this code, there are a number of configuration variables which might be used to arrange the API name to the Moz Hyperlinks API.
The primary variable, COMMON_ENDPOINT, is a continuing that shops the endpoint URL for the Moz API. The second one variable, sub_endpoint, is a string that represents the endpoint subpath for the anchor textual content knowledge, which might be appended to the COMMON_ENDPOINT URL to shape your entire API endpoint URL.
The fourth variable, data_dict, is a dictionary that incorporates the parameters for the API request. On this case, the data_dict specifies the objective URL for which we need to retrieve anchor textual content knowledge, the scope of the information (on this case, page-level), and a prohibit of one consequence.
After all, the json_string variable is created via changing the data_dict dictionary right into a JSON-formatted string the usage of the json.dumps() serve as. This string might be used because the request frame when making the API name.
Those variables are used to configure and parameterize the API request, and will also be changed to accomplish any data_dict request in opposition to any Moz Hyperlinks API sub_endpoint.
COMMON_ENDPOINT = "https://lsapi.seomoz.com/v2/" sub_endpoint = "anchor_text" endpoint = COMMON_ENDPOINT + sub_endpoint data_dict = {"goal": "moz.com/weblog", "scope": "web page", "prohibit": 1} json_string = json.dumps(data_dict)
In truth hit the API (be certain luck)
In JupyterLab, the remaining line of a code mobile is routinely revealed to the output house with out requiring an particular print() remark. The code you supplied is the usage of the requests module to ship a POST request to a URL url with knowledge within the type of a JSON string json_string. The authentication main points are handed the usage of the AUTH_TUPLE variable.
After sending the request, the reaction object r is outlined the usage of the print() remark. This may occasionally print the HTTP standing code, similar to 200 for luck, 404 for no longer discovered, and so on., together with the reaction headers.
After all, the .json() approach is named at the reaction object reaction to parse the reaction knowledge as JSON and go back it as a Python dictionary. This dictionary will also be assigned to a variable, used for additional processing, or just revealed to the output house with out requiring an particular print() remark because of JupyterLab’s automated printing conduct for the remaining line of a code mobile.
reaction = requests.submit(endpoint, knowledge=json_string, auth=AUTH_TUPLE) pprint(reaction.json())
Outputs:
{'next_token': 'JYkQVg4s9ak8iRBWDiz1qTyguYswnj035nqjRF0IbW96IGJsb2e58hGzcmSomw==', 'effects': [{'anchor_text': 'moz', 'external_pages': 7183, 'external_root_domains': 2038}]}
Listing Sub-endpoints
This code defines a listing of various sub-endpoints that may be appended to a commonplace URL prefix to make other API endpoints. An API endpoint is a URL the place an API will also be accessed via shoppers. This is a level of access to the applying that acts as a gatekeeper between the buyer and the server. Each and every endpoint is known via a singular URL, which can be utilized to have interaction with the API.
On this code, the record of sub-endpoints is outlined within the sub_endpoints variable, and every endpoint is represented as a string. The for loop iterates over the record, prints the index quantity and title of every sub-endpoint the usage of the print serve as, and increments the index via 1. The enumerate serve as is used to generate a series of pairs consisting of an index and a worth from the record.
This code comes in handy for exploring the to be had endpoints for a specific API and for settling on the endpoint that corresponds to the specified capability. Through converting the sub-endpoint within the URL, shoppers can get entry to other sources or carry out other operations at the server.
sub_endpoints = [ "anchor_text", "final_redirect", "global_top_pages", "global_top_root_domains", "index_metadata", "link_intersect", "link_status", "linking_root_domains", "links", "top_pages", "url_metrics", "usage_data", ] for i, sub_endpoint in enumerate(sub_endpoints): print(i + 1, sub_endpoint)
Outputs:
1 anchor_text 2 final_redirect 3 global_top_pages 4 global_top_root_domains 5 index_metadata 6 link_intersect 7 link_status 8 linking_root_domains 9 hyperlinks 10 top_pages 11 url_metrics 12 usage_data
Human-friendly labels
This code defines two lists: names and descriptions. The names record incorporates human-friendly labels for the set of sub-endpoints, whilst the descriptions record supplies a short lived description of every endpoint. The 2 lists are saved in the similar order because the issues record outlined previous within the code.
Through preserving the 3 lists in the similar order, they are able to be “zipped” in combination right into a unmarried record of tuples the usage of the zip serve as. This produces a brand new record the place every tuple incorporates the title, endpoint, and outline for a specific API endpoint. This makes it simple to show a user-friendly abstract of every API endpoint with its title and outline.
The zip serve as combines the weather of the 3 lists element-wise, making a tuple of the primary parts from every record, then a tuple of the second one parts, and so forth. The ensuing record of tuples will also be iterated over, and every tuple unpacked to get entry to the person title, endpoint, and outline parts for every API endpoint.
names = [ "Anchor Text", "Final Redirect", "Global Top Pages", "Global Top Root Domains", "Index Metadata", "Link Intersect", "Link Status", "Linking Root Domains", "Links", "Top Pages", "URL Metrics", "Usage Data", ] descriptions = [ "Use this endpoint to get data about anchor text used by followed external links to a target. Results are ordered by external_root_domains descending.", "Use this endpoint to get data about anchor text used by followed external links to a target. Results are ordered by external_root_domains descending.", "This endpoint returns the top 500 pages in the entire index with the highest Page Authority values, sorted by Page Authority. (Visit the Top 500 Sites list to explore the top root domains on the web, sorted by Domain Authority.)", "This endpoint returns the top 500 pages in the entire index with the highest Page Authority values, sorted by Page Authority. (Visit the Top 500 Sites list to explore the top root domains on the web, sorted by Domain Authority.)", "This endpoint returns the top 500 pages in the entire index with the highest Page Authority values, sorted by Page Authority. (Visit the Top 500 Sites list to explore the top root domains on the web, sorted by Domain Authority.)", "Use this endpoint to get sources that link to at least one of a list of positive targets and don't link to any of a list of negative targets.", "Use this endpoint to get information about links from many sources to a single target.", "Use this endpoint to get linking root domains to a target.", "Use this endpoint to get links to a target.", "This endpoint returns top pages on a target domain.", "Use this endpoint to get metrics about one or more urls.", "This endpoint Returns the number of rows consumed so far in the current billing period. The count returned might not reflect rows consumed in the last hour. The count returned reflects rows consumed by requests to both the v1 (Moz Links API) and v2 Links APIs.", ] # Easy zipping instance record(zip(names, sub_endpoints, descriptions))
Outputs:
[('Anchor Text', 'anchor_text', 'Use this endpoint to get data about anchor text used by followed external links to a target. Results are ordered by external_root_domains descending.'), ('Final Redirect', 'final_redirect', 'Use this endpoint to get data about anchor text used by followed external links to a target. Results are ordered by external_root_domains descending.'), ('Global Top Pages', 'global_top_pages', 'This endpoint returns the top 500 pages in the entire index with the highest Page Authority values, sorted by Page Authority. (Visit the Top 500 Sites list to explore the top root domains on the web, sorted by Domain Authority.)'), ('Global Top Root Domains', 'global_top_root_domains', 'This endpoint returns the top 500 pages in the entire index with the highest Page Authority values, sorted by Page Authority. (Visit the Top 500 Sites list to explore the top root domains on the web, sorted by Domain Authority.)'), ('Index Metadata', 'index_metadata', 'This endpoint returns the top 500 pages in the entire index with the highest Page Authority values, sorted by Page Authority. (Visit the Top 500 Sites list to explore the top root domains on the web, sorted by Domain Authority.)'), ('Link Intersect', 'link_intersect', "Use this endpoint to get sources that link to at least one of a list of positive targets and don't link to any of a list of negative targets."), ('Link Status', 'link_status', 'Use this endpoint to get information about links from many sources to a single target.'), ('Linking Root Domains', 'linking_root_domains', 'Use this endpoint to get linking root domains to a target.'), ('Links', 'links', 'Use this endpoint to get links to a target.'), ('Top Pages', 'top_pages', 'This endpoint returns top pages on a target domain.'), ('URL Metrics', 'url_metrics', 'Use this endpoint to get metrics about one or more urls.'), ('Usage Data', 'usage_data', 'This endpoint Returns the number of rows consumed so far in the current billing period. The count returned might not reflect rows consumed in the last hour. The count returned reflects rows consumed by requests to both the v1 (Moz Links API) and v2 Links APIs.')]
Display an instance request for every endpoint
This can be a record of API requests in Python dict structure, the place every dictionary represents a request to a selected endpoint. Don’t harm your mind an excessive amount of looking to learn it. Simply know that I lifted every instance from the unique Moz documentation and indexed all of them right here so as as nested Python dicts.
It is advisable to name the structure is a dict of dicts, the place every sub-dictionary corresponds to a selected endpoint, identical order because the sub_endpoints, names, and descriptions lists for simple combining. The output of operating the beneath mobile is doing that list-combining to record each and every sub_endpoint.
dict_of_dicts = { "anchor_text": {"goal": "moz.com/weblog", "scope": "web page", "prohibit": 5}, "hyperlinks": { "goal": "moz.com/weblog", "target_scope": "web page", "clear out": "exterior+nofollow", "prohibit": 1, }, "final_redirect": {"web page": "seomoz.org/weblog"}, "global_top_pages": {"prohibit": 5}, "global_top_root_domains": {"prohibit": 5}, "index_metadata": {}, "link_intersect": { "positive_targets": [ {"target": "latimes.com", "scope": "root_domain"}, {"target": "blog.nytimes.com", "scope": "subdomain"}, ], "negative_targets": [{"target": "moz.com", "scope": "root_domain"}], "source_scope": "web page", "type": "source_domain_authority", "prohibit": 1, }, "link_status": { "goal": "moz.com/weblog", "resources": ["twitter.com", "linkedin.com"], "source_scope": "root_domain", "target_scope": "web page", }, "linking_root_domains": { "goal": "moz.com/weblog", "target_scope": "web page", "clear out": "exterior", "type": "source_domain_authority", "prohibit": 5, }, "top_pages": {"goal": "moz.com", "scope": "root_domain", "prohibit": 5}, "url_metrics": {"goals": ["moz.com", "nytimes.com"]}, "usage_data": {}, } for i, sub_endpoint in enumerate(sub_endpoints): h1(f"{i + 1}. {names[i]} ({sub_endpoint})") print(descriptions[i]) h4("Instance request:") pprint(dict_of_dicts[sub_endpoint]) print()
Outputs:
# 2. Ultimate Redirect (final_redirect) Use this endpoint to get knowledge about anchor textual content utilized by adopted exterior hyperlinks to a goal. Effects are ordered via external_root_domains descending. Instance request: {'web page': 'seomoz.org/weblog'} [...]
Write a serve as that hits the API
If we’re going to hit an API time and again in most commonly the similar means, we need to spare ourselves re-typing the entirety always. That’s why we outline purposes. That’s the def within the beneath mobile. As soon as that mobile is administered, the moz() serve as can be utilized anyplace on this Pocket book. You wish to have handiest feed it the sub_endpoint you need to make use of and a Python dict of your request. It is going to go back the API’s reaction.
def moz(sub_endpoint, data_dict): """Hits Moz Hyperlinks API with specified endpoint and request and returns effects.""" json_string = json.dumps(data_dict) endpoint = COMMON_ENDPOINT + sub_endpoint # Beneath, knowledge is a string (flattened JSON) however auth is a 2-position tuple. reaction = requests.submit(endpoint, knowledge=json_string, auth=AUTH_TUPLE) go back reaction
This doesn’t output the rest to the display screen. It simply defines the serve as.
Conditionally hit the API
The code makes use of a Python package deal known asb which supplies a power dictionary-like object that may be saved on disk the usage of the SQLite database engine. The with remark within the code units up a context supervisor for the SqliteDict object, which routinely handles opening and shutting the database connection. The database document is saved at ../dbs/linksapi.db
The code iterates via every sub-endpoint within the sub_endpoints record, and tests if that knowledge has already been retrieved. If it hasn’t, the API is named the usage of the moz() serve as and the result’s stored within the SqliteDict. The db.devote() remark guarantees that any adjustments made to the dictionary right through the iteration are stored to the database.
The SqliteDict serves as an area cache to stop the API from being hit each and every time the code block is administered if the information has already been accumulated. Through the usage of this cache, the code reduces the collection of API requests required, which comes in handy when running with APIs that experience quota limits. Congratulations, you’re the usage of a database!
with sqldict("../dbs/linksapi.db") as db: for sub_endpoint in sub_endpoints: if sub_endpoint no longer in db: print(sub_endpoint) consequence = moz(sub_endpoint, dict_of_dicts[sub_endpoint]) db[sub_endpoint] = consequence db.devote() print("API hit and reaction stored!") print() h2("Completed")
This doesn’t output the rest to the display screen. It saves the result of the API-calls to an area database.
Display the locally-stored API responses
This code makes use of the sqldict context supervisor to open the SQLite database containing the prior to now retrieved API knowledge. It then iterates over the keys within the database, which correspond to the endpoints that have been prior to now retrieved.
For every key, the code prints the endpoint title, description, and the information retrieved from the API. The pprint serve as is used to print the JSON knowledge in a extra human-readable structure, with indentation and line breaks that help you learn.
with sqldict("../dbs/linksapi.db") as db: for i, key in enumerate(db): h1(f"{i + 1}. {names[i]} ({key})") print(descriptions[i]) print() pprint(db[key].json()) print()
Outputs:
1. Anchor Textual content (anchor_text) Use this endpoint to get knowledge about anchor textual content utilized by adopted exterior hyperlinks to a goal. Effects are ordered via external_root_domains descending. {'next_token': 'KIkQVg4s9ak8iRBWDiz1qTyguYswnj035n7bYI0Lc2VvbW96IGJsb2dKBcCodcl47Q==', 'effects': [{'anchor_text': 'moz', 'external_pages': 7162, 'external_root_domains': 2026}, {'anchor_text': 'moz blog', 'external_pages': 15525, 'external_root_domains': 1364}, {'anchor_text': 'the moz blog', 'external_pages': 7879, 'external_root_domains': 728}, {'anchor_text': 'seomoz', 'external_pages': 17741, 'external_root_domains': 654}, {'anchor_text': 'https://moz.com/blog', 'external_pages': 978, 'external_root_domains': 491}]} 2. Ultimate Redirect (final_redirect) Use this endpoint to get knowledge about anchor textual content utilized by adopted exterior hyperlinks to a goal. Effects are ordered via external_root_domains descending. {'web page': 'moz.com/weblog'} 3. World Best Pages (global_top_pages) This endpoint returns the highest 500 pages in all the index with the easiest Web page Authority values, looked after via Web page Authority. (Consult with the Best 500 Websites record to discover the highest root domain names on the net, looked after via Area Authority.) {'next_token': 'BcLbRwBmrXHK', 'effects': [{'deleted_pages_to_page': 11932076, 'deleted_pages_to_root_domain': 23942663640, 'deleted_pages_to_subdomain': 21555752652, 'deleted_root_domains_to_page': 64700, 'deleted_root_domains_to_root_domain': 3688228, 'deleted_root_domains_to_subdomain': 3516235, 'domain_authority': 96, 'external_indirect_pages_to_root_domain': 5042652519, 'external_nofollow_pages_to_page': 31163, 'external_nofollow_pages_to_root_domain': 12375460748, 'external_nofollow_pages_to_subdomain': 11393036086, 'external_pages_to_page': 118102549, 'external_pages_to_root_domain': 91362310623, 'external_pages_to_subdomain': 83283626903, 'external_redirect_pages_to_page': 0, 'external_redirect_pages_to_root_domain': 445730476, 'external_redirect_pages_to_subdomain': 432323198, 'http_code': 5, 'indirect_root_domains_to_page': 0, 'indirect_root_domains_to_root_domain': 701121, 'last_crawled': '2023-01-15', 'link_propensity': 1.76710455e-05, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 2, 'nofollow_pages_to_page': 31163, 'nofollow_pages_to_root_domain': 12375623717, 'nofollow_pages_to_subdomain': 11393036179, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 0, 'nofollow_root_domains_to_page': 980, 'nofollow_root_domains_to_root_domain': 3696150, 'nofollow_root_domains_to_subdomain': 3622349, 'page': 'www.facebook.com/Plesk', 'page_authority': 100, 'pages_crawled_from_root_domain': 1810872, 'pages_from_page': 0, 'pages_from_root_domain': 5289, 'pages_to_page': 118102549, 'pages_to_root_domain': 91368257043, 'pages_to_subdomain': 83288001442, 'redirect_pages_to_page': 0, 'redirect_pages_to_root_domain': 447189164, 'redirect_pages_to_subdomain': 433411292, 'root_domain': 'facebook.com', 'root_domains_from_page': 0, 'root_domains_from_root_domain': 32, 'root_domains_to_page': 491956, 'root_domains_to_root_domain': 59416650, 'root_domains_to_subdomain': 50993087, 'spam_score': 1, 'subdomain': 'www.facebook.com', 'title': ''}, {'deleted_pages_to_page': 5828966, 'deleted_pages_to_root_domain': 79909678, 'deleted_pages_to_subdomain': 79909678, 'deleted_root_domains_to_page': 16552, 'deleted_root_domains_to_root_domain': 98416, 'deleted_root_domains_to_subdomain': 98416, 'domain_authority': 94, 'external_indirect_pages_to_root_domain': 1177381629, 'external_nofollow_pages_to_page': 453328699, 'external_nofollow_pages_to_root_domain': 1643990147, 'external_nofollow_pages_to_subdomain': 1643990147, 'external_pages_to_page': 456279611, 'external_pages_to_root_domain': 2808523112, 'external_pages_to_subdomain': 2808523112, 'external_redirect_pages_to_page': 125, 'external_redirect_pages_to_root_domain': 24941546, 'external_redirect_pages_to_subdomain': 24941546, 'http_code': 3, 'indirect_root_domains_to_page': 723, 'indirect_root_domains_to_root_domain': 252606, 'last_crawled': '2023-01-14', 'link_propensity': 0.118001014, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 121166, 'nofollow_pages_to_page': 453328699, 'nofollow_pages_to_root_domain': 1644293277, 'nofollow_pages_to_subdomain': 1644293277, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 67627, 'nofollow_root_domains_to_page': 9800973, 'nofollow_root_domains_to_root_domain': 4959747, 'nofollow_root_domains_to_subdomain': 4959747, 'page': 'wordpress.com/?ref=footer_blog', 'page_authority': 100, 'pages_crawled_from_root_domain': 1731019, 'pages_from_page': 0, 'pages_from_root_domain': 1080338, 'pages_to_page': 456293004, 'pages_to_root_domain': 2817137385, 'pages_to_subdomain': 2817137385, 'redirect_pages_to_page': 125, 'redirect_pages_to_root_domain': 25449067, 'redirect_pages_to_subdomain': 25449067, 'root_domain': 'wordpress.com', 'root_domains_from_page': 0, 'root_domains_from_root_domain': 204262, 'root_domains_to_page': 9878742, 'root_domains_to_root_domain': 12653294, 'root_domains_to_subdomain': 12653294, 'spam_score': 1, 'subdomain': 'wordpress.com', 'title': ''}, {'deleted_pages_to_page': 3904778, 'deleted_pages_to_root_domain': 23942663640, 'deleted_pages_to_subdomain': 21555752652, 'deleted_root_domains_to_page': 11671, 'deleted_root_domains_to_root_domain': 3688228, 'deleted_root_domains_to_subdomain': 3516235, 'domain_authority': 96, 'external_indirect_pages_to_root_domain': 5042652519, 'external_nofollow_pages_to_page': 4449343, 'external_nofollow_pages_to_root_domain': 12375460748, 'external_nofollow_pages_to_subdomain': 11393036086, 'external_pages_to_page': 59602588, 'external_pages_to_root_domain': 91362310623, 'external_pages_to_subdomain': 83283626903, 'external_redirect_pages_to_page': 12625, 'external_redirect_pages_to_root_domain': 445730476, 'external_redirect_pages_to_subdomain': 432323198, 'http_code': 5, 'indirect_root_domains_to_page': 1632, 'indirect_root_domains_to_root_domain': 701121, 'last_crawled': '2023-01-16', 'link_propensity': 1.76710455e-05, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 2, 'nofollow_pages_to_page': 4449343, 'nofollow_pages_to_root_domain': 12375623717, 'nofollow_pages_to_subdomain': 11393036179, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 0, 'nofollow_root_domains_to_page': 28624, 'nofollow_root_domains_to_root_domain': 3696150, 'nofollow_root_domains_to_subdomain': 3622349, 'page': 'www.facebook.com/home.php', 'page_authority': 100, 'pages_crawled_from_root_domain': 1810872, 'pages_from_page': 0, 'pages_from_root_domain': 5289, 'pages_to_page': 59602589, 'pages_to_root_domain': 91368257043, 'pages_to_subdomain': 83288001442, 'redirect_pages_to_page': 12626, 'redirect_pages_to_root_domain': 447189164, 'redirect_pages_to_subdomain': 433411292, 'root_domain': 'facebook.com', 'root_domains_from_page': 0, 'root_domains_from_root_domain': 32, 'root_domains_to_page': 239697, 'root_domains_to_root_domain': 59416650, 'root_domains_to_subdomain': 50993087, 'spam_score': 1, 'subdomain': 'www.facebook.com', 'title': ''}, {'deleted_pages_to_page': 3440567, 'deleted_pages_to_root_domain': 3440700, 'deleted_pages_to_subdomain': 3440700, 'deleted_root_domains_to_page': 60839, 'deleted_root_domains_to_root_domain': 60840, 'deleted_root_domains_to_subdomain': 60840, 'domain_authority': 1, 'external_indirect_pages_to_root_domain': 7, 'external_nofollow_pages_to_page': 288, 'external_nofollow_pages_to_root_domain': 1499, 'external_nofollow_pages_to_subdomain': 1499, 'external_pages_to_page': 140954613, 'external_pages_to_root_domain': 140959216, 'external_pages_to_subdomain': 140959213, 'external_redirect_pages_to_page': 70, 'external_redirect_pages_to_root_domain': 70, 'external_redirect_pages_to_subdomain': 70, 'http_code': 200, 'indirect_root_domains_to_page': 0, 'indirect_root_domains_to_root_domain': 0, 'last_crawled': '2018-02-05', 'link_propensity': 0.3998428881, 'nofollow_pages_from_page': 12, 'nofollow_pages_from_root_domain': 805, 'nofollow_pages_to_page': 288, 'nofollow_pages_to_root_domain': 10799, 'nofollow_pages_to_subdomain': 10799, 'nofollow_root_domains_from_page': 2, 'nofollow_root_domains_from_root_domain': 7, 'nofollow_root_domains_to_page': 30, 'nofollow_root_domains_to_root_domain': 30, 'nofollow_root_domains_to_subdomain': 30, 'page': 'music.skyrock.com/', 'page_authority': 100, 'pages_crawled_from_root_domain': 2546, 'pages_from_page': 61, 'pages_from_root_domain': 3382, 'pages_to_page': 140956009, 'pages_to_root_domain': 141008586, 'pages_to_subdomain': 141008583, 'redirect_pages_to_page': 70, 'redirect_pages_to_root_domain': 70, 'redirect_pages_to_subdomain': 70, 'root_domain': 'music.skyrock.com', 'root_domains_from_page': 19, 'root_domains_from_root_domain': 1018, 'root_domains_to_page': 10609865, 'root_domains_to_root_domain': 10609868, 'root_domains_to_subdomain': 10609868, 'spam_score': 9, 'subdomain': 'music.skyrock.com', 'title': 'Blog de Music - DES NEWS, DES CLIPS, DES INTERVIEWS - ' 'Skyrock.com'}, {'deleted_pages_to_page': 64159924, 'deleted_pages_to_root_domain': 17641375891, 'deleted_pages_to_subdomain': 336246205, 'deleted_root_domains_to_page': 63574, 'deleted_root_domains_to_root_domain': 1728606, 'deleted_root_domains_to_subdomain': 234073, 'domain_authority': 100, 'external_indirect_pages_to_root_domain': 19281720347, 'external_nofollow_pages_to_page': 34635431, 'external_nofollow_pages_to_root_domain': 7885369442, 'external_nofollow_pages_to_subdomain': 184067821, 'external_pages_to_page': 285612569, 'external_pages_to_root_domain': 55013651418, 'external_pages_to_subdomain': 1492976347, 'external_redirect_pages_to_page': 593282, 'external_redirect_pages_to_root_domain': 250423075, 'external_redirect_pages_to_subdomain': 5678006, 'http_code': 302, 'indirect_root_domains_to_page': 1072, 'indirect_root_domains_to_root_domain': 231256, 'last_crawled': '2023-04-01', 'link_propensity': 0.006248265505, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 991472, 'nofollow_pages_to_page': 34635436, 'nofollow_pages_to_root_domain': 7948674425, 'nofollow_pages_to_subdomain': 184068512, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 182393, 'nofollow_root_domains_to_page': 126656, 'nofollow_root_domains_to_root_domain': 2322389, 'nofollow_root_domains_to_subdomain': 304381, 'page': 'youtube.com/', 'page_authority': 100, 'pages_crawled_from_root_domain': 41258009, 'pages_from_page': 0, 'pages_from_root_domain': 11109186, 'pages_to_page': 285612606, 'pages_to_root_domain': 55255620288, 'pages_to_subdomain': 1493073570, 'redirect_pages_to_page': 593282, 'redirect_pages_to_root_domain': 263224806, 'redirect_pages_to_subdomain': 5678383, 'root_domain': 'youtube.com', 'root_domains_from_page': 0, 'root_domains_from_root_domain': 257791, 'root_domains_to_page': 598403, 'root_domains_to_root_domain': 23134271, 'root_domains_to_subdomain': 1927717, 'spam_score': 4, 'subdomain': 'youtube.com', 'title': ''}]} 4. World Best Root Domain names (global_top_root_domains) This endpoint returns the highest 500 pages in all the index with the easiest Web page Authority values, looked after via Web page Authority. (Consult with the Best 500 Websites record to discover the highest root domain names on the net, looked after via Area Authority.) {'next_token': 'BcLbRwBmrXHK', 'effects': [{'domain_authority': 100, 'link_propensity': 0.006248265505, 'root_domain': 'youtube.com', 'root_domains_to_root_domain': 23134271, 'spam_score': 4, 'to_target': {'deleted_pages': 0, 'nofollow_pages': 0, 'pages': 0, 'redirect_pages': 0}}, {'domain_authority': 100, 'link_propensity': 0.008422264829, 'root_domain': 'www.google.com', 'root_domains_to_root_domain': 14723695, 'spam_score': 14, 'to_target': {'deleted_pages': 0, 'nofollow_pages': 0, 'pages': 0, 'redirect_pages': 0}}, {'domain_authority': 100, 'link_propensity': 0.0001607139566, 'root_domain': 'www.blogger.com', 'root_domains_to_root_domain': 30580427, 'spam_score': -1, 'to_target': {'deleted_pages': 0, 'nofollow_pages': 0, 'pages': 0, 'redirect_pages': 0}}, {'domain_authority': 99, 'link_propensity': 0.04834850505, 'root_domain': 'linkedin.com', 'root_domains_to_root_domain': 12339087, 'spam_score': 1, 'to_target': {'deleted_pages': 0, 'nofollow_pages': 0, 'pages': 0, 'redirect_pages': 0}}, {'domain_authority': 99, 'link_propensity': 0.006264935713, 'root_domain': 'microsoft.com', 'root_domains_to_root_domain': 5344181, 'spam_score': 11, 'to_target': {'deleted_pages': 0, 'nofollow_pages': 0, 'pages': 0, 'redirect_pages': 0}}]} 5. Index Metadata (index_metadata) This endpoint returns the highest 500 pages in all the index with the easiest Web page Authority values, looked after via Web page Authority. (Consult with the Best 500 Websites record to discover the highest root domain names on the net, looked after via Area Authority.) {'index_id': 'NE+lX5bFh06baS9ojUwVbw==', 'spam_score_update_days': ['2019-02-08', '2020-03-28', '2020-08-03', '2020-11-13', '2021-02-24', '2021-05-19', '2021-08-16', '2021-11-02', '2022-02-01', '2022-05-10', '2022-11-16']} 6. Hyperlink Intersect (link_intersect) Use this endpoint to get resources that hyperlink to no less than one in every of a listing of certain goals and do not hyperlink to any of a listing of detrimental goals. {'next_token': 'AcmY2oCXQbbg', 'effects': [{'domain_authority': 100, 'matching_target_indexes': [0], 'web page': 'www.google.com/amp/www.latimes.com/native/lanow/la-me-ln-aliso-viejo-shooting-20171012-story,amp.html', 'spam_score': 14, 'identify': ''}]} 7. Hyperlink Standing (link_status) Use this endpoint to get details about hyperlinks from many resources to a unmarried goal. {'exists': [False, False]} 8. Linking Root Domain names (linking_root_domains) Use this endpoint to get linking root domain names to a goal. {'next_token': 'IokQVg4s9ak8iRBWDiz1qTyguYswnj035qBkmE3DU+JTtwAVhsjH7R6XUA==', 'effects': [{'domain_authority': 99, 'link_propensity': 0.006264935713, 'root_domain': 'microsoft.com', 'root_domains_to_root_domain': 5344181, 'spam_score': 11, 'to_target': {'deleted_pages': 0, 'nofollow_pages': 0, 'pages': 2, 'redirect_pages': 0}}, {'domain_authority': 98, 'link_propensity': 0.02977741137, 'root_domain': 'wordpress.org', 'root_domains_to_root_domain': 12250296, 'spam_score': 2, 'to_target': {'deleted_pages': 0, 'nofollow_pages': 2, 'pages': 2, 'redirect_pages': 0}}, {'domain_authority': 96, 'link_propensity': 0.09679271281, 'root_domain': 'github.com', 'root_domains_to_root_domain': 2948013, 'spam_score': 2, 'to_target': {'deleted_pages': 0, 'nofollow_pages': 12, 'pages': 12, 'redirect_pages': 0}}, {'domain_authority': 96, 'link_propensity': 0.004641198553, 'root_domain': 'amazon.com', 'root_domains_to_root_domain': 5023132, 'spam_score': 28, 'to_target': {'deleted_pages': 0, 'nofollow_pages': 0, 'pages': 2, 'redirect_pages': 0}}, {'domain_authority': 95, 'link_propensity': 0.005770479795, 'root_domain': 'shopify.com', 'root_domains_to_root_domain': 2948087, 'spam_score': 1, 'to_target': {'deleted_pages': 3, 'nofollow_pages': 0, 'pages': 0, 'redirect_pages': 0}}]} 9. Hyperlinks (hyperlinks) Use this endpoint to get hyperlinks to a goal. {'next_token': 'AVvpJ4gPPvOY', 'effects': [{'anchor_text': 'moz blog', 'date_disappeared': '', 'date_first_seen': '2020-06-29', 'date_last_seen': '2023-01-14', 'nofollow': True, 'redirect': False, 'rel_canonical': False, 'source': {'deleted_pages_to_page': 570, 'deleted_pages_to_root_domain': 1251501128, 'deleted_pages_to_subdomain': 1182759912, 'deleted_root_domains_to_page': 34, 'deleted_root_domains_to_root_domain': 322790, 'deleted_root_domains_to_subdomain': 314554, 'domain_authority': 96, 'external_indirect_pages_to_root_domain': 863103308, 'external_nofollow_pages_to_page': 1407, 'external_nofollow_pages_to_root_domain': 667480081, 'external_nofollow_pages_to_subdomain': 650421076, 'external_pages_to_page': 3710, 'external_pages_to_root_domain': 5309615021, 'external_pages_to_subdomain': 5086141938, 'external_redirect_pages_to_page': 14, 'external_redirect_pages_to_root_domain': 143685025, 'external_redirect_pages_to_subdomain': 142061138, 'http_code': 200, 'indirect_root_domains_to_page': 2, 'indirect_root_domains_to_root_domain': 180014, 'last_crawled': '2023-01-14', 'link_propensity': 0.09679271281, 'nofollow_pages_from_page': 199, 'nofollow_pages_from_root_domain': 7541042, 'nofollow_pages_to_page': 1407, 'nofollow_pages_to_root_domain': 678014273, 'nofollow_pages_to_subdomain': 660443683, 'nofollow_root_domains_from_page': 93, 'nofollow_root_domains_from_root_domain': 564314, 'nofollow_root_domains_to_page': 58, 'nofollow_root_domains_to_root_domain': 186407, 'nofollow_root_domains_to_subdomain': 171632, 'page': 'github.com/mezod/awesome-indie', 'page_authority': 68, 'pages_crawled_from_root_domain': 7254823, 'pages_from_page': 202, 'pages_from_root_domain': 8613796, 'pages_to_page': 3746, 'pages_to_root_domain': 5628821927, 'pages_to_subdomain': 5352019489, 'redirect_pages_to_page': 14, 'redirect_pages_to_root_domain': 145613441, 'redirect_pages_to_subdomain': 142856036, 'root_domain': 'github.com', 'root_domains_from_page': 96, 'root_domains_from_root_domain': 702214, 'root_domains_to_page': 231, 'root_domains_to_root_domain': 2948013, 'root_domains_to_subdomain': 2857538, 'spam_score': 2, 'subdomain': 'github.com', 'title': 'GitHub - mezod/awesome-indie: Resources for ' 'independent developers to make money'}, 'target': {'deleted_pages_to_page': 169073, 'deleted_pages_to_root_domain': 19022927, 'deleted_pages_to_subdomain': 18554702, 'deleted_root_domains_to_page': 1457, 'deleted_root_domains_to_root_domain': 27522, 'deleted_root_domains_to_subdomain': 27273, 'domain_authority': 91, 'external_indirect_pages_to_root_domain': 45290099, 'external_nofollow_pages_to_page': 7388, 'external_nofollow_pages_to_root_domain': 17425478, 'external_nofollow_pages_to_subdomain': 17269297, 'external_pages_to_page': 553261, 'external_pages_to_root_domain': 69376449, 'external_pages_to_subdomain': 68746190, 'external_redirect_pages_to_page': 265, 'external_redirect_pages_to_root_domain': 41112725, 'external_redirect_pages_to_subdomain': 41109338, 'http_code': 200, 'indirect_root_domains_to_page': 2219, 'indirect_root_domains_to_root_domain': 28779, 'last_crawled': '2023-04-02', 'link_propensity': 0.008849279955, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 209067, 'nofollow_pages_to_page': 7388, 'nofollow_pages_to_root_domain': 17442464, 'nofollow_pages_to_subdomain': 17285191, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 55943, 'nofollow_root_domains_to_page': 1727, 'nofollow_root_domains_to_root_domain': 37789, 'nofollow_root_domains_to_subdomain': 37690, 'page': 'moz.com/blog', 'page_authority': 69, 'pages_crawled_from_root_domain': 7872618, 'pages_from_page': 7, 'pages_from_root_domain': 343751, 'pages_to_page': 906052, 'pages_to_root_domain': 98442581, 'pages_to_subdomain': 97352802, 'redirect_pages_to_page': 746, 'redirect_pages_to_root_domain': 47575576, 'redirect_pages_to_subdomain': 47570092, 'root_domain': 'moz.com', 'root_domains_from_page': 5, 'root_domains_from_root_domain': 69667, 'root_domains_to_page': 9712, 'root_domains_to_root_domain': 179884, 'root_domains_to_subdomain': 178649, 'spam_score': 1, 'subdomain': 'moz.com', 'title': 'The Moz Blog [SEO] - Moz'}, 'via_redirect': False, 'via_rel_canonical': False}]} 10. Best Pages (top_pages) This endpoint returns best pages on a goal area. {'next_token': 'BXULGXd3IggK', 'effects': [{'deleted_pages_to_page': 1963527, 'deleted_pages_to_root_domain': 19022927, 'deleted_pages_to_subdomain': 18554702, 'deleted_root_domains_to_page': 6527, 'deleted_root_domains_to_root_domain': 27522, 'deleted_root_domains_to_subdomain': 27273, 'domain_authority': 91, 'external_indirect_pages_to_root_domain': 45290099, 'external_nofollow_pages_to_page': 9684724, 'external_nofollow_pages_to_root_domain': 17425478, 'external_nofollow_pages_to_subdomain': 17269297, 'external_pages_to_page': 14981546, 'external_pages_to_root_domain': 69376449, 'external_pages_to_subdomain': 68746190, 'external_redirect_pages_to_page': 3632556, 'external_redirect_pages_to_root_domain': 41112725, 'external_redirect_pages_to_subdomain': 41109338, 'http_code': 200, 'indirect_root_domains_to_page': 10580, 'indirect_root_domains_to_root_domain': 28779, 'last_crawled': '2023-04-01', 'link_propensity': 0.008849279955, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 209067, 'nofollow_pages_to_page': 9684724, 'nofollow_pages_to_root_domain': 17442464, 'nofollow_pages_to_subdomain': 17285191, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 55943, 'nofollow_root_domains_to_page': 8749, 'nofollow_root_domains_to_root_domain': 37789, 'nofollow_root_domains_to_subdomain': 37690, 'page': 'moz.com/', 'page_authority': 74, 'pages_crawled_from_root_domain': 7872618, 'pages_from_page': 7, 'pages_from_root_domain': 343751, 'pages_to_page': 15343034, 'pages_to_root_domain': 98442581, 'pages_to_subdomain': 97352802, 'redirect_pages_to_page': 3633007, 'redirect_pages_to_root_domain': 47575576, 'redirect_pages_to_subdomain': 47570092, 'root_domain': 'moz.com', 'root_domains_from_page': 5, 'root_domains_from_root_domain': 69667, 'root_domains_to_page': 41190, 'root_domains_to_root_domain': 179884, 'root_domains_to_subdomain': 178649, 'spam_score': 1, 'subdomain': 'moz.com', 'title': 'Moz - SEO Software for Smarter Marketing'}, {'deleted_pages_to_page': 185579, 'deleted_pages_to_root_domain': 19022927, 'deleted_pages_to_subdomain': 18554702, 'deleted_root_domains_to_page': 2440, 'deleted_root_domains_to_root_domain': 27522, 'deleted_root_domains_to_subdomain': 27273, 'domain_authority': 91, 'external_indirect_pages_to_root_domain': 45290099, 'external_nofollow_pages_to_page': 11211, 'external_nofollow_pages_to_root_domain': 17425478, 'external_nofollow_pages_to_subdomain': 17269297, 'external_pages_to_page': 424268, 'external_pages_to_root_domain': 69376449, 'external_pages_to_subdomain': 68746190, 'external_redirect_pages_to_page': 348, 'external_redirect_pages_to_root_domain': 41112725, 'external_redirect_pages_to_subdomain': 41109338, 'http_code': 200, 'indirect_root_domains_to_page': 1389, 'indirect_root_domains_to_root_domain': 28779, 'last_crawled': '2023-04-03', 'link_propensity': 0.008849279955, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 209067, 'nofollow_pages_to_page': 11211, 'nofollow_pages_to_root_domain': 17442464, 'nofollow_pages_to_subdomain': 17285191, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 55943, 'nofollow_root_domains_to_page': 2487, 'nofollow_root_domains_to_root_domain': 37789, 'nofollow_root_domains_to_subdomain': 37690, 'page': 'moz.com/beginners-guide-to-seo', 'page_authority': 72, 'pages_crawled_from_root_domain': 7872618, 'pages_from_page': 7, 'pages_from_root_domain': 343751, 'pages_to_page': 786960, 'pages_to_root_domain': 98442581, 'pages_to_subdomain': 97352802, 'redirect_pages_to_page': 365, 'redirect_pages_to_root_domain': 47575576, 'redirect_pages_to_subdomain': 47570092, 'root_domain': 'moz.com', 'root_domains_from_page': 5, 'root_domains_from_root_domain': 69667, 'root_domains_to_page': 15276, 'root_domains_to_root_domain': 179884, 'root_domains_to_subdomain': 178649, 'spam_score': 1, 'subdomain': 'moz.com', 'title': "Beginner's Guide to SEO [plus FREE quick start " 'checklist] - Moz'}, {'deleted_pages_to_page': 7159, 'deleted_pages_to_root_domain': 19022927, 'deleted_pages_to_subdomain': 18554702, 'deleted_root_domains_to_page': 1382, 'deleted_root_domains_to_root_domain': 27522, 'deleted_root_domains_to_subdomain': 27273, 'domain_authority': 91, 'external_indirect_pages_to_root_domain': 45290099, 'external_nofollow_pages_to_page': 8605, 'external_nofollow_pages_to_root_domain': 17425478, 'external_nofollow_pages_to_subdomain': 17269297, 'external_pages_to_page': 34152, 'external_pages_to_root_domain': 69376449, 'external_pages_to_subdomain': 68746190, 'external_redirect_pages_to_page': 70, 'external_redirect_pages_to_root_domain': 41112725, 'external_redirect_pages_to_subdomain': 41109338, 'http_code': 200, 'indirect_root_domains_to_page': 782, 'indirect_root_domains_to_root_domain': 28779, 'last_crawled': '2023-04-03', 'link_propensity': 0.008849279955, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 209067, 'nofollow_pages_to_page': 8754, 'nofollow_pages_to_root_domain': 17442464, 'nofollow_pages_to_subdomain': 17285191, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 55943, 'nofollow_root_domains_to_page': 1380, 'nofollow_root_domains_to_root_domain': 37789, 'nofollow_root_domains_to_subdomain': 37690, 'web page': 'moz.com/google-algorithm-change', 'page_authority': 70, 'pages_crawled_from_root_domain': 7872618, 'pages_from_page': 420, 'pages_from_root_domain': 343751, 'pages_to_page': 35181, 'pages_to_root_domain': 98442581, 'pages_to_subdomain': 97352802, 'redirect_pages_to_page': 73, 'redirect_pages_to_root_domain': 47575576, 'redirect_pages_to_subdomain': 47570092, 'root_domain': 'moz.com', 'root_domains_from_page': 60, 'root_domains_from_root_domain': 69667, 'root_domains_to_page': 8881, 'root_domains_to_root_domain': 179884, 'root_domains_to_subdomain': 178649, 'spam_score': 1, 'subdomain': 'moz.com', 'identify': 'Moz - Google Set of rules Replace Historical past'}, {'deleted_pages_to_page': 33133, 'deleted_pages_to_root_domain': 19022927, 'deleted_pages_to_subdomain': 18554702, 'deleted_root_domains_to_page': 1192, 'deleted_root_domains_to_root_domain': 27522, 'deleted_root_domains_to_subdomain': 27273, 'domain_authority': 91, 'external_indirect_pages_to_root_domain': 45290099, 'external_nofollow_pages_to_page': 31500, 'external_nofollow_pages_to_root_domain': 17425478, 'external_nofollow_pages_to_subdomain': 17269297, 'external_pages_to_page': 70673, 'external_pages_to_root_domain': 69376449, 'external_pages_to_subdomain': 68746190, 'external_redirect_pages_to_page': 77, 'external_redirect_pages_to_root_domain': 41112725, 'external_redirect_pages_to_subdomain': 41109338, 'http_code': 301, 'indirect_root_domains_to_page': 315, 'indirect_root_domains_to_root_domain': 28779, 'last_crawled': '2023-04-02', 'link_propensity': 0.008849279955, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 209067, 'nofollow_pages_to_page': 31628, 'nofollow_pages_to_root_domain': 17442464, 'nofollow_pages_to_subdomain': 17285191, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 55943, 'nofollow_root_domains_to_page': 1689, 'nofollow_root_domains_to_root_domain': 37789, 'nofollow_root_domains_to_subdomain': 37690, 'web page': 'moz.com/researchtools/ose/', 'page_authority': 70, 'pages_crawled_from_root_domain': 7872618, 'pages_from_page': 0, 'pages_from_root_domain': 343751, 'pages_to_page': 344305, 'pages_to_root_domain': 98442581, 'pages_to_subdomain': 97352802, 'redirect_pages_to_page': 78, 'redirect_pages_to_root_domain': 47575576, 'redirect_pages_to_subdomain': 47570092, 'root_domain': 'moz.com', 'root_domains_from_page': 0, 'root_domains_from_root_domain': 69667, 'root_domains_to_page': 8086, 'root_domains_to_root_domain': 179884, 'root_domains_to_subdomain': 178649, 'spam_score': 1, 'subdomain': 'moz.com', 'identify': ''}, {'deleted_pages_to_page': 169073, 'deleted_pages_to_root_domain': 19022927, 'deleted_pages_to_subdomain': 18554702, 'deleted_root_domains_to_page': 1457, 'deleted_root_domains_to_root_domain': 27522, 'deleted_root_domains_to_subdomain': 27273, 'domain_authority': 91, 'external_indirect_pages_to_root_domain': 45290099, 'external_nofollow_pages_to_page': 7388, 'external_nofollow_pages_to_root_domain': 17425478, 'external_nofollow_pages_to_subdomain': 17269297, 'external_pages_to_page': 553261, 'external_pages_to_root_domain': 69376449, 'external_pages_to_subdomain': 68746190, 'external_redirect_pages_to_page': 265, 'external_redirect_pages_to_root_domain': 41112725, 'external_redirect_pages_to_subdomain': 41109338, 'http_code': 200, 'indirect_root_domains_to_page': 2219, 'indirect_root_domains_to_root_domain': 28779, 'last_crawled': '2023-04-02', 'link_propensity': 0.008849279955, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 209067, 'nofollow_pages_to_page': 7388, 'nofollow_pages_to_root_domain': 17442464, 'nofollow_pages_to_subdomain': 17285191, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 55943, 'nofollow_root_domains_to_page': 1727, 'nofollow_root_domains_to_root_domain': 37789, 'nofollow_root_domains_to_subdomain': 37690, 'web page': 'moz.com/weblog', 'page_authority': 69, 'pages_crawled_from_root_domain': 7872618, 'pages_from_page': 7, 'pages_from_root_domain': 343751, 'pages_to_page': 906052, 'pages_to_root_domain': 98442581, 'pages_to_subdomain': 97352802, 'redirect_pages_to_page': 746, 'redirect_pages_to_root_domain': 47575576, 'redirect_pages_to_subdomain': 47570092, 'root_domain': 'moz.com', 'root_domains_from_page': 5, 'root_domains_from_root_domain': 69667, 'root_domains_to_page': 9712, 'root_domains_to_root_domain': 179884, 'root_domains_to_subdomain': 178649, 'spam_score': 1, 'subdomain': 'moz.com', 'identify': 'The Moz Weblog [SEO] - Moz'}]} 11. URL Metrics (url_metrics) Use this endpoint to get metrics about a number of urls. {'effects': [{'deleted_pages_to_page': 1963527, 'deleted_pages_to_root_domain': 19022927, 'deleted_pages_to_subdomain': 18554702, 'deleted_root_domains_to_page': 6527, 'deleted_root_domains_to_root_domain': 27522, 'deleted_root_domains_to_subdomain': 27273, 'domain_authority': 91, 'external_indirect_pages_to_root_domain': 45290099, 'external_nofollow_pages_to_page': 9684724, 'external_nofollow_pages_to_root_domain': 17425478, 'external_nofollow_pages_to_subdomain': 17269297, 'external_pages_to_page': 14981546, 'external_pages_to_root_domain': 69376449, 'external_pages_to_subdomain': 68746190, 'external_redirect_pages_to_page': 3632556, 'external_redirect_pages_to_root_domain': 41112725, 'external_redirect_pages_to_subdomain': 41109338, 'http_code': 200, 'indirect_root_domains_to_page': 10580, 'indirect_root_domains_to_root_domain': 28779, 'last_crawled': '2023-04-01', 'link_propensity': 0.008849279955, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 209067, 'nofollow_pages_to_page': 9684724, 'nofollow_pages_to_root_domain': 17442464, 'nofollow_pages_to_subdomain': 17285191, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 55943, 'nofollow_root_domains_to_page': 8749, 'nofollow_root_domains_to_root_domain': 37789, 'nofollow_root_domains_to_subdomain': 37690, 'page': 'moz.com/', 'page_authority': 74, 'pages_crawled_from_root_domain': 7872618, 'pages_from_page': 7, 'pages_from_root_domain': 343751, 'pages_to_page': 15343034, 'pages_to_root_domain': 98442581, 'pages_to_subdomain': 97352802, 'redirect_pages_to_page': 3633007, 'redirect_pages_to_root_domain': 47575576, 'redirect_pages_to_subdomain': 47570092, 'root_domain': 'moz.com', 'root_domains_from_page': 5, 'root_domains_from_root_domain': 69667, 'root_domains_to_page': 41190, 'root_domains_to_root_domain': 179884, 'root_domains_to_subdomain': 178649, 'spam_score': 1, 'subdomain': 'moz.com', 'title': 'Moz - SEO Software for Smarter Marketing'}, {'deleted_pages_to_page': 249094, 'deleted_pages_to_root_domain': 224212706, 'deleted_pages_to_subdomain': 898844, 'deleted_root_domains_to_page': 3696, 'deleted_root_domains_to_root_domain': 177001, 'deleted_root_domains_to_subdomain': 9251, 'domain_authority': 95, 'external_indirect_pages_to_root_domain': 156562794, 'external_nofollow_pages_to_page': 163849, 'external_nofollow_pages_to_root_domain': 72093550, 'external_nofollow_pages_to_subdomain': 294697, 'external_pages_to_page': 1165187, 'external_pages_to_root_domain': 514661963, 'external_pages_to_subdomain': 2310818, 'external_redirect_pages_to_page': 3049, 'external_redirect_pages_to_root_domain': 4827448, 'external_redirect_pages_to_subdomain': 8140, 'http_code': 301, 'indirect_root_domains_to_page': 1439, 'indirect_root_domains_to_root_domain': 30315, 'last_crawled': '2023-03-31', 'link_propensity': 0.02704063244, 'nofollow_pages_from_page': 0, 'nofollow_pages_from_root_domain': 97163, 'nofollow_pages_to_page': 163881, 'nofollow_pages_to_root_domain': 72644206, 'nofollow_pages_to_subdomain': 294765, 'nofollow_root_domains_from_page': 0, 'nofollow_root_domains_from_root_domain': 22711, 'nofollow_root_domains_to_page': 5647, 'nofollow_root_domains_to_root_domain': 178651, 'nofollow_root_domains_to_subdomain': 11590, 'page': 'nytimes.com/', 'page_authority': 82, 'pages_crawled_from_root_domain': 13567138, 'pages_from_page': 0, 'pages_from_root_domain': 3152122, 'pages_to_page': 1170498, 'pages_to_root_domain': 763781494, 'pages_to_subdomain': 2489707, 'redirect_pages_to_page': 3053, 'redirect_pages_to_root_domain': 9268395, 'redirect_pages_to_subdomain': 14273, 'root_domain': 'nytimes.com', 'root_domains_from_page': 0, 'root_domains_from_root_domain': 366864, 'root_domains_to_page': 25307, 'root_domains_to_root_domain': 2200598, 'root_domains_to_subdomain': 62699, 'spam_score': 1, 'subdomain': 'nytimes.com', 'title': ''}]} 12. Utilization Knowledge (usage_data) This endpoint Returns the collection of rows fed on up to now within the present billing duration. The depend returned would possibly no longer mirror rows fed on within the remaining hour. The depend returned displays rows fed on via requests to each the v1 (Moz Hyperlinks API) and v2 Hyperlinks APIs. {'rows_consumed': 254}
[ad_2]