如何檢查網站使用的 CMS 及技術堆疊,從單一網站到 1,000 個網站
What CMS is that website using? How to check a site's tech stack (one site or 1,000)
指南介紹手動檢查單一網站 CMS 與技術堆疊,以及用 Apify 上的 Website Tech Stack Detector 批次分析網站清單。分析結果可匯出 CSV 或 Excel,涵蓋 CMS、電商平台、分析工具、框架、CDN、主機等,亦可選擇偵測電郵供應商。
"What is this site built on?" comes up all the time. An agency wants to know which prospects run WooCommerce before pitching a WooCommerce service. A SaaS team selling a Shopify app wants every Shopify store in a list of 800 domains. A developer inherits 40 client sites and needs to know what's on them before a migration.
This guide covers two ways to answer it:
- Check one site by hand, for free, with a terminal and your browser.
- Check a whole list of sites in one go and get one spreadsheet row per site: CMS, ecommerce platform, analytics, frameworks, CDN, hosting and, optionally, the email provider.
Disclosure: I built the tool used in part 2, the Website Tech Stack Detector on Apify, at Wisekit. It costs $0.002 per site analysed. It is not affiliated with any of the technologies it detects.
Part 1: Check one site by hand
A website gives away a lot about itself in what it sends to every visitor. Three places to look:
1. Response headers. Some servers and platforms name themselves in headers such as server, x-powered-by or a platform-specific header:
curl -sI https://www.python.org | grep -iE "^(server|x-powered-by|via|x-)"
2. The page source. Open the homepage, press Ctrl+U (Cmd+Option+U on a Mac) and search for:
-
<meta name="generator": many CMSs print their own name and version here. - Script and stylesheet addresses:
/wp-content/points to WordPress,cdn.shopify.comto Shopify. - Analytics and tag manager snippets:
gtag(,googletagmanager.com,fbq(.
3. DNS, for the email provider. The domain's MX records say who handles its email:
dig +short MX python.org
Mail hosts ending in google.com usually mean Google Workspace; mail.protection.outlook.com usually means Microsoft 365.
What you see depends on the site and the day, so your results may differ. This is fine for one or two sites. For a list of 200 it's a day of copy and paste, and you have to know thousands of patterns by heart.
Part 2: Check a whole list of sites
Step 1: See the output for free
Open the Website Tech Stack Detector on Apify (a free account is enough), turn on Free demo under Options and click Start. You get five fictional sample rows (a WordPress shop, a Shopify store, a Next.js app, a site whose robots.txt says no and a site that blocks automated requests). Nothing is requested and nothing is charged, so you can see every column first.
Step 2: Paste your sites
Turn the demo off and paste websites into Websites, one per line. Bare domains or full URLs both work; only the homepage is read, and www. duplicates are merged:
python.org
shopify.com
wordpress.org
Tick Also detect the email provider if you want it: one DNS lookup of the domain's MX records, no extra request to the website and no extra cost.
Set Max sites to analyse if you want a hard cap on what one run can spend.
Step 3: Read and export the results
Each site becomes one row with:
-
cmsandecommercePlatformas single values you can filter on (for example WordPress, Webflow, Shopify, WooCommerce). - Lists for
analytics,tagManagers,frameworks,cdn,hosting,webServers,paymentProcessorsandmarketingAutomation. -
technologies: every technology found, with its categories, the version when the page shows one, and a confidence from 0 to 100. - With the email option on:
emailProvider,emailSecurityGatewayand up to 5mxHosts. Never an email address.
Open the Tech stacks view, filter on ecommercePlatform = Shopify, and export as CSV or Excel. That's your list of Shopify prospects, with their analytics next to them.
Or call it from code
The API has an endpoint that starts a run, waits for it (up to 5 minutes) and returns the rows. With curl:
curl -s -X POST \
"https://api.apify.com/v2/acts/wisekit~tech-stack-detector/run-sync-get-dataset-items" \
-H "Authorization: Bearer $APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"urls": ["python.org", "shopify.com"], "includeEmailProvider": true}'
And a small Python script that turns a prospect list into a CSV (pip install requests):
import csv
import os
import requests
sites = ["python.org", "shopify.com", "wordpress.org"]
resp = requests.post(
"https://api.apify.com/v2/acts/wisekit~tech-stack-detector/run-sync-get-dataset-items",
headers={"Authorization": f"Bearer {os.environ['APIFY_TOKEN']}"},
json={"urls": sites, "includeEmailProvider": True},
timeout=330,
)
resp.raise_for_status()
with open("tech-stacks.csv", "w", newline="") as f:
w = csv.writer(f)
w.writerow(["url", "status", "cms", "ecommerce", "analytics", "email"])
for row in resp.json():
w.writerow([
row["url"],
row["status"],
row.get("cms") or "",
row.get("ecommercePlatform") or "",
", ".join(row.get("analytics") or []),
row.get("emailProvider") or "",
])
Rows with a status other than ok (blocked, unreachable, robots.txt says no) are still in the file, so you can see which sites gave no answer and why. For lists that take longer than 5 minutes, start the run with POST /v2/acts/wisekit~tech-stack-detector/runs and read the dataset when it finishes.
n8n, Make and AI agents
-
n8n: an HTTP Request node,
POSTto the samerun-sync-get-dataset-itemsURL, Header AuthAuthorization: Bearer <token>, and a JSON body like the curl example. Each site comes back as one n8n item, ready to write back to a CRM or a Google Sheet. -
AI agents: add Apify's MCP server with
https://mcp.apify.com?tools=wisekit/tech-stack-detectorin Claude, Cursor or any MCP client (it asks you to sign in to Apify or use your API token, because running an Actor needs an account), then ask something like "Which of these 20 shops run Shopify, and what analytics do they use?"
What it costs
$0.002 per site analysed, charged only when the homepage was read and at least one technology was found. No start fee. Blocked, unreachable, robots-disallowed and empty sites are free, and so is the demo.
| Example | Cost |
|---|---|
| 500 prospect sites, 460 read, 40 blocked or unreachable | 460 × $0.002 = $0.92 |
| Monthly check of 50 client sites | 50 × $0.002 = $0.10 a run |
On Apify's free plan a run analyses up to 10 sites.
How it treats the sites
It reads robots.txt and the homepage, nothing else, and obeys robots.txt. One request at a time per site, at least a second apart, with an honest User-Agent. No proxies, no browser, no logins. If a site refuses or shows a bot check, it stops there (free) and doesn't try to get around it. Rows hold technology names only: no page text, no cookie values, no names, emails or phone numbers.
Limits, honestly
- Homepage only. A tool used only on the checkout or a logged-in area won't show up.
- No browser. Technologies that only appear after JavaScript runs in a browser are missed. The fingerprints come from the open-source webappanalyzer project; about 6,600 of its roughly 7,700 technologies can be recognised without a browser.
-
Sites can hide or fake their signs. Treat the result as what the homepage publicly shows, not an audit.
confidencebelow 100 means only a weaker sign was found. -
Some sites block automated requests. Those come back as
blocked, free. Expect a share of any big list to do this.
If you try it on your own list and a detection looks wrong, I'd like to hear about it: leave a comment or open an issue on the Actor page.
來源:DEV Community · dev.to