Issue getting total links, page & domain authority
-
Hi guys, I am trying to get total links, page & domain authority using the API. I am requesting the following columns:
Cols=6871947673632768328204816384343597383681653687091214
{ "fjid": 207343179, "ued": 43324279, "pib": 255645, "ptrr": 0.0056131743357352125, "fmrp": 8.246626591590841, "unid": 954915, "fjf": 4003651, "fjr": 0.00040067116628622016, "ftrp": 8.308303969566644, "ftrr": 0.0012189619975325583, "fejp": 9.265328830369816, "pnid": 45883246, "fjd": 2480265, "ujfq": 1277385, "pjip": 1230240, "fjp": 9.586342983782004, "fuid": 294877628, "uu": "www.google.com/", "pejr": 0.0004768398971363439, "ufq": "www.google.com/", "pejp": 9.647424778525615, "ujp": 300689, "utrp": 7.916901429865898, "ptrp": 9.487254666203722, "utrr": 0.001639219985667878, "fmrr": 0.000731592927123369, "pda": 100, "pjd": 5600882, "ulc": 1342758719, "fnid": 12165784, "fejr": 0.00016052965883996156, "ujb": 107264 }I cannot see the UPA column returned in the JSON object. Im using 34359738368 for the UPA column. I need to retrieve the three fields (page authority, domain authority and total links) in the same query. Is it possible?
-
I found the answer by myself. I was concatenating all the values for each column. That's the problem. The right way to use the columns is making a SUM of all them. Example:
$cols = 32768+68719476736+32+8+4294967296+16384+34359738368;
It means, we will send the parameter Cols with the value 107374231592 (sum of all the values).
The API returns exactly what I want!
{
"fuid": 49150,
"ueid": 9895,
"fmrp": 5.612405389935484,
"umrp": 6.33534419246105,
"ufq": "www.mydomainname.com/",
"umrr": 3.80103602926855e-08,
"fmrr": 1.0672171052374267e-07,
"pda": 67.67306722062914,
"upa": 72.80364111577643
}
-
Cool!
I'm glad you figured it out. You can also visit our developer discussion group here: http://seomoz.zendesk.com/forums/293196-developer-discussion-group for more detailed help with the API.
Let me know if you have any other questions.
Cheers,
Joel.