{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Traffic Checker: SEO Keywords & Backlinks",
    "description": "Check any website's organic search traffic, the Google keywords it ranks for, top 3/10 positions, traffic value, SEO competitors, domain rank and backlinks in 94 countries. Licensed DataForSEO data, no scraping. Bulk mode checks up to 5,000 domains per run for audits and lead lists.",
    "version": "1.0",
    "x-build-id": "YIy19TpdfCDHyDo5a"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/vncntlabs~domain-seo-data/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-vncntlabs-domain-seo-data",
        "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/vncntlabs~domain-seo-data/runs": {
      "post": {
        "operationId": "runs-sync-vncntlabs-domain-seo-data",
        "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/vncntlabs~domain-seo-data/run-sync": {
      "post": {
        "operationId": "run-sync-vncntlabs-domain-seo-data",
        "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",
            "type": "array",
            "description": "One per line: <code>example.com</code>, a subdomain (<code>blog.example.com</code>) or a URL (only the domain is used). Up to 200 domains in report mode, 5,000 in bulk mode.",
            "items": {
              "type": "string"
            }
          },
          "mode": {
            "title": "What do you want?",
            "enum": [
              "report",
              "bulk"
            ],
            "type": "string",
            "description": "<b>Full report</b>: per domain and country, the SEO overview (organic and paid traffic estimates, number of ranking keywords, top 3/10/20/100 positions, traffic value), the top ranked keywords, top organic competitors and the backlink profile. <b>Bulk metrics</b>: one row per domain with organic/paid traffic, keyword counts and domain rank, for lead lists and market maps (up to 5,000 domains).",
            "default": "report"
          },
          "countries": {
            "title": "Countries",
            "maxItems": 10,
            "type": "array",
            "description": "Google market(s) to analyze. Each country is a separate analysis (one overview row per domain per country). Up to 10.",
            "items": {
              "type": "string",
              "enum": [
                "US",
                "GB",
                "CA",
                "AU",
                "DE",
                "FR",
                "IN",
                "ES",
                "IT",
                "NL",
                "BR",
                "MX",
                "JP",
                "AL",
                "DZ",
                "AO",
                "AR",
                "AM",
                "AT",
                "AZ",
                "BH",
                "BD",
                "BE",
                "BO",
                "BA",
                "BG",
                "BF",
                "KH",
                "CM",
                "CL",
                "CO",
                "CR",
                "CI",
                "HR",
                "CY",
                "CZ",
                "DK",
                "EC",
                "EG",
                "SV",
                "EE",
                "FI",
                "GH",
                "GR",
                "GT",
                "HK",
                "HU",
                "ID",
                "IE",
                "IL",
                "JO",
                "KZ",
                "KE",
                "LV",
                "LT",
                "MY",
                "MT",
                "MD",
                "MC",
                "MA",
                "MM",
                "NZ",
                "NI",
                "NG",
                "MK",
                "NO",
                "PK",
                "PA",
                "PY",
                "PE",
                "PH",
                "PL",
                "PT",
                "RO",
                "SA",
                "SN",
                "RS",
                "SG",
                "SK",
                "SI",
                "ZA",
                "KR",
                "LK",
                "SE",
                "CH",
                "TW",
                "TH",
                "TN",
                "TR",
                "UA",
                "AE",
                "UY",
                "VE",
                "VN"
              ],
              "enumTitles": [
                "United States (US)",
                "United Kingdom (GB)",
                "Canada (CA)",
                "Australia (AU)",
                "Germany (DE)",
                "France (FR)",
                "India (IN)",
                "Spain (ES)",
                "Italy (IT)",
                "Netherlands (NL)",
                "Brazil (BR)",
                "Mexico (MX)",
                "Japan (JP)",
                "Albania (AL)",
                "Algeria (DZ)",
                "Angola (AO)",
                "Argentina (AR)",
                "Armenia (AM)",
                "Austria (AT)",
                "Azerbaijan (AZ)",
                "Bahrain (BH)",
                "Bangladesh (BD)",
                "Belgium (BE)",
                "Bolivia (BO)",
                "Bosnia and Herzegovina (BA)",
                "Bulgaria (BG)",
                "Burkina Faso (BF)",
                "Cambodia (KH)",
                "Cameroon (CM)",
                "Chile (CL)",
                "Colombia (CO)",
                "Costa Rica (CR)",
                "Cote d'Ivoire (CI)",
                "Croatia (HR)",
                "Cyprus (CY)",
                "Czechia (CZ)",
                "Denmark (DK)",
                "Ecuador (EC)",
                "Egypt (EG)",
                "El Salvador (SV)",
                "Estonia (EE)",
                "Finland (FI)",
                "Ghana (GH)",
                "Greece (GR)",
                "Guatemala (GT)",
                "Hong Kong (HK)",
                "Hungary (HU)",
                "Indonesia (ID)",
                "Ireland (IE)",
                "Israel (IL)",
                "Jordan (JO)",
                "Kazakhstan (KZ)",
                "Kenya (KE)",
                "Latvia (LV)",
                "Lithuania (LT)",
                "Malaysia (MY)",
                "Malta (MT)",
                "Moldova (MD)",
                "Monaco (MC)",
                "Morocco (MA)",
                "Myanmar (Burma) (MM)",
                "New Zealand (NZ)",
                "Nicaragua (NI)",
                "Nigeria (NG)",
                "North Macedonia (MK)",
                "Norway (NO)",
                "Pakistan (PK)",
                "Panama (PA)",
                "Paraguay (PY)",
                "Peru (PE)",
                "Philippines (PH)",
                "Poland (PL)",
                "Portugal (PT)",
                "Romania (RO)",
                "Saudi Arabia (SA)",
                "Senegal (SN)",
                "Serbia (RS)",
                "Singapore (SG)",
                "Slovakia (SK)",
                "Slovenia (SI)",
                "South Africa (ZA)",
                "South Korea (KR)",
                "Sri Lanka (LK)",
                "Sweden (SE)",
                "Switzerland (CH)",
                "Taiwan (TW)",
                "Thailand (TH)",
                "Tunisia (TN)",
                "Turkiye (TR)",
                "Ukraine (UA)",
                "United Arab Emirates (AE)",
                "Uruguay (UY)",
                "Venezuela (VE)",
                "Vietnam (VN)"
              ]
            },
            "default": [
              "US"
            ]
          },
          "maxKeywords": {
            "title": "Max ranked keywords per domain",
            "minimum": 0,
            "maximum": 5000,
            "type": "integer",
            "description": "Top keywords the domain ranks for in Google (per country), with position, URL, search volume, CPC, difficulty, intent and estimated traffic. 0 = overview only.",
            "default": 100
          },
          "keywordSort": {
            "title": "Sort keywords by",
            "enum": [
              "traffic",
              "volume",
              "position"
            ],
            "type": "string",
            "description": "Which keywords come first when there are more than you asked for.",
            "default": "traffic"
          },
          "maxPosition": {
            "title": "Only keywords ranking in the top",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "For example 10 = only keywords where the domain is on Google's first page.",
            "default": 100
          },
          "minSearchVolume": {
            "title": "Minimum keyword search volume",
            "minimum": 0,
            "type": "integer",
            "description": "Skip keywords with fewer monthly searches.",
            "default": 0
          },
          "maxCompetitors": {
            "title": "Max competitors per domain",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Organic search competitors: domains ranking for the most of the same keywords, with shared keywords, average position and their own traffic. 0 = none.",
            "default": 10
          },
          "excludeTopDomains": {
            "title": "Exclude giant sites from competitors",
            "type": "boolean",
            "description": "Leave out sites that rank for everything (YouTube, Wikipedia, Amazon, Reddit and similar) so the list shows real business competitors.",
            "default": true
          },
          "includeBacklinks": {
            "title": "Include backlink profile",
            "type": "boolean",
            "description": "Domain rank (DataForSEO Rank 0-100, an authority score like Ahrefs DR), backlinks, referring domains, dofollow share, spam score, first seen, top referring TLDs and countries. One lookup per domain (not per country).",
            "default": true
          },
          "includeAuthority": {
            "title": "Bulk: include domain rank",
            "type": "boolean",
            "description": "Bulk mode: add DataForSEO Rank (0-100) for every domain.",
            "default": true
          },
          "language": {
            "title": "Language (optional)",
            "type": "string",
            "description": "Language code such as <code>es</code> for countries with several languages (US: en/es, CA: en/fr, CH: de/fr/it, BE: fr/nl/de, IN: en/hi). Default: English where available, otherwise the country's main language."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}