SEOmoz API - Links and Anchor Text Calls
-
Hi,
I'm testing out the SEOmoz API - however I'm stuggling to understand the use of the Cols parameter within the "anchor-text" method.
I've looped through increasing numbers of "Cols" for a standard query and there just seems to be no logical pattern.
** - Could someone please enlighten me as to how this works?**E.g. of results for query:
1Array ( [0] => Array ( [aturid] => 86128451138 ) [1] => Array ( [aturid] => 86128451144 ) [2] => Array ( [aturid] => 86128451131 ) ) 2Array ( [0] => Array ( [atut] => seomoz ) [1] => Array ( [atut] => seomoz.org ) [2] => Array ( [atut] => seo ) ) 3Array ( [0] => Array ( [aturid] => 86128451138 [atut] => seomoz ) [1] => Array ( [aturid] => 86128451144 [atut] => seomoz.org ) [2] => Array ( [aturid] => 86128451131 [atut] => seo ) ) 4Array ( [0] => Array ( [atui] => 38845159274 ) [1] => Array ( [atui] => 38845159274 ) [2] => Array ( [atui] => 38845159274 ) ) 5Array ( [0] => Array ( [atui] => 38845159274 [aturid] => 86128451138 ) [1] => Array ( [atui] => 38845159274 [aturid] => 86128451144 ) [2] => Array ( [atui] => 38845159274 [aturid] => 86128451131 ) ) 6Array ( [0] => Array ( [atui] => 38845159274 [atut] => seomoz ) [1] => Array ( [atui] => 38845159274 [atut] => seomoz.org ) [2] => Array ( [atui] => 38845159274 [atut] => seo ) ) 7Array ( [0] => Array ( [atui] => 38845159274 [aturid] => 86128451138 [atut] => seomoz ) [1] => Array ( [atui] => 38845159274 [aturid] => 86128451144 [atut] => seomoz.org ) [2] => Array ( [atui] => 38845159274 [aturid] => 86128451131 [atut] => seo ) ) 8Array ( [0] => Array ( [atuiu] => 1 ) [1] => Array ( [atuiu] => 1 ) [2] => Array ( [atuiu] => 0 ) ) 9Array ( [0] => Array ( [atuiu] => 1 [aturid] => 86128451138 ) [1] => Array ( [atuiu] => 1 [aturid] => 86128451144 ) [2] => Array ( [atuiu] => 0 [aturid] => 86128451131 ) ) 10Array ( [0] => Array ( [atuiu] => 1 [atut] => seomoz ) [1] => Array ( [atuiu] => 1 [atut] => seomoz.org ) [2] => Array ( [atuiu] => 0 [atut] => seo ) )
Links API:
Similar confusion here for:
"TargetCols"
"SourceCols"
"LinkCols"The description here http://apiwiki.seomoz.org/w/page/13991141/Links API - is a bit vague
It appears that the links API spits out everything anyway - that one's less of an issue.
So... could anyone explain how the Anchor-text API parameter Cols works??
Cheers!
-
That's brilliant Casey - that's exactly what I was looking for!
Basicly Cols = bitflag
So to dump all data for anchor-text Cols=2042
Thanks!
-
The Cols parameter works just like it does in the Links API. For example:
http://apiwiki.seomoz.org/w/page/13991127/Anchor Text API
If you want to display term or phrase, which has a bit flag of 2 and internal pages linking which has a bit flag of 8, your Cols Parameter would be 10. That would return both the term or phrase and internal pages linking. You simpily add the bit flags and use that as your Cols Parameter.
This makes it so you don't have to loop through and make a bunch of call to get multiple columns.
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
-
Sudden increase in on-page links
Within one week, the site crawl shows my on-page links going from ~10 to ~100+ Does anyone know of a rational reason for this? Sucuri shows my site is clean, so I don't think it's a hack. 10 seems too low to begin with anyway. Any ideas? Thanks 🙂
Moz Pro | | pupstar0 -
SEOMoz On-Page Report Card
This question is for one of the SEOMoz staff. With the ongoing changes and improvement in algorithms, does the SEOMoz team keep the "On-page Report Card" up to date with best practices?
Moz Pro | | tdawson090 -
Back Link Verification Checker
Working on client issue. Need tool that will verify of the 10k links which are still live or not. Tried http://www.webconfs.com/reciprocal-link-checker.php but its not functional for the volume I dont believe. I basically have a 10k list of links and need to pull out any dead ones. Tips fast please?
Moz Pro | | bozzie3110 -
SEOmoz tool Issue?
Hi Mozzers, I am doing a web maintenance task for a client and it's been weeks that Moz is detecting 49 duplicate pages ( contact page). I thought resolving the issue when creating the xml sitemap and excluding those duplicates. The moz tool would still detect them, so I went in making a search with some of these duplicate to check if they were indexed but non of them were indexed. So my question is has anyone recently experienced similar issues? Is the moz tool not 100% accurate? Thanks for sharing your thoughts and answers
Moz Pro | | Ideas-Money-Art0 -
Is there anything like SEMRush in SEOMoz?
I'm new to SEOMoz and trying to find something like SEMRush for finding what keywords competitors use. Is there anything like that within SEOMoz?
Moz Pro | | seanuk0 -
Link Blocks
Sorry, perhaps a noob question. In relation to site explorer, have also searched and unable to find any information, wondered if anyone could advise as to what "Linking C Blocks" are? Found under the "Compare Link Metrics" tab. Thanks in advance. Lee
Moz Pro | | LeeMiller0 -
Juicy Link Finder Working?
I cant seem to get this tool to work for any targeted keywords & amounts. Anyone else having this issue?
Moz Pro | | Anest0 -
Where in SEOMoz pro can I determine how many .edu and .gov links a competitor's site has?
Like in the SEOBook toolbar where you can click the information button and get the number of links to the domain and specific page for .edu and .gov sites. Thanks, Daniel.
Moz Pro | | iSenseWebSolutions0