| Command status: | Active |
| Supported by OpenApps API: | Yes |
| Supported by Internal/Reseller API: | Yes |
| Possibly queued processing: | No |
Calls to this function will result in usage of the following subscription resources:
| Resource | Description |
|---|---|
IndexItemInfoResUnits |
This resource will be decreased by a number of items that were queried by this function. |
This function returns key information about "index items":
The primary objective of this function is to provide amount of analysis resource units that will be used by AnalyseIndexItem function
| Parameter | Description |
|---|---|
cmd |
Required: must be set to: GetIndexItemInfo |
datasource |
Optional - defaults to historic |
items |
Required: must be a positive integer from 1 to maximum of 100 indicating how many items this query supplies in itemN parameters |
item0, item1 ... itemN |
One or more items starting from item0 that information Note: do not forget to URL encode each item even if item may already contain URL encoding. |
Note: for URLs with very few external backlinks this function may return estimated numbers rather than exact, in which case returned field Status will be set to MayExist.
This produces the following JSON:
GlobalVars contain a number of useful variables:
Note: light API index that supplies data for this command usually gets updated right before main index is released, therefore for the analysis purposes (AnalyseIndexItem, GetTopBackLinks or any other similar functions that return backlinks data) it is best to call GetSubscriptionInfo command in order to get dates from the actual index.
Results table contains one or more lines of data:
| Header | Meaning |
|---|---|
ItemNum |
Integer indicating numeric position of item in original request |
ItemType |
Type of the item:
|
Item |
Actual item (domain/subdomain/URL) in its original form |
ResultCode |
ResultCode:
|
Status |
Status of this item in index:
|
ExtBackLinks |
Number of external backlinks for this item |
RefDomains |
Number of referring domains known for this item. If -1 then this number is not yet known (currently returned for subdomains) |
IndexedURLs |
Number of URLs for given item type present in index - these are NOT backlinks, but rather URLs belonging to given domain or subdomain: this metric is useful as an indication of domain content size. |
AnalysisResUnitsCost |
Amount of analysis resource units that will be required to analyse this item using AnalyseIndexItem function: this cost is determined as a number of external backlinks pointing to given index item. |
GetTopBackLinksAnalysisResUnitsCost |
Amount of analysis resource units that will be required to analyse this item using GetTopBackLinks function. The information above is provided a guidance only - please call this function to get exact values for any specific index items or call GetSubscriptionInfo to get current minimum and maximums. |
RefIPs |
Number of referring IP addresses |
RefSubNets |
Number of referring C-class subnets (SEO wise here, ie: 212.100.100.*) |
|
RefDomainsEDU ExtBackLinksEDU RefDomainsGOV ExtBackLinksGOV |
Number of referring domains and external backlinks from EDUcational (includes .AC. versions and regional .EDU.xx TLDs) and GOVernment sites (includes .MIL. and regional versions such .MIL.*). |
|
RefDomainsEDU_Exact ExtBackLinksEDU_Exact RefDomainsGOV_Exact ExtBackLinksGOV_Exact |
Same as above but applies only to domains with exact TLDs such as .EDU and .GOV/.MIL thus excluding any regional versions. |
CrawledFlag |
If set to true true then this URL was crawled (not applicable to domain/subdomains) |
LastCrawlDate |
Date when URL was crawled, only meaningful if CrawledFlag is true. |
LastCrawlResult |
Last crawl result, usually self-explanatory phrase |
RedirectFlag |
If set to true then URL was found to be redirecting |
FinalRedirectResult |
If URL redirects then we include crawl result of where it leads to (say redirect can lead to 404 not found page) |
OutDomainsExternal |
Experimental - we do not recommend to rely on this value which is number of external domains crawled URL links out to |
OutLinksExternal |
Same as OutDomainsExternal only counts external out links |
OutLinksInternal |
Same as OutLinksExternal only counts internal links |
Title |
Title of the URL if it was successfully crawled and present on page |
RedirectTo |
Target location of redirect - only present if URL was crawled and found to be redirecting |
Citation Flow |
Citation Flow of Domain / Subdomain / URL being queried
Note: Citation Flow is currently available in Fresh Index only. |
Trust Flow |
Trust Flow of Domain / Subdomain / URL being queried Note: Trust Flow is currently available in Fresh Index only. |
For more information about access to the Majestic API suite, visit our Plans & Pricing page.