API and bitflag question
-
I've googled and read and still confused on this.
Regarding the link metric bit flags:
http://apiwiki.seomoz.org/link-metrics
I understand everything about how the API works and have it all working, except for this bit flag thing... And there's no example on this page of how to use the bit flags in an API request so it's hard to work it out.
My current API call is:
"http://lsapi.seomoz.com/linkscape/" & $db & "/" & $objectURL & "?
SourceCols=" & $SourceCols &
"&TargetCols=" & $TargetCols &
"&Scope=" & $Scope &
"&Sort=page_authority" &
"&Filter=" & $Filter &
"&AccessID=" & $accessID &
"&Expires=" & $expires &
"&Signature=" & $urlSafeSignature
There are 4 Link Metric Bit Flags: 2, 4, 8, and 16. How do I use those in the above URL
Do I use those in SourceCols? And there's about 15 Link Flag Definitions (ranging from 1 to 65536). So I use those in TargetCols?
I've tested different variations and I get different responses but the responses aren't documented either.
For example, if I get "luutrp":5.432777943351583,"luutrr":1.415861867916131e-14" in a response... what IS luutrp or luutrr.
These acronyms are not outlined anywhere that I can find.
This link:
http://www.seomoz.org/ugc/the-busy-developers-guide-to-seomoz-bit-flags
outlines an example but is using Cols (not SourceCols or TargetCols) so either this page is outdated or I'm missing something. Is there also a "Cols" parameter?
Basically, I just want: - given a single URL, show me all links (page to page) pointing to that URL, and give me the same information that's displayed in Open Site Explorer (page authority, anchor text, title, etc, etc) but also give me some additional information such as, "is it on the same C block?"
What's an example URL for the above request?
Really hoping someone can shed some light on this under-documented API.
-
Hey Adam! I switched it to answered because, as Joel mentioned in his message, you'll be able to get the best response by posting your question to our Dev Discussion forum. I'm so sorry if I marked it as answered prematurely, though! I've switched it to unanswered if you need anything else that we can help you out with through this Q&A forum.
-
Yes I think my email was playing up as I missed a few emails in recent days.
Why is this quesiton marked as answered?
How did that happen?
-
Hi Adam! This is Megan from the SEOmoz Help Team. It looks like Joel responded to your ticket on November 26th. Maybe it went to your spam folder? Here's what he wrote:
"Hey Adam,
Thanks for reaching out.
First off, I would encourage you to post your question to our Dev Discussion forum: http://seomoz.zendesk.com/forums/293196-developer-discussion-group. Our engineering community monitors that and you will probably get a response within 48 hours.We prefer to do any API support through our forum because that way other people in the community can benefit from the discussion. Making the support scalable allows us to keep offering the API as a free service. I hope you understand.
That being said, I would spend more time reading through the APIwiki. This page: http://apiwiki.seomoz.org/response-fields explains more about the different response fields you're going to see.
Looking forward to seeing your post in the Dev Discussion group!
Best,
Joel"I hope this helps!
-
Sorry about that Adam. I sent an email to a couple helpful Mozzers. I am sure one of them will respond very soon.
-
Hi Ryan,
Thanks but I'm actually posting here because it's been several days and no response from my ticket.
So not sure what to do
-
Hi Adam,
Hopefully you will receive a response. If not, I suggest you go to http://www.seomoz.org/help and submit a ticket.
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
SEOMoz API not working for Scrapebox
I want to import SEOMoz data to list of URLs I have using scrapbox. I added in my credentials according to the API but am getting error 401 as the status of all my links. Any idea why and what I should be doing?
Moz Pro | | theLotter0 -
Mozscape API Problem With Credentials
Yello everyone 🙂 Yesterday I generated Access ID and Secret Key to try the API, but it didn't work. It's said that it might need 5 minutes, so I gave it something like 8 hours but it still didn't work afterwards. I used the PHP sample and I checked it with the Sample Expires value and it produces the same Signature parameter as in the Sample Valid API Signature, so the PHP code sample and the Sample Valid API Signature are in sync. In case you wonder - yes I changed the PHP sample by adding the valid strings for $accessID and $secretKey - I'm a long time programmer and I know what I'm doing with it. I tried also the example URL from Sample Valid API Signature couple of times, refreshing each time to get new Expire parameter, but it's not working too. Both the PHP sample and the Sample Valid API Signature are giving me this: **{ "status" : "401", "error_message" : "Your authentication failed. Check your authentication details and try again. For more information on signed authentication, see: http://apiwiki.seomoz.org/w/page/29574176/SignedAuthentication" }** I am new here and if there is another place to look for support please just point it out and excuse me for wasting your time - I just couldn't see it and I really tried. Thank you for your time to read this! Calvin Your Access ID:
Moz Pro | | Calvin50 -
Summarize your question.Is it possible to request another unscheduled crawl?
We have just sorted a couple of issues on the website which threw the crawl into spasm and gave us hundreds of hugely long URLs. We are pretty sure that we have corrected this and do not want to wait another week to check what SEOMOZ comes up with. Is there anyway that we can request a special crawl of the website so that we can hopefully just be left any legitimate remaining issues?
Moz Pro | | dmckenzie4560 -
Paid API Access
We've been using your API on regular basis over the past few months, when lately we started having problems accessing the data it provides.I received an empty object when tried fetching info using the following URL:string sUrlToScan = "http://lsapi.seomoz.com/linkscape/url-metrics/"+sHost+"?AccessID=member-d73bd20330&Expires=1355756373&Signature=....";* Please note - I removed the Signature field for security reasonsI would really appreciate it if you could let me know why the service has stopped working.Is it because the 'Expires' is no longer valid?Could you please provide me with the up-to-date AccessID + Expires + Signature values so I could continue using your API?Thanks!
Moz Pro | | Sorezki0 -
Question to SEOMOZ when will the On-Page Optimization tool be Updated
Hi, When will your On-page Optimization Tool be updated to reflect the Over Optimization Penalty which is coming. I would think that grading out at an 'A' will have adverse effects.
Moz Pro | | Bucky0 -
Not really a question.
Hello Mozzers, I just logged into my account and after what has felt like a few months of on site work I finally see ZERO errors across the board for my main campaign with SEO Moz! I just wanted to share that with everyone because at one point above the errors were in the 5,000 range. It was causing penalties and weight in serps, but now thanks to SEO Moz and the help that I have received in the Q&A section, I have corrected all the errors! So, thank you to SEOMOZ and the pro community very very much!!! As a discussion though, how are the errors with most other users? Are you typically always seeing no errors, a few errors or a lot of errors for your campaigns? Thanks! Jesse
Moz Pro | | getrightmusic1 -
Mozbar question
Hi, In the mozbar it has the following for this post: PA: 55 mR: 3.28 mT: 4.43 DA: 88 What does this data mean and how would you use it to spot a weakness in a competitor? Now the domain strength is very high 88, so I know you would have trouble attacking that if your own DA was 48. p.s this is just an example
Moz Pro | | activitysuper0 -
Help with SEOmoz API
Hi guys, I'm trying to make API requests from my webserver via PHP. I'd like to retrieve data from the SEOmoz URL Metrics API. Unfortunately I always get the error response "unauthorized" even when I copy and paste the Sample Valid API Signature generated by your system into the browser. Is Signed Authentication not longer supported? I even tried the sample PHP Code SignedAuth.php but there's the same problem, too. If signed authentication is not longer available, do you have a code example for the basic http authorization? Thanks, Brandon
Moz Pro | | thegreatpursuit1