{
  "openapi": "3.0.1",
  "info": {
    "title": "Semrush Scraper - Authority Score, Traffic & Competitors",
    "description": "Scrape Semrush website data without an account: Authority Score, visits, organic and paid traffic, backlinks, referring domains, ranks, top countries and keywords, competitors, traffic sources, AI traffic and top-websites rankings. From $0.90 per 1,000 websites.",
    "version": "0.1",
    "x-build-id": "JhLFmU2T597Qetnr1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/topapi~semrush-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-topapi-semrush-scraper",
        "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/topapi~semrush-scraper/runs": {
      "post": {
        "operationId": "runs-sync-topapi-semrush-scraper",
        "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/topapi~semrush-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-topapi-semrush-scraper",
        "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",
        "properties": {
          "domains": {
            "title": "Domains or URLs",
            "type": "array",
            "description": "Websites to look up, one per line: a domain (stripe.com), any URL on it (https://www.stripe.com/pricing) or a Semrush page (semrush.com/website/stripe.com/overview/, semrush.com/website/stripe.com/competitors/ for competitor rows, or a top-websites page such as semrush.com/trending-websites/us/finance). www., case and paths are normalised; a subdomain Semrush does not publish falls back to its parent domain. A domain without a public Semrush page is listed in the run summary and never charged.",
            "items": {
              "type": "string"
            }
          },
          "urlsFromFile": {
            "title": "Import a list (CSV, JSON or text)",
            "type": "string",
            "description": "Paste a list (one domain or URL per line, a CSV whose first domain-looking cell per line is used, or a JSON array), or give a direct public download link to such a file (.csv / .json / .txt, up to 2 MiB)."
          },
          "allTrackedDomains": {
            "title": "Every website Semrush publishes",
            "type": "boolean",
            "description": "Read the full list of websites Semrush publishes a public page for (about 250,000, from its sitemaps) and deliver a website row for each, up to Max rows. Combine with Domain endings, Exclude domains containing and the filters.",
            "default": false
          },
          "domainSuffixes": {
            "title": "Domain endings",
            "type": "array",
            "description": "Keep only domains ending with one of these (.de, .co.uk, .fr). Applied before any page is read, at no cost.",
            "items": {
              "type": "string"
            }
          },
          "excludeKeywords": {
            "title": "Exclude domains containing",
            "type": "array",
            "description": "Skip any domain whose name contains one of these words (case ignored), e.g. casino. Applied before any page is read, at no cost.",
            "items": {
              "type": "string"
            }
          },
          "includeCompetitors": {
            "title": "Competitor rows",
            "type": "boolean",
            "description": "Read each website's Semrush competitors page too and deliver one competitor row per competing website (Authority Score, visits and change, global / country / industry rank and their change in places, bounce rate, pages per visit, time on site). Charged per competitor row. The website row also gets its own rank changes in places and Semrush's description.",
            "default": false
          },
          "competitorsOnly": {
            "title": "Competitor rows only",
            "type": "boolean",
            "description": "Deliver only the competitor rows of each domain, without its website row.",
            "default": false
          },
          "maxCompetitorsPerDomain": {
            "title": "Max competitors per domain",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Competitor rows taken from each competitors page (Semrush lists 1-10, most often 3-7).",
            "default": 20
          },
          "includeHistory": {
            "title": "History",
            "type": "boolean",
            "description": "Add the series Semrush publishes to each website row: visits (3 months), desktop / mobile visits, organic / paid search traffic, backlinks and referring domains (6 months each), and each AI source (6 months). Free.",
            "default": true
          },
          "includeTopCountries": {
            "title": "Top countries",
            "type": "boolean",
            "description": "Add the top 5 countries by visits (visits, share, desktop / mobile share). Free.",
            "default": true
          },
          "includeTopKeywords": {
            "title": "Top organic keywords",
            "type": "boolean",
            "description": "Add the top 5 organic keywords (position, search volume, CPC, traffic share, intent). Free.",
            "default": true
          },
          "includeTrafficSources": {
            "title": "Traffic sources and destinations",
            "type": "boolean",
            "description": "Add where visitors come from (direct, search, referring websites) and where they go next, with visits and share. Free.",
            "default": true
          },
          "includeAiTraffic": {
            "title": "AI traffic",
            "type": "boolean",
            "description": "Add the visits each AI assistant and AI website sends (ChatGPT, Claude, Grok, ...), with share and history. Free.",
            "default": true
          },
          "locations": {
            "title": "Top websites: countries",
            "type": "array",
            "description": "Top-websites rankings to read: the 100 most visited websites of each country (World = global). Every country is read for every industry below. Leave empty to skip rankings.",
            "items": {
              "type": "string",
              "enum": [
                "global",
                "af",
                "ax",
                "al",
                "dz",
                "as",
                "ad",
                "ao",
                "ai",
                "aq",
                "ag",
                "ar",
                "am",
                "aw",
                "au",
                "at",
                "az",
                "bs",
                "bh",
                "bd",
                "bb",
                "by",
                "be",
                "bz",
                "bj",
                "bm",
                "bt",
                "bo",
                "bq",
                "ba",
                "bw",
                "bv",
                "br",
                "io",
                "vg",
                "bn",
                "bg",
                "bf",
                "bi",
                "kh",
                "cm",
                "ca",
                "cv",
                "ky",
                "cf",
                "td",
                "cl",
                "cn",
                "cx",
                "cc",
                "co",
                "km",
                "ck",
                "cr",
                "ci",
                "hr",
                "cw",
                "cy",
                "cz",
                "cd",
                "dk",
                "dj",
                "dm",
                "do",
                "tl",
                "ec",
                "eg",
                "sv",
                "gq",
                "er",
                "ee",
                "et",
                "fk",
                "fo",
                "fj",
                "fi",
                "fr",
                "gf",
                "pf",
                "ga",
                "gm",
                "ge",
                "de",
                "gh",
                "gi",
                "gr",
                "gl",
                "gd",
                "gp",
                "gu",
                "gt",
                "gg",
                "gn",
                "gw",
                "gy",
                "ht",
                "hm",
                "hn",
                "hk",
                "hu",
                "is",
                "in",
                "id",
                "iq",
                "ie",
                "im",
                "il",
                "it",
                "jm",
                "jp",
                "je",
                "jo",
                "kz",
                "ke",
                "ki",
                "kw",
                "kg",
                "la",
                "lv",
                "lb",
                "ls",
                "lr",
                "li",
                "lt",
                "lu",
                "mo",
                "mk",
                "mg",
                "mw",
                "my",
                "mv",
                "ml",
                "mt",
                "mh",
                "mq",
                "mr",
                "mu",
                "yt",
                "mx",
                "fm",
                "md",
                "mc",
                "mn",
                "me",
                "ms",
                "ma",
                "mz",
                "na",
                "nr",
                "np",
                "nl",
                "nc",
                "nz",
                "ni",
                "ne",
                "ng",
                "nu",
                "nf",
                "mp",
                "no",
                "om",
                "pk",
                "pw",
                "ps",
                "pa",
                "pg",
                "py",
                "pe",
                "ph",
                "pl",
                "pt",
                "pr",
                "qa",
                "cg",
                "re",
                "ro",
                "ru",
                "rw",
                "bl",
                "sh",
                "kn",
                "lc",
                "mf",
                "pm",
                "vc",
                "ws",
                "sm",
                "st",
                "sa",
                "sn",
                "rs",
                "sc",
                "sl",
                "sg",
                "sx",
                "sk",
                "si",
                "sb",
                "so",
                "za",
                "gs",
                "kr",
                "ss",
                "es",
                "lk",
                "sr",
                "sj",
                "sz",
                "se",
                "ch",
                "tw",
                "tj",
                "tz",
                "th",
                "tg",
                "tk",
                "to",
                "tt",
                "tn",
                "tr",
                "tm",
                "tc",
                "tv",
                "ug",
                "ua",
                "ae",
                "gb",
                "us",
                "vi",
                "uy",
                "uz",
                "vu",
                "va",
                "ve",
                "vn",
                "wf",
                "eh",
                "ye",
                "zm",
                "zw"
              ],
              "enumTitles": [
                "World",
                "Afghanistan",
                "Aland",
                "Albania",
                "Algeria",
                "American Samoa",
                "Andorra",
                "Angola",
                "Anguilla",
                "Antarctica",
                "Antigua And Barbuda",
                "Argentina",
                "Armenia",
                "Aruba",
                "Australia",
                "Austria",
                "Azerbaijan",
                "Bahamas",
                "Bahrain",
                "Bangladesh",
                "Barbados",
                "Belarus",
                "Belgium",
                "Belize",
                "Benin",
                "Bermuda",
                "Bhutan",
                "Bolivia",
                "Bonaire, Sint Eustatius And Saba",
                "Bosnia And Herzegovina",
                "Botswana",
                "Bouvet Island",
                "Brazil",
                "British Indian Ocean Territory",
                "British Virgin Islands",
                "Brunei",
                "Bulgaria",
                "Burkina Faso",
                "Burundi",
                "Cambodia",
                "Cameroon",
                "Canada",
                "Cape Verde",
                "Cayman Islands",
                "Central African Republic",
                "Chad",
                "Chile",
                "China",
                "Christmas Island",
                "Cocos Islands",
                "Colombia",
                "Comoros",
                "Cook Islands",
                "Costa Rica",
                "Cote d'Ivoire",
                "Croatia",
                "Curacao",
                "Cyprus",
                "Czech Republic",
                "Democratic Republic Of The Congo",
                "Denmark",
                "Djibouti",
                "Dominica",
                "Dominican Republic",
                "East Timor",
                "Ecuador",
                "Egypt",
                "El Salvador",
                "Equatorial Guinea",
                "Eritrea",
                "Estonia",
                "Ethiopia",
                "Falkland Islands",
                "Faroes",
                "Fiji",
                "Finland",
                "France",
                "French Guiana",
                "French Polynesia",
                "Gabon",
                "Gambia",
                "Georgia",
                "Germany",
                "Ghana",
                "Gibraltar",
                "Greece",
                "Greenland",
                "Grenada",
                "Guadeloupe",
                "Guam",
                "Guatemala",
                "Guernsey",
                "Guinea",
                "Guinea Bissau",
                "Guyana",
                "Haiti",
                "Heard Island And McDonald Islands",
                "Honduras",
                "Hong Kong",
                "Hungary",
                "Iceland",
                "India",
                "Indonesia",
                "Iraq",
                "Ireland",
                "Isle Of Man",
                "Israel",
                "Italy",
                "Jamaica",
                "Japan",
                "Jersey",
                "Jordan",
                "Kazakhstan",
                "Kenya",
                "Kiribati",
                "Kuwait",
                "Kyrgyzstan",
                "Laos",
                "Latvia",
                "Lebanon",
                "Lesotho",
                "Liberia",
                "Liechtenstein",
                "Lithuania",
                "Luxembourg",
                "Macao",
                "Macedonia",
                "Madagascar",
                "Malawi",
                "Malaysia",
                "Maldives",
                "Mali",
                "Malta",
                "Marshall Islands",
                "Martinique",
                "Mauritania",
                "Mauritius",
                "Mayotte",
                "Mexico",
                "Micronesia",
                "Moldova",
                "Monaco",
                "Mongolia",
                "Montenegro",
                "Montserrat",
                "Morocco",
                "Mozambique",
                "Namibia",
                "Nauru",
                "Nepal",
                "Netherlands",
                "New Caledonia",
                "New Zealand",
                "Nicaragua",
                "Niger",
                "Nigeria",
                "Niue",
                "Norfolk Island",
                "Northern Mariana Islands",
                "Norway",
                "Oman",
                "Pakistan",
                "Palau",
                "Palestine",
                "Panama",
                "Papua New Guinea",
                "Paraguay",
                "Peru",
                "Philippines",
                "Poland",
                "Portugal",
                "Puerto Rico",
                "Qatar",
                "Republic Of The Congo",
                "Reunion",
                "Romania",
                "Russia",
                "Rwanda",
                "Saint Barthelemy",
                "Saint Helena",
                "Saint Kitts And Nevis",
                "Saint Lucia",
                "Saint Martin",
                "Saint Pierre and Miquelon",
                "Saint Vincent And The Grenadines",
                "Samoa",
                "San Marino",
                "Sao Tome And Principe",
                "Saudi Arabia",
                "Senegal",
                "Serbia",
                "Seychelles",
                "Sierra Leone",
                "Singapore",
                "Sint Maarten",
                "Slovakia",
                "Slovenia",
                "Solomon Islands",
                "Somalia",
                "South Africa",
                "South Georgia And The South Sandwich Islands",
                "South Korea",
                "South Sudan",
                "Spain",
                "Sri Lanka",
                "Suriname",
                "Svalbard And Jan Mayen",
                "Swaziland",
                "Sweden",
                "Switzerland",
                "Taiwan",
                "Tajikistan",
                "Tanzania",
                "Thailand",
                "Togo",
                "Tokelau",
                "Tonga",
                "Trinidad And Tobago",
                "Tunisia",
                "Turkey",
                "Turkmenistan",
                "Turks And Caicos Islands",
                "Tuvalu",
                "Uganda",
                "Ukraine",
                "United Arab Emirates",
                "United Kingdom",
                "United States",
                "United States Virgin Islands",
                "Uruguay",
                "Uzbekistan",
                "Vanuatu",
                "Vatican City",
                "Venezuela",
                "Vietnam",
                "Wallis And Futuna",
                "Western Sahara",
                "Yemen",
                "Zambia",
                "Zimbabwe"
              ]
            }
          },
          "topWebsitesCategories": {
            "title": "Top websites: industries",
            "type": "array",
            "description": "Industries of the rankings (empty = all industries).",
            "items": {
              "type": "string",
              "enum": [
                "all",
                "accounting-and-auditing",
                "adult",
                "advertising-and-marketing",
                "aerospace-and-defense",
                "agriculture",
                "airlines",
                "apparel-and-fashion",
                "architecture",
                "automotive",
                "banking",
                "beauty-and-cosmetics",
                "biotech",
                "ceramics-and-pottery",
                "chemicals",
                "civil-engineering",
                "comics-and-animation",
                "computer-and-video-games",
                "computer-hardware",
                "computer-software-and-development",
                "computers-and-electronics",
                "construction-and-maintenance",
                "consulting",
                "consumer-electronics",
                "crafts",
                "customer-services",
                "design",
                "distance-learning",
                "ecology-and-environment",
                "education",
                "entertainment",
                "equipment-and-supplies",
                "events-services",
                "facilities-services",
                "farms-and-ranches",
                "finance",
                "fishery",
                "food-and-beverages",
                "foreign-language",
                "furniture",
                "gambling",
                "government",
                "graphic-design",
                "healthcare",
                "hospitality",
                "human-resources",
                "import-and-export",
                "information-technology",
                "insurance",
                "investment",
                "jewelry-and-luxury-products",
                "legal",
                "libraries",
                "machinery",
                "mail-and-package-delivery",
                "manufacturing",
                "maritime",
                "market-research",
                "mass-media",
                "medical-devices-and-equipment",
                "mental-health",
                "metals-and-mining",
                "military",
                "museums",
                "music",
                "nanotechnology",
                "newspapers",
                "nonprofit-organizations",
                "oil-and-gas",
                "online-services",
                "outsourcing",
                "packaging-and-containers",
                "performing-arts",
                "pharmaceuticals",
                "photography",
                "plastics-and-polymers",
                "political-organizations",
                "printing",
                "public-policy",
                "public-relations",
                "public-safety",
                "public-utility",
                "publishing",
                "real-estate",
                "recreational-facilities",
                "recruitment-and-staffing",
                "reference",
                "religion-and-belief",
                "renewable-energy",
                "restaurants",
                "retail",
                "science",
                "security-products-and-services",
                "social-and-charitable-organizations",
                "sporting-goods",
                "sports",
                "telecom",
                "textiles-and-nonwovens",
                "tobacco",
                "training-and-certification",
                "transportation-and-logistics",
                "travel-and-tourism",
                "tv-and-movies",
                "venture-capital",
                "veterinary",
                "visual-art",
                "warehousing",
                "wellness",
                "wholesalers-and-liquidators",
                "wine-and-spirits",
                "writing-and-editing-services"
              ],
              "enumTitles": [
                "All Industries",
                "Accounting & Auditing",
                "Adult",
                "Advertising & Marketing",
                "Aerospace & Defense",
                "Agriculture",
                "Airlines",
                "Apparel & Fashion",
                "Architecture",
                "Automotive",
                "Banking",
                "Beauty & Cosmetics",
                "Biotech",
                "Ceramics & Pottery",
                "Chemicals",
                "Civil Engineering",
                "Comics & Animation",
                "Computer & Video Games",
                "Computer Hardware",
                "Computer Software & Development",
                "Computers & Electronics",
                "Construction & Maintenance",
                "Consulting",
                "Consumer Electronics",
                "Crafts",
                "Customer Services",
                "Design",
                "Distance Learning",
                "Ecology & Environment",
                "Education",
                "Entertainment",
                "Equipment & Supplies",
                "Events Services",
                "Facilities Services",
                "Farms & Ranches",
                "Finance",
                "Fishery",
                "Food & Beverages",
                "Foreign Language",
                "Furniture",
                "Gambling",
                "Government",
                "Graphic Design",
                "Healthcare",
                "Hospitality",
                "Human Resources",
                "Import & Export",
                "Information Technology",
                "Insurance",
                "Investment",
                "Jewelry & Luxury Products",
                "Legal",
                "Libraries",
                "Machinery",
                "Mail & Package Delivery",
                "Manufacturing",
                "Maritime",
                "Market Research",
                "Mass Media",
                "Medical Devices & Equipment",
                "Mental Health",
                "Metals & Mining",
                "Military",
                "Museums",
                "Music",
                "Nanotechnology",
                "Newspapers",
                "Nonprofit Organizations",
                "Oil & Gas",
                "Online Services",
                "Outsourcing",
                "Packaging & Containers",
                "Performing Arts",
                "Pharmaceuticals",
                "Photography",
                "Plastics & Polymers",
                "Political Organizations",
                "Printing",
                "Public Policy",
                "Public Relations",
                "Public Safety",
                "Public Utility",
                "Publishing",
                "Real Estate",
                "Recreational Facilities",
                "Recruitment & Staffing",
                "Reference",
                "Religion & Belief",
                "Renewable Energy",
                "Restaurants",
                "Retail",
                "Science",
                "Security Products & Services",
                "Social & Charitable Organizations",
                "Sporting Goods",
                "Sports",
                "Telecom",
                "Textiles & Nonwovens",
                "Tobacco",
                "Training & Certification",
                "Transportation & Logistics",
                "Travel & Tourism",
                "Tv & Movies",
                "Venture Capital",
                "Veterinary",
                "Visual Art",
                "Warehousing",
                "Wellness",
                "Wholesalers & Liquidators",
                "Wine & Spirits",
                "Writing & Editing Services"
              ]
            }
          },
          "topWebsitesLimit": {
            "title": "Top websites: rows per ranking",
            "minimum": 1,
            "maximum": 100,
            "type": "integer",
            "description": "Rows taken from each ranking (Semrush publishes 100).",
            "default": 100
          },
          "enrichTopWebsites": {
            "title": "Full website data for each ranked website",
            "type": "boolean",
            "description": "Read each ranked website's own Semrush page too and add its full website data to the ranking row (charged as one top-website + one website event).",
            "default": false
          },
          "minAuthorityScore": {
            "title": "Min Authority Score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only websites with at least this Authority Score. Every filter runs before the charge."
          },
          "maxAuthorityScore": {
            "title": "Max Authority Score",
            "minimum": 0,
            "maximum": 100,
            "type": "integer",
            "description": "Keep only websites with at most this Authority Score."
          },
          "minVisits": {
            "title": "Min monthly visits",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only websites with at least this many monthly visits."
          },
          "maxVisits": {
            "title": "Max monthly visits",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only websites with at most this many monthly visits."
          },
          "minOrganicTraffic": {
            "title": "Min monthly organic traffic",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only websites with at least this much monthly organic search traffic (website rows)."
          },
          "onlyCategories": {
            "title": "Only these industries",
            "type": "array",
            "description": "Keep only websites Semrush files under one of these industries (any of the website's categories, or a competitor's ranking industry).",
            "items": {
              "type": "string",
              "enum": [
                "accounting-and-auditing",
                "adult",
                "advertising-and-marketing",
                "aerospace-and-defense",
                "agriculture",
                "airlines",
                "apparel-and-fashion",
                "architecture",
                "automotive",
                "banking",
                "beauty-and-cosmetics",
                "biotech",
                "ceramics-and-pottery",
                "chemicals",
                "civil-engineering",
                "comics-and-animation",
                "computer-and-video-games",
                "computer-hardware",
                "computer-software-and-development",
                "computers-and-electronics",
                "construction-and-maintenance",
                "consulting",
                "consumer-electronics",
                "crafts",
                "customer-services",
                "design",
                "distance-learning",
                "ecology-and-environment",
                "education",
                "entertainment",
                "equipment-and-supplies",
                "events-services",
                "facilities-services",
                "farms-and-ranches",
                "finance",
                "fishery",
                "food-and-beverages",
                "foreign-language",
                "furniture",
                "gambling",
                "government",
                "graphic-design",
                "healthcare",
                "hospitality",
                "human-resources",
                "import-and-export",
                "information-technology",
                "insurance",
                "investment",
                "jewelry-and-luxury-products",
                "legal",
                "libraries",
                "machinery",
                "mail-and-package-delivery",
                "manufacturing",
                "maritime",
                "market-research",
                "mass-media",
                "medical-devices-and-equipment",
                "mental-health",
                "metals-and-mining",
                "military",
                "museums",
                "music",
                "nanotechnology",
                "newspapers",
                "nonprofit-organizations",
                "oil-and-gas",
                "online-services",
                "outsourcing",
                "packaging-and-containers",
                "performing-arts",
                "pharmaceuticals",
                "photography",
                "plastics-and-polymers",
                "political-organizations",
                "printing",
                "public-policy",
                "public-relations",
                "public-safety",
                "public-utility",
                "publishing",
                "real-estate",
                "recreational-facilities",
                "recruitment-and-staffing",
                "reference",
                "religion-and-belief",
                "renewable-energy",
                "restaurants",
                "retail",
                "science",
                "security-products-and-services",
                "social-and-charitable-organizations",
                "sporting-goods",
                "sports",
                "telecom",
                "textiles-and-nonwovens",
                "tobacco",
                "training-and-certification",
                "transportation-and-logistics",
                "travel-and-tourism",
                "tv-and-movies",
                "venture-capital",
                "veterinary",
                "visual-art",
                "warehousing",
                "wellness",
                "wholesalers-and-liquidators",
                "wine-and-spirits",
                "writing-and-editing-services"
              ],
              "enumTitles": [
                "Accounting & Auditing",
                "Adult",
                "Advertising & Marketing",
                "Aerospace & Defense",
                "Agriculture",
                "Airlines",
                "Apparel & Fashion",
                "Architecture",
                "Automotive",
                "Banking",
                "Beauty & Cosmetics",
                "Biotech",
                "Ceramics & Pottery",
                "Chemicals",
                "Civil Engineering",
                "Comics & Animation",
                "Computer & Video Games",
                "Computer Hardware",
                "Computer Software & Development",
                "Computers & Electronics",
                "Construction & Maintenance",
                "Consulting",
                "Consumer Electronics",
                "Crafts",
                "Customer Services",
                "Design",
                "Distance Learning",
                "Ecology & Environment",
                "Education",
                "Entertainment",
                "Equipment & Supplies",
                "Events Services",
                "Facilities Services",
                "Farms & Ranches",
                "Finance",
                "Fishery",
                "Food & Beverages",
                "Foreign Language",
                "Furniture",
                "Gambling",
                "Government",
                "Graphic Design",
                "Healthcare",
                "Hospitality",
                "Human Resources",
                "Import & Export",
                "Information Technology",
                "Insurance",
                "Investment",
                "Jewelry & Luxury Products",
                "Legal",
                "Libraries",
                "Machinery",
                "Mail & Package Delivery",
                "Manufacturing",
                "Maritime",
                "Market Research",
                "Mass Media",
                "Medical Devices & Equipment",
                "Mental Health",
                "Metals & Mining",
                "Military",
                "Museums",
                "Music",
                "Nanotechnology",
                "Newspapers",
                "Nonprofit Organizations",
                "Oil & Gas",
                "Online Services",
                "Outsourcing",
                "Packaging & Containers",
                "Performing Arts",
                "Pharmaceuticals",
                "Photography",
                "Plastics & Polymers",
                "Political Organizations",
                "Printing",
                "Public Policy",
                "Public Relations",
                "Public Safety",
                "Public Utility",
                "Publishing",
                "Real Estate",
                "Recreational Facilities",
                "Recruitment & Staffing",
                "Reference",
                "Religion & Belief",
                "Renewable Energy",
                "Restaurants",
                "Retail",
                "Science",
                "Security Products & Services",
                "Social & Charitable Organizations",
                "Sporting Goods",
                "Sports",
                "Telecom",
                "Textiles & Nonwovens",
                "Tobacco",
                "Training & Certification",
                "Transportation & Logistics",
                "Travel & Tourism",
                "Tv & Movies",
                "Venture Capital",
                "Veterinary",
                "Visual Art",
                "Warehousing",
                "Wellness",
                "Wholesalers & Liquidators",
                "Wine & Spirits",
                "Writing & Editing Services"
              ]
            }
          },
          "onlyCountries": {
            "title": "Only these main countries",
            "type": "array",
            "description": "Keep only websites whose main country (where most visits come from, by Semrush) is one of these two-letter codes, e.g. US, GB, DE.",
            "items": {
              "type": "string"
            }
          },
          "monitorMode": {
            "title": "Monitor mode",
            "type": "boolean",
            "description": "Only deliver (and charge) what is new or changed since the last run with the same monitor name: a website or competitor when Semrush's data month, visits, Authority Score, organic traffic, backlinks, referring domains or global rank changed (with the changes since the last run), a top-websites row when it is new to the ranking or moved.",
            "default": false
          },
          "monitorOutput": {
            "title": "Monitor output",
            "enum": [
              "changes",
              "new",
              "all"
            ],
            "type": "string",
            "description": "What a monitor run delivers.",
            "default": "changes"
          },
          "monitorStoreName": {
            "title": "Monitor name",
            "type": "string",
            "description": "Named key-value store holding what earlier runs delivered. Give each schedule its own name.",
            "default": "semrush-monitor"
          },
          "maxItems": {
            "title": "Max rows",
            "minimum": 0,
            "type": "integer",
            "description": "Rows for the whole run, all kinds together (0 = no limit).",
            "default": 300
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Pages read in parallel.",
            "default": 8
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Optional. By default the actor reads directly and climbs to Apify datacenter, then residential, only when a route is refused. Set your own proxy to use it first."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}