GetNewLostBackLinkCalendar

Status

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

Purpose

This command shows new or lost backlinks in a selected date range.

Note: this command includes data for the last 90 days with our Fresh Index and only the last 4 months in our Historic index.

Resources consumed

Resource Description

AnalysisResUnits

500

Parameters

Parameter Description

cmd

Required: must be set to: GetNewLostBackLinkCalendar

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

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

Sample queries and response

https://api.majestic.com/api/xml?app_api_key=API_KEY&cmd=GetNewLostBackLinkCalendar&item=majestic.com

This produces the following XML:


<Result Code="OK" ErrorMessage="" FullError=""><GlobalVars IndexBuildDate="2017-09-04 13:42:54" IndexType="0" ServerBuild="2017-10-13 13:57:22" ServerName="SHADOJAGUAR" ServerVersion="1.0.6495.23321" UniqueIndexID="20170904134254-HISTORICAL"/><DataTables Count="1"><DataTable Name="Calendar" RowsCount="121" Headers="Date|NewLinks|LostLinks"><Row>2017-03-29|54281|9706</Row><Row>2017-03-30|58257|11453</Row><Row>2017-03-31|84215|9557</Row><Row>2017-04-01|114915|10048</Row><Row>2017-04-02|117953|11051</Row><Row>2017-04-03|105177|7380</Row><Row>2017-04-04|118903|7374</Row><Row>2017-04-05|114885|7114</Row><Row>2017-04-06|116205|12443</Row><Row>2017-04-07|105538|12781</Row><Row>2017-04-08|113377|4856</Row><Row>2017-04-09|128580|3724</Row><Row>2017-04-10|146023|4369</Row><Row>2017-04-11|146474|5758</Row><Row>2017-04-12|137239|5002</Row><Row>2017-04-13|132214|2247</Row><Row>2017-04-14|71175|1900</Row><Row>2017-04-15|59477|1528</Row><Row>2017-04-16|79756|4736</Row><Row>2017-04-17|96941|4396</Row><Row>2017-04-18|59508|17032</Row><Row>2017-04-19|37242|2865</Row><Row>2017-04-20|84485|2119</Row><Row>2017-04-21|70776|2416</Row><Row>2017-04-22|47879|2614</Row><Row>2017-04-23|45005|2754</Row><Row>2017-04-24|83538|3541</Row><Row>2017-04-25|82212|1926</Row><Row>2017-04-26|92107|2084</Row><Row>2017-04-27|57626|2603</Row><Row>2017-04-28|41697|2908</Row><Row>2017-04-29|37654|2195</Row><Row>2017-04-30|65323|8847</Row><Row>2017-05-01|40135|8878</Row><Row>2017-05-02|79387|11392</Row><Row>2017-05-03|59452|7045</Row><Row>2017-05-04|68320|6039</Row><Row>2017-05-05|65675|6156</Row><Row>2017-05-06|93846|7232</Row><Row>2017-05-07|127488|8578</Row><Row>2017-05-08|130645|10679</Row><Row>2017-05-09|126182|14715</Row><Row>2017-05-10|137607|41444</Row><Row>2017-05-11|128153|26559</Row><Row>2017-05-12|126915|22633</Row><Row>2017-05-13|116091|24384</Row><Row>2017-05-14|117978|16243</Row><Row>2017-05-15|110705|11734</Row><Row>2017-05-16|115671|10925</Row><Row>2017-05-17|117930|9920</Row><Row>2017-05-18|113897|13981</Row><Row>2017-05-19|122289|31099</Row><Row>2017-05-20|121651|19096</Row><Row>2017-05-21|131182|16897</Row><Row>2017-05-22|124121|20362</Row><Row>2017-05-23|135560|26420</Row><Row>2017-05-24|142373|37878</Row><Row>2017-05-25|138160|34474</Row><Row>2017-05-26|136963|38507</Row><Row>2017-05-27|131785|31204</Row><Row>2017-05-28|135601|36172</Row><Row>2017-05-29|128833|41068</Row><Row>2017-05-30|128246|51560</Row><Row>2017-05-31|99675|44579</Row><Row>2017-06-01|96687|52820</Row><Row>2017-06-02|92401|136044</Row><Row>2017-06-03|88587|45404</Row><Row>2017-06-04|91201|44074</Row><Row>2017-06-05|94872|41772</Row><Row>2017-06-06|97080|45656</Row><Row>2017-06-07|92214|43751</Row><Row>2017-06-08|119024|321519</Row><Row>2017-06-09|96774|31437</Row><Row>2017-06-10|70926|23220</Row><Row>2017-06-11|70031|24601</Row><Row>2017-06-12|70426|36533</Row><Row>2017-06-13|94494|35113</Row><Row>2017-06-14|107267|34408</Row><Row>2017-06-15|93153|27902</Row><Row>2017-06-16|63525|21319</Row><Row>2017-06-17|43710|23409</Row><Row>2017-06-18|49536|44372</Row><Row>2017-06-19|30659|77285</Row><Row>2017-06-20|42889|106017</Row><Row>2017-06-21|36526|106020</Row><Row>2017-06-22|36683|123334</Row><Row>2017-06-23|32809|113477</Row><Row>2017-06-24|30663|106396</Row><Row>2017-06-25|37033|113498</Row><Row>2017-06-26|40364|109021</Row><Row>2017-06-27|44564|113144</Row><Row>2017-06-28|34822|133545</Row><Row>2017-06-29|39769|141204</Row><Row>2017-06-30|41716|157697</Row><Row>2017-07-01|36093|131987</Row><Row>2017-07-02|36245|127386</Row><Row>2017-07-03|36564|49187</Row><Row>2017-07-04|33955|24324</Row><Row>2017-07-05|35986|18788</Row><Row>2017-07-06|36395|20220</Row><Row>2017-07-07|40517|17162</Row><Row>2017-07-08|40584|18925</Row><Row>2017-07-09|40905|20039</Row><Row>2017-07-10|39153|20994</Row><Row>2017-07-11|36208|24269</Row><Row>2017-07-12|40660|29325</Row><Row>2017-07-13|35576|21790</Row><Row>2017-07-14|35705|19499</Row><Row>2017-07-15|38525|31851</Row><Row>2017-07-16|43623|19750</Row><Row>2017-07-17|39860|37891</Row><Row>2017-07-18|45493|32170</Row><Row>2017-07-19|50969|38215</Row><Row>2017-07-20|41204|35566</Row><Row>2017-07-21|54566|45279</Row><Row>2017-07-22|51844|40435</Row><Row>2017-07-23|46583|47591</Row><Row>2017-07-24|46687|104990</Row><Row>2017-07-25|47277|75843</Row><Row>2017-07-26|54515|69469</Row><Row>2017-07-27|37904|182170</Row></DataTable></DataTables></Result>
		
