Download the connectors from

Majestic provides a set of 'connectors' that have been designed to ease integration with our API. We currently provide implementations in C#, Java, Perl, PHP, Python and Ruby - all of which ship with working examples.

Take a look at our GitHub account for packages that include source, binaries (where applicable) and working examples using both authentication protocols.

The connector api is very simple but what it does do is hide the technical details of request encoding, command execution and interpreting the response, allowing you to focus on what you want to do with the data.

To maximise your connector experience, please study the documentation which outlines the connector api in a language-agnostic fashion. This should furnish you with all you need to interact in full with the Majestic SEO API response.
Below is an example demonstrating how to retrieve the top 100 backlinks to, using the Java connector and the 'OpenApp' authentication protocol.

Map parameters = new HashMap();
parameters.put("URL", "");

APIService service = new APIService("UBB22Z9TQCB5437SGBTE7XRW", "");
Response response = service.executeOpenAppRequest("GetTopBackLinks", parameters, "QHXFFUJ6KBJZ");

for (Map row : response.getTableForName("URL").getTableRows())
	String anchorText = row.get("AnchorText");
	String sourceURL = row.get("SourceURL");

For more information about access to the Majestic API suite, visit our Plans & Pricing page.