I think you're looking for the url-metrics call. Try this:
http://lsapi.seomoz.com/linkscape/url-metrics/www.onlinedmv.com?Cols=1024&AccessID=member-XXX&Expires=XXX&Signature=XXX
That said, your intuition about using the links call to get this data
is valid, but the attempted call isn't doing what you expect.
First, the Scope=page_to_domain is selecting links that target
anything within your domain, and not just the exact url you
specified. To select just those links that target to your exact url,
use a scope like page_to_page.
Secondly, in this situation the url your interested in is the target
url, not the source url. Rows returned by the links call include
information about both the source and target urls of that row's link
(as selected by SourceCols and TargetCols.) So there is an ambiguity
problem: if a link row includes the "uipl" value, does that (url-
related) data refer to the source url or the target url? Linkscape's
convention is that it refers to the source url (the url of the page on
which the <a href> tag appears.) Data for the target url (the url
appearing in the href attribute) are all prefixed with "lu". So
you're actually looking for the "luuipl" field.
Finally, since you just want target url information, it doesn't matter
which link you look at, so long as it targets your url. So the Filter
and Sort options aren't strictly necessary. Likewise you don't need
data about the source url (if all you want is the target linking root
domain count), so you can omit the SourceCols option.
Putting this together makes a api call that looks like
http://lsapi.seomoz.com/linkscape/links/www.onlinedmv.com?Scope=page_to_page&Limit=1&TargetCols=1024&AccessID=member-XXX&Expires=XXX&Signature=XXX
..which gives me a luuipl field of 100, which is what we expected.
On Jan 7, 11:21 am, anthony1124 <
anthony1...@gmail.com> wrote:
> Hello,
>
> We have upgraded our account to have full access to the API.
>
> I am trying to get the No. of "Linking Root Domains, root domains w/
> links to this URL" as found on this page-
http://www.opensiteexplorer.org/www.onlinedmv.com/a!links?anything[]=www.onlinedmv.com&anything[]=a!links
>
> Based on my research it appears I'm interested in getting the UIPL
> value from the Links API, however the returned results do not match
> OpenSiteExplorer.
>
> Here's what my query looks like-
http://lsapi.seomoz.com/linkscape/links/www.onlinedmv.com?Scope=page_...
>
> Open site shows 100 Linking Root Domains, the API UIPL value is
> showing 245.
>
> [{"lf":0,"lrid":146878573215,"lsrc":4954395330,"ltgt":
>
14749286399,"luuipl":1,"uipl":245}]
>
> Source thread:
http://groups.google.com/group/seomoz-api/browse_thread/thread/607bb7...