{
  "openapi": "3.0.1",
  "info": {
    "title": "Website Tech Stack: Reverse Search & Changes (HTTP Archive)",
    "description": "Which websites use a technology (reverse search by popularity), what technologies a site added or removed month to month, and the full stack of any domain in the crawl. Real-browser detection by the HTTP Archive on desktop and mobile, no live crawling, no contact data. API and AI-agent (MCP) ready.",
    "version": "0.1",
    "x-build-id": "RDkhmtQ7ze4EfaDKv"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/pracadata~website-tech-stack/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-pracadata-website-tech-stack",
        "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/pracadata~website-tech-stack/runs": {
      "post": {
        "operationId": "runs-sync-pracadata-website-tech-stack",
        "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/pracadata~website-tech-stack/run-sync": {
      "post": {
        "operationId": "run-sync-pracadata-website-tech-stack",
        "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": {
          "mode": {
            "title": "Mode",
            "enum": [
              "reverse",
              "changes",
              "lookup",
              "adoption"
            ],
            "type": "string",
            "description": "What to return. `reverse` needs `technologies` or `categories`. `changes` takes `domains` and/or `technologies`. `lookup` needs `domains`. `adoption` takes `technologies` and/or `categories`. Default: lookup (three example domains).",
            "default": "lookup"
          },
          "domains": {
            "title": "Domains",
            "type": "array",
            "description": "`lookup` and `changes`. Domains or URLs (`example.com`, `www.example.com`, `https://shop.example.co.uk/page` all work). They are matched by registrable domain: `lookup` returns one row per domain, merging every origin of that domain in the crawl (`www.`, `shop.`...; listed in `origin_urls`), charged once. Sites on a shared platform (`name.blogspot.com`, `name.github.io`) belong to the platform's domain. Up to 10,000 per run. A domain not in the snapshot, or with no technology detected, is not charged and is listed in `RUN_SUMMARY.not_found`. In `changes` the three example domains that come pre-filled are ignored: list your own.",
            "items": {
              "type": "string"
            },
            "default": [
              "shopify.com",
              "wordpress.org",
              "nytimes.com"
            ]
          },
          "technologies": {
            "title": "Technologies",
            "type": "array",
            "description": "`reverse`, `changes` and `adoption`. Technology names as the HTTP Archive detects them, case-insensitive (`Shopify`, `WordPress`, `Klaviyo`, `Google Tag Manager`, `Cloudflare`). An unknown name is refused with the closest matches. Up to 20.",
            "items": {
              "type": "string"
            }
          },
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "`reverse` and `adoption`. Technology categories, case-insensitive (`Ecommerce`, `CMS`, `Analytics`, `Tag managers`, `CDN`, `JavaScript frameworks`, `Payment processors`). Combined with `technologies` as OR. Up to 10. In `reverse` with `rank_max` above 1,000,000 a run reads at most 25 technologies (each one is read from external storage).",
            "items": {
              "type": "string"
            }
          },
          "rank_max": {
            "title": "Popularity: top N sites",
            "minimum": 1000,
            "maximum": 50000000,
            "type": "integer",
            "description": "Popularity: only websites in the top N by Chrome UX Report rank. Buckets: 1,000; 5,000; 10,000; 50,000; 100,000; 500,000; 1M; 5M; 10M; 50M (a value in between is rounded down to a bucket). `reverse` and `changes`: every website up to that bucket. `adoption`: the cumulative figure for exactly that bucket (top N). Default: all (50M).",
            "default": 50000000
          },
          "min_confidence": {
            "title": "Detection confidence",
            "enum": [
              "any",
              "both_clients"
            ],
            "type": "string",
            "description": "`both_clients`: only technologies detected by both the desktop and the mobile crawl (and, in `changes`, only changes both clients agree on). `any`: either client. Default: `both_clients` in `changes` (single-client changes reverse in the next month 15.6% of the time, both-client ones 4.3%) and `any` in `lookup` and `reverse`."
          },
          "month": {
            "title": "Crawl month",
            "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])$",
            "type": "string",
            "description": "`lookup`, `reverse` and `adoption`: crawl month, YYYY-MM. Default: the latest crawl (`RUN_SUMMARY.latest_crawl`). `lookup` keeps the 3 most recent crawls; `reverse` only the latest; `adoption` has the full history (all months when empty)."
          },
          "since_month": {
            "title": "Changes since",
            "pattern": "^[0-9]{4}-(0[1-9]|1[0-2])$",
            "type": "string",
            "description": "`changes` only: first month to return (the `month_to` of the change), YYYY-MM. Default: the latest month only."
          },
          "change_types": {
            "title": "Change types",
            "type": "array",
            "description": "`changes` only. Default: `added` and `removed`. `removed` means \"not detected in this crawl\", not \"uninstalled\". `entered_crawl`/`left_crawl` say a website appeared in or disappeared from the crawl, which is not the same as adding or removing a technology (they cannot be combined with `technologies`).",
            "items": {
              "type": "string",
              "enum": [
                "added",
                "removed",
                "version_changed",
                "entered_crawl",
                "left_crawl"
              ],
              "enumTitles": [
                "Technology added",
                "Technology removed",
                "Version changed",
                "Website entered the crawl",
                "Website left the crawl"
              ]
            },
            "default": [
              "added",
              "removed"
            ]
          },
          "include_versions": {
            "title": "Include versions",
            "type": "boolean",
            "description": "Add the detected versions (best effort, from what the page exposes) to each technology or change. Does not change the price.",
            "default": true
          },
          "max_rows": {
            "title": "Maximum results",
            "minimum": 1,
            "maximum": 1000000,
            "type": "integer",
            "description": "Maximum number of results (rows) returned and charged. Default 1,000. Set a small value (for example 10) to test a query. If more rows match, `RUN_SUMMARY.capped_by_max_rows` is true.",
            "default": 1000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}