{
  "openapi": "3.0.1",
  "info": {
    "title": "Bulk Domain Authority Checker: DA Score for 10,000 Domains",
    "description": "Check the authority of up to 10,000 domains in one run. Each domain gets a 0-100 rank from the DataForSEO backlink index, with optional spam score and referring domains. $1 per 1,000 domains. Not Moz DA: a comparable index-based score.",
    "version": "0.1",
    "x-build-id": "zaD1SnUGh0OVhLfmo"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/alexmorain~bulk-domain-authority-checker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-alexmorain-bulk-domain-authority-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/alexmorain~bulk-domain-authority-checker/runs": {
      "post": {
        "operationId": "runs-sync-alexmorain-bulk-domain-authority-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/alexmorain~bulk-domain-authority-checker/run-sync": {
      "post": {
        "operationId": "run-sync-alexmorain-bulk-domain-authority-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "required": [
          "domains"
        ],
        "properties": {
          "domains": {
            "title": "Domains or URLs",
            "type": "array",
            "description": "One domain or URL per line, 1 to 10,000 distinct targets. In the default target mode <code>www.apify.com</code>, <code>blog.apify.com</code> and <code>https://apify.com/store</code> are all read as <code>apify.com</code>, so every row rates the whole site. Duplicates are removed. A line that is not a valid domain comes back as an <code>invalid_input</code> row and is not charged.<br><br>The score is DataForSEO's domain rank, <b>not the Moz Domain Authority</b>: do not expect the same numbers as Moz.",
            "items": {
              "type": "string"
            }
          },
          "targetMode": {
            "title": "Target mode",
            "enum": [
              "domain",
              "exact"
            ],
            "type": "string",
            "description": "<b>Registered domain</b> (default): the whole site, subdomains included, whatever form you paste. <code>www.apify.com</code> is sent as <code>apify.com</code>.<br><br><b>Exact</b>: the host or URL exactly as written, to rate one subdomain or one page. The provider rates exactly what it is sent: <code>apify.com</code> is 79, <code>www.apify.com</code> 56 and <code>blog.apify.com</code> 45 (measured on 9 November 2026).",
            "default": "domain"
          },
          "includeSpamScore": {
            "title": "Add the spam score",
            "type": "boolean",
            "description": "Adds the DataForSEO backlink spam score of each domain (0-100, in <code>spamScore</code>). Billed as one more batch call fee per chunk of up to 1,000 domains. Empty (<code>null</code>) when the provider has no score for the domain.",
            "default": false
          },
          "includeReferringDomains": {
            "title": "Add the referring domains",
            "type": "boolean",
            "description": "Adds the number of referring domains, those that link only with nofollow, and the referring main domains (<code>referringDomains</code>, <code>referringDomainsNofollow</code>, <code>referringMainDomains</code>). It also lets <code>hasLinkData</code> tell an unknown domain (<code>false</code>) from a rank of 0 you cannot interpret (<code>null</code>). Billed as one more batch call fee per chunk of up to 1,000 domains.",
            "default": false
          },
          "trackChanges": {
            "title": "Track rank changes between runs",
            "type": "boolean",
            "description": "Keeps the last rank of each domain in a named store of your account, <code>domain-authority-monitor</code>, and fills <code>previousDomainAuthority</code>, <code>domainAuthorityChange</code> (new rank minus previous rank, <code>null</code> on the first run) and <code>previousCheckedAt</code>. Schedule the Actor to follow a list over time. No extra charge and no extra provider call.<br><br>A rank of 0 does not prove the provider has no data for a domain: it returns 0 without any error for domains it does not know.",
            "default": false
          },
          "monitorName": {
            "title": "Tracking name",
            "maxLength": 100,
            "type": "string",
            "description": "Name of the memory, 100 characters at most. Leave empty and the memory depends only on the target mode: adding or removing a domain keeps the history of the others. A name lets you keep several separate histories.",
            "default": ""
          },
          "webhookUrl": {
            "title": "Webhook URL",
            "type": "string",
            "description": "Optional. The run summary is sent there by POST when the run ends (Slack, Discord, Zapier...), with the up to 100 domains whose rank moved most when tracking is on (<code>changes</code>). The URL is never written to a log."
          },
          "cacheMaxAgeHours": {
            "title": "Reuse identical requests for (hours)",
            "minimum": 0,
            "maximum": 720,
            "type": "integer",
            "description": "Backlink metrics are refreshed by the provider about once a day, and a domain's rank moves slowly. A request identical to one already made <b>from your account</b> within this many hours is answered from a cache stored in your account (named key-value store <code>domain-authority-cache</code>), with the same data. Not used when tracking is on. Set to <code>0</code> to always fetch fresh data.",
            "default": 72
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}