{
  "openapi": "3.0.1",
  "info": {
    "title": "[PRO] Similarweb Traffic: Keywords, Backlinks, Ads",
    "description": "Pro-level Similarweb scraper for any public domain or URL: when Similarweb has data, one row links a JSON and a CSV file for each report you pick from 27, covering traffic, channels, audience, similar sites, organic and paid keywords, landing pages, chatbot referrals, backlinks, ads and social.",
    "version": "1.0",
    "x-build-id": "npLQSFcToeWj2Jlca"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/agentx~similarweb-pro-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-agentx-similarweb-pro-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/agentx~similarweb-pro-scraper/runs": {
      "post": {
        "operationId": "runs-sync-agentx-similarweb-pro-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/agentx~similarweb-pro-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-agentx-similarweb-pro-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",
        "required": [
          "website",
          "reports"
        ],
        "properties": {
          "website": {
            "title": "🌐 Website",
            "pattern": "^\\s*(?:[Hh][Tt][Tt][Pp][Ss]?://)?(?:[wWｗＷ]{3}[.。．｡]|(?![wWｗＷ]{3}[.。．｡]))(?=[^:/?#\\s]{1,253}[.。．｡]*(?:[:/?#]|\\s*$))(?=[^.。．｡:/?#\\s]+[.。．｡][^.。．｡:/?#\\s])(?![^:/?#\\s]*[.。．｡](?:[lLｌＬ][oOｏＯ][cCｃＣ][aAａＡ][lLｌＬ](?:[hHｈＨ][oOｏＯ][sSｓＳ][tTｔＴ])?|[iIｉＩ][nNｎＮ][tTｔＴ][eEｅＥ][rRｒＲ][nNｎＮ][aAａＡ][lLｌＬ]|[tTｔＴ][eEｅＥ][sSｓＳ][tTｔＴ]|[iIｉＩ][nNｎＮ][vVｖＶ][aAａＡ][lLｌＬ][iIｉＩ][dDｄＤ]|[0-9０-９－-]+)[.。．｡]*(?:[:/?#]|\\s*$))(?:(?![-－])(?:[A-Za-zＡ-Ｚａ-ｚ0-9０-９]|[^\\x00-\\x9F\\s。！-～｡\\uD800-\\uF8FF]|[-－](?![:/?#.\\s。．｡]|$)){1,63}(?:[.。．｡]|(?=(?:[:/?#]|\\s*$))))+[.。．｡]*(?::[0-9]+)?(?:[/?#]\\S*)?\\s*$",
            "type": "string",
            "description": "Enter one public website domain or URL, such as apify.com. Website URLs are normalized to their domain with a leading www. removed; the result website field uses that normalized domain."
          },
          "reports": {
            "title": "📊 Reports",
            "minItems": 1,
            "type": "array",
            "description": "Select one or more of the 27 report pages. Each selection groups related sections in one website result. Each paginated section returns up to max_items distinct source entries per reporting period, in source order; daily backlink series start with the newest day. Available reports have JSON and CSV download links. Most dated sections cover the last 6 complete months ending at Similarweb's latest-data month; similar sites and search competitors cover the last 3; the daily backlink trend and changes run from the first day of the same month one year earlier through the latest backlink data day. Detailed pages can take longer. Start with traffic_engagement, social and display_campaigns.",
            "items": {
              "type": "string",
              "enum": [
                "website_performance",
                "similar_sites",
                "traffic_engagement",
                "marketing_channels",
                "audience",
                "search_overview",
                "referral",
                "advertiser_overview",
                "publisher_overview",
                "social",
                "seo_overview",
                "keywords",
                "keyword_clusters",
                "landing_pages",
                "search_competitors",
                "ranking_distribution",
                "ai_traffic",
                "paid_keywords",
                "paid_landing_pages",
                "search_ads",
                "display_campaigns",
                "display_ads",
                "display_publishers",
                "advertiser_activity",
                "backlinks_overview",
                "referring_domains",
                "backlinks"
              ],
              "enumTitles": [
                "website_performance",
                "similar_sites",
                "traffic_engagement",
                "marketing_channels",
                "audience",
                "search_overview",
                "referral",
                "advertiser_overview",
                "publisher_overview",
                "social",
                "seo_overview",
                "keywords",
                "keyword_clusters",
                "landing_pages",
                "search_competitors",
                "ranking_distribution",
                "ai_traffic",
                "paid_keywords",
                "paid_landing_pages",
                "search_ads",
                "display_campaigns",
                "display_ads",
                "display_publishers",
                "advertiser_activity",
                "backlinks_overview",
                "referring_domains",
                "backlinks"
              ]
            }
          },
          "max_items": {
            "title": "📊 Max Items",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum distinct source entries per paginated section and reporting period, in source order; daily backlink series keep the newest days. 100 when left empty; the form starts at 1. Enter any positive integer to request more or fewer entries."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}