GetNewLostBackLinks

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

This function returns new and lost backlinks in a date range

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: GetNewLostBackLinks

datasource

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

item

Usual URL, domain or subdomain

Count

Number of results to be returned back.

Default: 100

Mode

Default is 0 showing new links

If set to 1 it will show lost links

Datefrom and Dateto

For ranged queries, accepts dates in format: YYYY-MM-DD as used in calender.

If dateform is not provided it will assume the most recent backlink date in index and will default to 1 day range.

NOTE: It's entirely possible thare are no new/lost links on that day.

Example:
http://enterprise.majesticseo.com/api_command?app_api_key=API_KEY&cmd=GetNewLostBackLinks&item=majesticseo.com&Count=10

This produces the following XML:



Example:
http://enterprise.majesticseo.com/api/json?app_api_key=API_KEY&cmd=GetNewLostBackLinks&item=majesticseo.com&Count=10

This produces the following JSON:

Column Names

  1. First IndexedDate
  2. LastSeenDate
  3. DateLost
  4. ReasonLost: This is the crawl result of the page when the link was dectected to be moved.
  5. LinkType: Shows if the link is Text, Image, Frame Redirect etc.
  6. LinkSubType: Subtype helps to understand type of link, ie for Redirect's it will have Temporary, Permanent, META.

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