DomDetailer Stats Checker API Documentation

Domdetailer API Commands and Endpoint Details

General Information

Cost per use 2 credits
Concurrent Connections 5
If you need bulk data please use the website, it will be much faster.
Input Item Type domain

API Endpoint

Use POST to send the data to servya.

Input Variables

Variable Name Input Details
apikey Your unique API Key. If you don't have one, please first get an API Key.
job_type domdetailer
job_input This is the domain that you want to submit

Output Variables

Variable Description
domain The domain used for domain stat checking
domainAsEntered The domain as it was entered in the list
majesticTF Majestic Trust Flow
majesticCF Majestic Citation Flow
majesticLinks Majestic Links
majesticRefDomains Majestic Referring Domains
majesticRefEDU Majestic referring .edu links
majesticRefGov Majestic referring .gov links
majesticRefSubnets Majestic stat showing how many unique subnets are linking to the domain.
majesticIPs Majestic stat showing number of different IPs that link to the domain
Where X is 0, 1 or 2
Name of the Majestic Topical Trust Flow for the domain. There are 3 values for this returned, these will be the topics with the highest values. This can be blank in the case of no TTF values.
Where X is 0, 1 or 2
Value of the Majestic Topical Trust Flow for the domain. There are 3 values for this returned, these will be the topics with the highest values. This can be blank in the case of no TTF values.
mozDA Moz's Domain Authority for this domain
mozPA Moz's Page Authority for this domain
mozLinks Number of links to the domain as reported by Moz
mozRank Moz Rank for entered domain
majesticStatReturned The domain type option used for getting the stats from Majestic.
The options are below with an example of what the value means based on the domain:
  • root -
  • subdomain -
  • url -
FB_comments How many times the domain has been mentioned in a Facebook comment
FB_shares How many times a link to the domain has been shared on Facebook
pinterest_pins How many time a link to the domain has been shared along with a pin on pinterest

Output Examples


Servya API Instructions for Developers

To start testing your implementation and the provided code examples you will first need to acquire an API key.

When you have your API key you will want to visit the documentation for the individual tools to get the API endpoints, inputs, outputs and examples.

We have code examples in lots of popular languages but if you need some help in a different language you can get in touch for some advice.

The API uses simple HTTP post requests and JSON to keep the process of interacting with the API and handling the data returned as simple as possible.

See the list of tools on this page for a direct link to the documentation for the tools.

We have code examples for 6 major programming languages below to aid the integration with your platform.

How to use the API for End Users

Integrating Servya into a supported tool is really simple!

You will first need to get an API key for Servya and then copy it into your software.

From our side, that is all you need to do. Your software should now be able to use the data from our tools.

Servya API Code Examples

Below you'll find code examples in various programming languages. These examples demonstrate how to interact with our API, making it easier for you to integrate our services into your applications. Simply click on the headers to view the code in your preferred language and see how you can quickly get started.

//Input Variables
$api_key = "!! THIS IS YOUR API KEY !!"; 
$job_input = "";

$apiUrl = "";

$data = array(
    'apikey' => $api_key,
    'job_type' => 'dodmetailer',
    'job_input' => $job_input

$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $apiUrl);
curl_setopt($ch, CURLOPT_POST, 1);
curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($data));
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);

$response = curl_exec($ch);
if ($response === FALSE) {
    die('Error: ' . curl_error($ch));

$data = json_decode($response, true);

// Output API response
using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Threading.Tasks;
using Newtonsoft.Json;

class Program
    private static readonly HttpClient client = new HttpClient();

    static async Task Main()
		// Input Variables
		string api_key = "!! THIS IS YOUR API KEY !!";
		string domain = "";

		var values = new Dictionary
			{ "apikey", api_key },
			{ "job_type", "domdetailer" },
			{ "job_input", domain }

		var content = new FormUrlEncodedContent(values);
		var response = await client.PostAsync("", content);
		var responseString = await response.Content.ReadAsStringAsync();

		dynamic data = Newtonsoft.Json.JsonConvert.DeserializeObject(responseString);

		// Output response data to console
import requests

# Fill in your API Key from the website
# This is the domain to check
domain = ''

api_url = ''
data = {
    'apikey': api_key,
    'job_type': 'domdetailer',
    'job_input': domain

response =, data=data)
data = response.json()

# output the data
const https = require('https');
const querystring = require('querystring');

const postData = querystring.stringify({
  'apikey': 'your_api_key',
  'job_type': 'domdetailer',
  'job_input': ''

const options = {
  hostname: '',
  port: 443,
  path: '/process_job.php',
  method: 'POST',
  headers: {
    'Content-Type': 'application/x-www-form-urlencoded',
    'Content-Length': postData.length

const req = https.request(options, (res) => {
  let data = '';

  res.on('data', (chunk) => {
    data += chunk;

  res.on('end', () => {
    const parsedData = JSON.parse(data);

req.on('error', (e) => {
  console.error(`Problem with request: ${e.message}`);

require 'net/http'
require 'uri'
require 'json'

uri = URI.parse("")
request =
  "apikey" => "your_api_key",
  "job_type" => "domdetailer",
  "job_input" => ""

response = Net::HTTP.start(uri.hostname, uri.port, use_ssl: uri.scheme == "https") do |http|

data = JSON.parse(response.body)
puts data
package main

import (

func main() {
	apiUrl := ""
	data := url.Values{}
	data.Set("apikey", "!! THIS IS YOUR API KEY !!")
	data.Set("job_type", "domdetailer")
	data.Set("job_input", "")

	req, err := http.NewRequest("POST", apiUrl, strings.NewReader(data.Encode()))
	if err != nil {
		fmt.Println("Error creating request:", err)
	req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
	req.Header.Set("Content-Length", fmt.Sprint(len(data.Encode())))

	client := &http.Client{}
	response, err := client.Do(req)
	if err != nil {
		fmt.Println("Error making request:", err)
	defer response.Body.Close()

	buf := new(bytes.Buffer)
	fmt.Println("Response:", buf.String())
$page_title logger