https://api.majestic.com/api/json?app_api_key=API_KEY&cmd=GetNewLostBackLinkCalendar&item=majestic.com

This produces the following JSON:


{
  "Code": "OK",
  "ErrorMessage": "",
  "FullError": "",
  "IndexBuildDate": "2017-09-04 13:42:54",
  "IndexType": 0,
  "ServerBuild": "2017-10-13 13:57:22",
  "ServerName": "SHADOJAGUAR",
  "ServerVersion": "1.0.6495.23321",
  "UniqueIndexID": "20170904134254-HISTORICAL",
  "DataTables": {
    "Calendar": {
      "Headers": {},
      "Data": [
        {
          "Date": "2017-03-29",
          "NewLinks": 54281,
          "LostLinks": 9706
        },
        {
          "Date": "2017-03-30",
          "NewLinks": 58257,
          "LostLinks": 11453
        },
        {
          "Date": "2017-03-31",
          "NewLinks": 84215,
          "LostLinks": 9557
        },
        {
          "Date": "2017-04-01",
          "NewLinks": 114915,
          "LostLinks": 10048
        },
        {
          "Date": "2017-04-02",
          "NewLinks": 117953,
          "LostLinks": 11051
        },
        {
          "Date": "2017-04-03",
          "NewLinks": 105177,
          "LostLinks": 7380
        },
        {
          "Date": "2017-04-04",
          "NewLinks": 118903,
          "LostLinks": 7374
        },
        {
          "Date": "2017-04-05",
          "NewLinks": 114885,
          "LostLinks": 7114
        },
        {
          "Date": "2017-04-06",
          "NewLinks": 116205,
          "LostLinks": 12443
        },
        {
          "Date": "2017-04-07",
          "NewLinks": 105538,
          "LostLinks": 12781
        },
        {
          "Date": "2017-04-08",
          "NewLinks": 113377,
          "LostLinks": 4856
        },
        {
          "Date": "2017-04-09",
          "NewLinks": 128580,
          "LostLinks": 3724
        },
        {
          "Date": "2017-04-10",
          "NewLinks": 146023,
          "LostLinks": 4369
        },
        {
          "Date": "2017-04-11",
          "NewLinks": 146474,
          "LostLinks": 5758
        },
        {
          "Date": "2017-04-12",
          "NewLinks": 137239,
          "LostLinks": 5002
        },
        {
          "Date": "2017-04-13",
          "NewLinks": 132214,
          "LostLinks": 2247
        },
        {
          "Date": "2017-04-14",
          "NewLinks": 71175,
          "LostLinks": 1900
        },
        {
          "Date": "2017-04-15",
          "NewLinks": 59477,
          "LostLinks": 1528
        },
        {
          "Date": "2017-04-16",
          "NewLinks": 79756,
          "LostLinks": 4736
        },
        {
          "Date": "2017-04-17",
          "NewLinks": 96941,
          "LostLinks": 4396
        },
        {
          "Date": "2017-04-18",
          "NewLinks": 59508,
          "LostLinks": 17032
        },
        {
          "Date": "2017-04-19",
          "NewLinks": 37242,
          "LostLinks": 2865
        },
        {
          "Date": "2017-04-20",
          "NewLinks": 84485,
          "LostLinks": 2119
        },
        {
          "Date": "2017-04-21",
          "NewLinks": 70776,
          "LostLinks": 2416
        },
        {
          "Date": "2017-04-22",
          "NewLinks": 47879,
          "LostLinks": 2614
        },
        {
          "Date": "2017-04-23",
          "NewLinks": 45005,
          "LostLinks": 2754
        },
        {
          "Date": "2017-04-24",
          "NewLinks": 83538,
          "LostLinks": 3541
        },
        {
          "Date": "2017-04-25",
          "NewLinks": 82212,
          "LostLinks": 1926
        },
        {
          "Date": "2017-04-26",
          "NewLinks": 92107,
          "LostLinks": 2084
        },
        {
          "Date": "2017-04-27",
          "NewLinks": 57626,
          "LostLinks": 2603
        },
        {
          "Date": "2017-04-28",
          "NewLinks": 41697,
          "LostLinks": 2908
        },
        {
          "Date": "2017-04-29",
          "NewLinks": 37654,
          "LostLinks": 2195
        },
        {
          "Date": "2017-04-30",
          "NewLinks": 65323,
          "LostLinks": 8847
        },
        {
          "Date": "2017-05-01",
          "NewLinks": 40135,
          "LostLinks": 8878
        },
        {
          "Date": "2017-05-02",
          "NewLinks": 79387,
          "LostLinks": 11392
        },
        {
          "Date": "2017-05-03",
          "NewLinks": 59452,
          "LostLinks": 7045
        },
        {
          "Date": "2017-05-04",
          "NewLinks": 68320,
          "LostLinks": 6039
        },
        {
          "Date": "2017-05-05",
          "NewLinks": 65675,
          "LostLinks": 6156
        },
        {
          "Date": "2017-05-06",
          "NewLinks": 93846,
          "LostLinks": 7232
        },
        {
          "Date": "2017-05-07",
          "NewLinks": 127488,
          "LostLinks": 8578
        },
        {
          "Date": "2017-05-08",
          "NewLinks": 130645,
          "LostLinks": 10679
        },
        {
          "Date": "2017-05-09",
          "NewLinks": 126182,
          "LostLinks": 14715
        },
        {
          "Date": "2017-05-10",
          "NewLinks": 137607,
          "LostLinks": 41444
        },
        {
          "Date": "2017-05-11",
          "NewLinks": 128153,
          "LostLinks": 26559
        },
        {
          "Date": "2017-05-12",
          "NewLinks": 126915,
          "LostLinks": 22633
        },
        {
          "Date": "2017-05-13",
          "NewLinks": 116091,
          "LostLinks": 24384
        },
        {
          "Date": "2017-05-14",
          "NewLinks": 117978,
          "LostLinks": 16243
        },
        {
          "Date": "2017-05-15",
          "NewLinks": 110705,
          "LostLinks": 11734
        },
        {
          "Date": "2017-05-16",
          "NewLinks": 115671,
          "LostLinks": 10925
        },
        {
          "Date": "2017-05-17",
          "NewLinks": 117930,
          "LostLinks": 9920
        },
        {
          "Date": "2017-05-18",
          "NewLinks": 113897,
          "LostLinks": 13981
        },
        {
          "Date": "2017-05-19",
          "NewLinks": 122289,
          "LostLinks": 31099
        },
        {
          "Date": "2017-05-20",
          "NewLinks": 121651,
          "LostLinks": 19096
        },
        {
          "Date": "2017-05-21",
          "NewLinks": 131182,
          "LostLinks": 16897
        },
        {
          "Date": "2017-05-22",
          "NewLinks": 124121,
          "LostLinks": 20362
        },
        {
          "Date": "2017-05-23",
          "NewLinks": 135560,
          "LostLinks": 26420
        },
        {
          "Date": "2017-05-24",
          "NewLinks": 142373,
          "LostLinks": 37878
        },
        {
          "Date": "2017-05-25",
          "NewLinks": 138160,
          "LostLinks": 34474
        },
        {
          "Date": "2017-05-26",
          "NewLinks": 136963,
          "LostLinks": 38507
        },
        {
          "Date": "2017-05-27",
          "NewLinks": 131785,
          "LostLinks": 31204
        },
        {
          "Date": "2017-05-28",
          "NewLinks": 135601,
          "LostLinks": 36172
        },
        {
          "Date": "2017-05-29",
          "NewLinks": 128833,
          "LostLinks": 41068
        },
        {
          "Date": "2017-05-30",
          "NewLinks": 128246,
          "LostLinks": 51560
        },
        {
          "Date": "2017-05-31",
          "NewLinks": 99675,
          "LostLinks": 44579
        },
        {
          "Date": "2017-06-01",
          "NewLinks": 96687,
          "LostLinks": 52820
        },
        {
          "Date": "2017-06-02",
          "NewLinks": 92401,
          "LostLinks": 136044
        },
        {
          "Date": "2017-06-03",
          "NewLinks": 88587,
          "LostLinks": 45404
        },
        {
          "Date": "2017-06-04",
          "NewLinks": 91201,
          "LostLinks": 44074
        },
        {
          "Date": "2017-06-05",
          "NewLinks": 94872,
          "LostLinks": 41772
        },
        {
          "Date": "2017-06-06",
          "NewLinks": 97080,
          "LostLinks": 45656
        },
        {
          "Date": "2017-06-07",
          "NewLinks": 92214,
          "LostLinks": 43751
        },
        {
          "Date": "2017-06-08",
          "NewLinks": 119024,
          "LostLinks": 321519
        },
        {
          "Date": "2017-06-09",
          "NewLinks": 96774,
          "LostLinks": 31437
        },
        {
          "Date": "2017-06-10",
          "NewLinks": 70926,
          "LostLinks": 23220
        },
        {
          "Date": "2017-06-11",
          "NewLinks": 70031,
          "LostLinks": 24601
        },
        {
          "Date": "2017-06-12",
          "NewLinks": 70426,
          "LostLinks": 36533
        },
        {
          "Date": "2017-06-13",
          "NewLinks": 94494,
          "LostLinks": 35113
        },
        {
          "Date": "2017-06-14",
          "NewLinks": 107267,
          "LostLinks": 34408
        },
        {
          "Date": "2017-06-15",
          "NewLinks": 93153,
          "LostLinks": 27902
        },
        {
          "Date": "2017-06-16",
          "NewLinks": 63525,
          "LostLinks": 21319
        },
        {
          "Date": "2017-06-17",
          "NewLinks": 43710,
          "LostLinks": 23409
        },
        {
          "Date": "2017-06-18",
          "NewLinks": 49536,
          "LostLinks": 44372
        },
        {
          "Date": "2017-06-19",
          "NewLinks": 30659,
          "LostLinks": 77285
        },
        {
          "Date": "2017-06-20",
          "NewLinks": 42889,
          "LostLinks": 106017
        },
        {
          "Date": "2017-06-21",
          "NewLinks": 36526,
          "LostLinks": 106020
        },
        {
          "Date": "2017-06-22",
          "NewLinks": 36683,
          "LostLinks": 123334
        },
        {
          "Date": "2017-06-23",
          "NewLinks": 32809,
          "LostLinks": 113477
        },
        {
          "Date": "2017-06-24",
          "NewLinks": 30663,
          "LostLinks": 106396
        },
        {
          "Date": "2017-06-25",
          "NewLinks": 37033,
          "LostLinks": 113498
        },
        {
          "Date": "2017-06-26",
          "NewLinks": 40364,
          "LostLinks": 109021
        },
        {
          "Date": "2017-06-27",
          "NewLinks": 44564,
          "LostLinks": 113144
        },
        {
          "Date": "2017-06-28",
          "NewLinks": 34822,
          "LostLinks": 133545
        },
        {
          "Date": "2017-06-29",
          "NewLinks": 39769,
          "LostLinks": 141204
        },
        {
          "Date": "2017-06-30",
          "NewLinks": 41716,
          "LostLinks": 157697
        },
        {
          "Date": "2017-07-01",
          "NewLinks": 36093,
          "LostLinks": 131987
        },
        {
          "Date": "2017-07-02",
          "NewLinks": 36245,
          "LostLinks": 127386
        },
        {
          "Date": "2017-07-03",
          "NewLinks": 36564,
          "LostLinks": 49187
        },
        {
          "Date": "2017-07-04",
          "NewLinks": 33955,
          "LostLinks": 24324
        },
        {
          "Date": "2017-07-05",
          "NewLinks": 35986,
          "LostLinks": 18788
        },
        {
          "Date": "2017-07-06",
          "NewLinks": 36395,
          "LostLinks": 20220
        },
        {
          "Date": "2017-07-07",
          "NewLinks": 40517,
          "LostLinks": 17162
        },
        {
          "Date": "2017-07-08",
          "NewLinks": 40584,
          "LostLinks": 18925
        },
        {
          "Date": "2017-07-09",
          "NewLinks": 40905,
          "LostLinks": 20039
        },
        {
          "Date": "2017-07-10",
          "NewLinks": 39153,
          "LostLinks": 20994
        },
        {
          "Date": "2017-07-11",
          "NewLinks": 36208,
          "LostLinks": 24269
        },
        {
          "Date": "2017-07-12",
          "NewLinks": 40660,
          "LostLinks": 29325
        },
        {
          "Date": "2017-07-13",
          "NewLinks": 35576,
          "LostLinks": 21790
        },
        {
          "Date": "2017-07-14",
          "NewLinks": 35705,
          "LostLinks": 19499
        },
        {
          "Date": "2017-07-15",
          "NewLinks": 38525,
          "LostLinks": 31851
        },
        {
          "Date": "2017-07-16",
          "NewLinks": 43623,
          "LostLinks": 19750
        },
        {
          "Date": "2017-07-17",
          "NewLinks": 39860,
          "LostLinks": 37891
        },
        {
          "Date": "2017-07-18",
          "NewLinks": 45493,
          "LostLinks": 32170
        },
        {
          "Date": "2017-07-19",
          "NewLinks": 50969,
          "LostLinks": 38215
        },
        {
          "Date": "2017-07-20",
          "NewLinks": 41204,
          "LostLinks": 35566
        },
        {
          "Date": "2017-07-21",
          "NewLinks": 54566,
          "LostLinks": 45279
        },
        {
          "Date": "2017-07-22",
          "NewLinks": 51844,
          "LostLinks": 40435
        },
        {
          "Date": "2017-07-23",
          "NewLinks": 46583,
          "LostLinks": 47591
        },
        {
          "Date": "2017-07-24",
          "NewLinks": 46687,
          "LostLinks": 104990
        },
        {
          "Date": "2017-07-25",
          "NewLinks": 47277,
          "LostLinks": 75843
        },
        {
          "Date": "2017-07-26",
          "NewLinks": 54515,
          "LostLinks": 69469
        },
        {
          "Date": "2017-07-27",
          "NewLinks": 37904,
          "LostLinks": 182170
        }
      ]
    }
  }
			}
		

Returned values

Return value Description
Global variables
Code Code indicating if this command executed successfully.
ErrorMessage A message explaining the error. This will be blank if the code is "OK".
FullError Verbose explanation of error.
IndexBuildDate Date/time the index that was queried was last updated.
IndexType Indicates if the index was Historic (0) or Fresh (1).
ServerBuild Date/time the server was built.
ServerName Name of the server queried.
ServerVersion Version of the server queried.
UniqueIndexID Unique identifier for the index consisting of the date and index type.
Calendar Data
Date Date given as a day.
NewLinks Number of new links on that date.
LostLinks Number of lost links on that date.