GetLinkProfile

Command status: Active
Supported by OpenApps API: Yes
Supported by Internal/Reseller API: Yes
Possibly queued processing: No

This function returns the data used to generate link profile graphs.

Resource Description

AnalysisResUnits

500

RetrievalResUnits

This resource will be decreased by actual number of rows of data retrieved (returned) by this function.

This function accepts the following parameters:

Parameter Description

cmd

Required: must be set to: GetLinkProfile

datasource

Optional - defaults to historic
Either: "fresh" - to query against fresh index, or "historic" - to query against historic index.

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.

datatype0, datatype1 ... datatypeN

Referring to each respective item (item0, item1 ... itemN) request either link level or domain level flow metric to be returned

0 - default: link level profile
1 - referring domains

UsePrefixScan

Optional: Setting to 1 will activate prefix mode.

This operates like the "Path ( URL* )" functionality in Majestic Site Explorer on the majestic.com website.

This commands will check if real time querying of given item is possible, if that's not the case then RealTimePrefixQueryNotPossible error code will be returned.

See also Get Prefix Query Estimate

Example (Please note this is just a sample of the results):
https://api.majestic.com/api/xml?app_api_key=API_KEY&cmd=GetLinkProfile&item0=majestic.com

This produces the following XML:



Example (Please note this is just a sample of the results):
https://api.majestic.com/api/json?app_api_key=API_KEY&cmd=GetLinkProfile&item0=majestic.com

This produces the following JSON:

For more information about access to the Majestic API suite, visit our Plans & Pricing page.