API callback parameter
-
I'm using the free API, and would like to use jQuery to fetch the JSON data outputted by the API.
I need to make a JSON-P request, and for this I need to be able to pass some form of callback parameter in the url.
I'd like to know if this feature is available, and if so what parameter I need to specify in my request.
Of course I could just CURL to the API, but that's really a fallback for if I can't get the data using JS.
Thanks
-
Hey there!
Just want to make sure I'm understanding what you're trying to do - basically you're hoping to use jQuery to send requests to the API and then fetch the JSON results?
What type of queries are you sending the API? What would the API query look like?
Also, we do have the API Help Forums to post in or search as well - not sure if you've explored these pages, but there could be some helpful information for you there as well!
Thanks!
Carin
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 -
Is there a way to get moz keywords analysis % through the api ?
I'm looking to integrate moz keywords analysis grade (in %) into my keyword research spreadshit as a column. Is there a way to get the % through the API ? Thanks
Moz Pro | | Sindicic_Alexis0 -
Followerwonk API (401 Unauthorized)
I am trying to use the Followerwonk api and I have changed the C# code from the MozscapeAPI code here for it to work as it uses the same encryption etc. https://github.com/QueryClick/MozscapeAPI The problem I am having is that I generate the correct link but I still get back 401 Unauthorized from Followerwonk it works fine on Mozscape API. https://api.followerwonk.com/social-authority/?screen_name=maximillion195;AccessID=member-NWQyZTI1M2EtMWUyZC01NDJhLThmZW;Timestamp=1368030369;Signature=PxK24AP7cgXMMVhzrU8NSRtSI%3D (I have changed the member ID and Signature) The Link looks right and it defiantly hashes it correctly and the timestamp is set for 20 minutes in the future, Can anyone explain why this is not working. Thanks
Moz Pro | | intSchools0 -
Domain_to_domain api call syntax
I am trying to construct an api call that lists the top authority link from each domain. This page_to_page call works http://lsapi.seomoz.com/linkscape/links/www.jbwebanalytics.com?SourceCols=4&TargetCols=4&Scope=page_to_page&Limit=400&AccessID=membexxx&Expires=xxx&Signature=xxx This domain_to_domain does not http://lsapi.seomoz.com/linkscape/links/www.jbwebanalytics.com?&Scope=domain_to_domain&Limit=400&AccessID=member-xxx1&Expires=xxx&Signature=xxx I'm plum out of ideas why? Anyone know? The Idea output is the single highest authority link for all linking domains thanks! Brian
Moz Pro | | VISISEEKINC0 -
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.
Moz Pro | | eatyourveggies0 -
Need a Google Doc That Imports List of Links From SEOMoz API
Does anyone have one they'd like to share. I've seen the great ones by Tom Anthony but I am looking for the list of the first 1000 links that are available as part of the free API to be brought back into a Google Doc.
Moz Pro | | belasco0 -
I want to hire someone to write some PHP code using the SEOmoz API.
...but I'm not sure how to go about it. What I need is simple: all I want is to be able to paste a list of URLs (different domains), and have the program return the Page Authority for all those URLs. I understand I can use the free SEOmoz API, particularly the URL Metrics API. Then I want to export the data to an Excel file. That's it. Problem is, I have absolutely no clue how to do it. Obviously I'd pay someone to do it. Pay very well if you can do it professionally and quickly. How can I go about finding the right person for the job? Apologies if this is not the right place to ask this, but I don't know where else to go. Thanks.
Moz Pro | | thegreatpursuit0