Web data & toolsTech Stack
Tech Stack Lookup API: Detect the Technologies Behind Any Website
Tech stack lookup API guide: detect a website's CMS, e-commerce platform, analytics, payments and email provider from HTML, headers and DNS, in Python.
Knowing what a website runs on answers a surprising number of business questions. A sales team selling a Shopify app wants every Shopify store in a list of 5,000 domains. An agency wants to know whether a prospect is on WordPress before the first call. A security team wants to find the sites still exposing an old CMS version. A browser extension answers the question one tab at a time, which works for one site and does not scale to a spreadsheet.
A tech stack lookup API answers it from code: send a URL, get back the CMS, e-commerce platform, frameworks, analytics, payments, CDN, email provider and SaaS tools, each with its category and the evidence behind it. This article explains how that detection works without a browser, what its signals can and cannot prove, and how to use the Website Technology Detector to enrich a list of leads and track stack changes over time.
How website technology detection works
Most software leaves traces in what a server sends back. Detection is the job of matching those traces against a database of fingerprints: patterns that say "a <meta name="generator" content="WordPress 7.3"> tag means WordPress, version 7.3" or "a cookie named _shopify_y means Shopify".
The API matches each site against an open, community-maintained database of 7,000+ technology fingerprints, the format popularised by Wappalyzer. One call reads one page plus the domain's public DNS records, and checks these signals:
| Signal | Example of what it reveals |
|---|---|
| HTML and DOM selectors | Page builders, themes, widget markup |
<meta> tags |
generator tags with CMS names and versions |
| Script URLs and inline scripts | Analytics, tag managers, chat widgets, payment SDKs |
| HTTP headers | Web server, CDN, reverse proxy, HSTS, framework headers |
| Cookies | E-commerce platforms, session frameworks, consent tools |
| DNS: MX | The email provider (Microsoft 365, Google Workspace) |
| DNS: TXT | SPF senders and domain verification records of SaaS tools |
| DNS: NS | DNS hosting (Route 53, Cloudflare) |
Two rules complete the picture. Implies: some technologies imply others, so WordPress adds PHP and MySQL even when neither shows on the page. Excludes: some fingerprints rule each other out, so a conflict does not leave two CMSs in the result.
Why the regex engine matters
Fingerprint patterns are regular expressions written by a community, and they run against HTML written by strangers. That combination is a classic ReDoS setup: a backtracking regex engine can take exponential time on a crafted input. The API runs every pattern on RE2, a linear-time engine, matches each signal family in a single pass, and only re-runs the patterns that hit to read a version. The few patterns RE2 cannot compile (lookarounds, back-references) are skipped. The result is bounded time per page: our calls took 3 to 5 seconds, most of it fetching the page and resolving DNS.
Look up a website's tech stack with Python
The endpoint takes one parameter, url; a bare domain works too. The examples use Python and requests; the API reference documents every field.
import requests
HOST = "website-technology-detector-tech-stack-lookup.p.rapidapi.com"
API = f"https://{HOST}"
HEADERS = {"x-rapidapi-key": "YOUR_API_KEY", "x-rapidapi-host": HOST}
response = requests.get(
f"{API}/v1/tech/lookup",
headers=HEADERS,
params={"url": "https://wordpress.org/news/"},
timeout=60,
)
response.raise_for_status()
stack = response.json()
for tech in stack["technologies"]:
print(tech["name"], tech.get("version", ""), tech["detected_from"])
The real response, trimmed to 6 of the 12 technologies:
{
"url": "https://wordpress.org/news/",
"final_url": "https://wordpress.org/news/",
"count": 12,
"technologies": [
{
"name": "WordPress",
"categories": ["CMS", "Blogs"],
"version": "7.3",
"confidence": 100,
"detected_from": ["page"],
"website": "https://wordpress.org"
},
{ "name": "MySQL", "categories": ["Databases"], "confidence": 100, "detected_from": ["implied"] },
{ "name": "PHP", "categories": ["Programming languages"], "confidence": 100, "detected_from": ["implied"] },
{ "name": "HSTS", "categories": ["Security"], "confidence": 100, "detected_from": ["headers"] },
{ "name": "Nginx", "categories": ["Web servers", "Reverse proxies"], "confidence": 100, "detected_from": ["headers"] },
{ "name": "Jetpack", "categories": ["WordPress plugins"], "confidence": 100, "detected_from": ["page"] }
],
"by_category": {
"CMS": ["WordPress"],
"Databases": ["MySQL"],
"Programming languages": ["PHP"],
"Tag managers": ["Google Tag Manager"],
"Web servers": ["Nginx"],
"WordPress plugins": ["Jetpack"]
}
}
The version comes from the page itself; PHP and MySQL are marked implied, because WordPress requires them and nothing on the page shows them directly. The full response also carries an icon and a one-line description for each technology, useful for a UI.
Reading the response
| Field | Meaning |
|---|---|
final_url |
The page actually analysed, after redirects. Compare it with url |
technologies[].version |
Present only when the site exposes it |
technologies[].confidence |
0 to 100; some fingerprints are deliberately weaker signals |
technologies[].detected_from |
page, headers, cookies, dns or implied |
by_category |
Names grouped by category, ready for filters and spreadsheet columns |
Empty fields are left out, so read version with .get().
DNS signals: the email provider and the SaaS tools a company pays for
The page tells you what a site is built with. The domain's DNS records tell you something different: which services the company runs on. Here is the by_category map for an online shoe retailer, from a real call on allbirds.com:
{
"url": "https://www.allbirds.com",
"final_url": "https://www.allbirds.com/",
"count": 14,
"by_category": {
"Artificial Intelligence": ["Cursor"],
"CDN": ["Cloudflare"],
"Ecommerce": ["Shopify"],
"Email": ["Microsoft 365"],
"Miscellaneous": ["DocuSign", "HTTP/3", "Miro", "Open Graph"],
"Payment processors": ["Apple Pay", "PayPal"],
"Tag managers": ["Google Tag Manager"],
"Webmail": ["Apple iCloud Mail", "Microsoft 365"]
}
}
Shopify, the payment buttons and Google Tag Manager come from the page; Cloudflare comes from the headers. Microsoft 365, Cursor, DocuSign and Miro all carry "detected_from": ["dns"]. They come from three kinds of records:
- MX records name the servers that receive the domain's mail. Microsoft 365 tenants point to
*.mail.protection.outlook.com, Google Workspace to Google's mail servers. This is the most reliable way to know a company's email provider. - SPF records (a TXT record, RFC 7208) list the services allowed to send mail for the domain, through
include:mechanisms: a marketing platform, a helpdesk, a CRM. - Domain verification records are TXT records a SaaS vendor asks its customers to publish to prove they own the domain. The response explains Cursor's: "The cursor-domain-verification TXT record confirms domain ownership for Cursor services."
On some domains DNS is most of the answer. A real lookup of stripe.com returned 26 technologies, and 21 of them came from DNS (OpenAI, Anthropic, Salesforce, Atlassian Cloud, Postman, HackerOne, Google Workspace and more), while the page itself contributed only two.
Read these with care. A verification record proves that someone at the company opened an account with the vendor at some point; it does not prove the tool is in daily use or that it touches the website. That is why detected_from exists: for lead scoring, a page detection of a checkout tool and a dns detection of a design tool are different kinds of evidence, and the field lets you weight them. Categories come from the open fingerprint database and can be broad (DocuSign sits in "Miscellaneous").
Enrich a list of leads with their tech stack
The common job is a CSV of domains in, a CSV with stack columns out. Credits are one per website, failed sites are not billed, and a few parallel requests keep the run short:
import csv
import time
from concurrent.futures import ThreadPoolExecutor
import requests
HOST = "website-technology-detector-tech-stack-lookup.p.rapidapi.com"
API = f"https://{HOST}"
HEADERS = {"x-rapidapi-key": "YOUR_API_KEY", "x-rapidapi-host": HOST}
COLUMNS = {
"cms": "CMS",
"ecommerce": "Ecommerce",
"payments": "Payment processors",
"email": "Email",
"tag_managers": "Tag managers",
"cdn": "CDN",
}
class DailyLimitReached(Exception):
pass
def lookup(domain: str, attempts: int = 2) -> dict:
for attempt in range(attempts):
try:
r = requests.get(
f"{API}/v1/tech/lookup",
headers=HEADERS,
params={"url": domain},
timeout=60,
)
except (requests.Timeout, requests.ConnectionError):
time.sleep(3 * (attempt + 1))
continue
if r.status_code == 429:
raise DailyLimitReached(r.text) # resets at 00:00 UTC
if r.status_code == 400: # site_unreachable, site_blocked, not_html: free
return {"error": r.json()["error"]["code"]}
r.raise_for_status()
return r.json()
return {"error": "timeout"}
def row(domain: str, result: dict) -> dict:
if "error" in result:
return {"domain": domain, "error": result["error"]}
cats = result["by_category"]
out = {"domain": domain, "count": result["count"], "error": ""}
for column, category in COLUMNS.items():
out[column] = "; ".join(cats.get(category, []))
return out
with open("domains.txt", encoding="utf-8") as f:
domains = [line.strip() for line in f if line.strip()]
with ThreadPoolExecutor(max_workers=4) as pool:
results = list(pool.map(lookup, domains))
with open("stacks.csv", "w", newline="", encoding="utf-8") as out:
writer = csv.DictWriter(
out, fieldnames=["domain", "count", *COLUMNS, "error"], restval=""
)
writer.writeheader()
for domain, result in zip(domains, results):
writer.writerow(row(domain, result))
From there, segmentation is a filter. Shopify stores on Microsoft 365, WordPress sites without a tag manager, stores whose payments column lacks your competitor: each is one line in pandas or a spreadsheet. Once you have qualified the accounts, the Website Contact Finder finds their public contact pages, and the email verification walkthrough cleans the addresses before they reach a CRM.
Track stack changes over time
A stack changes when a company migrates platforms, replaces its analytics or adds a chat tool, and each change is a sales trigger. Store the names per domain per run and diff them:
def stack_diff(previous: set[str], current: set[str]) -> dict:
return {
"added": sorted(current - previous),
"removed": sorted(previous - current),
}
before = {"WordPress", "PHP", "MySQL", "Nginx", "Jetpack"}
after = {t["name"] for t in stack["technologies"]}
print(stack_diff(before, after))
Monthly runs are usually enough; a migration does not happen overnight. Alert on removed for the category you sell into: a site dropping its CMS or e-commerce platform is either migrating or rebuilding.
Production notes
- Retry the network, not the site. A 400
site_blockedornot_htmlis deterministic and free; retrying changes nothing. A timeout on your side deserves one more try. - Watch
final_url. Parked domains and redirects to a marketplace profile happen often in lead lists. Iffinal_urlpoints to another domain, you analysed that domain. - Analyse the right page. Detection reads the URL you give, after redirects. A store's checkout scripts are often on product pages rather than the home page, so try one product URL when the home page looks thin.
- Keep the evidence. Store
detected_fromwith each detection; it is what lets a salesperson tell a prospect "your site runs X" rather than "your DNS mentions X".
For the email side of a domain (SPF, DKIM, DMARC, SSL), the DNS Lookup & Email Security API audits the records instead of fingerprinting them.
Bulk lookups without code on Apify
The same engine runs as an Apify Actor, Website Technology Detector - Tech Stack Lookup. Paste websites, or the dataset ID of another actor's run (a Google Maps or lead scraper, for example), and get one row per site with ready-made columns: cms, ecommerce, frameworks, analytics, advertising, payments, hosting, email, marketing, plus the full details. It costs $0.0012 per website analysed, sites that cannot be read are listed with their error and not charged, and the Apify free plan covers 25 websites per run.
What it costs
One credit per website, whatever the number of technologies found. Failed calls cost nothing.
| Plan | Price per month | Credits | In practice |
|---|---|---|---|
| BASIC | Free | 10 per day | 10 websites a day to test |
| PRO | $3.99 | 10,000 | about $0.0004 per website |
| ULTRA | $9.99 | 30,000 | about $0.00033 per website |
| MEGA | $29.99 | 100,000 | about $0.0003 per website |
Beyond the monthly quota, paid plans continue at $0.004 per credit. A list of 5,000 domains fits in one PRO month with room to re-check the ones that failed.
What the tech stack lookup API does not do
- No JavaScript execution. It reads what the server sends. Tools injected only by client-side code, and fingerprints based on JavaScript globals, need a real browser; on heavily client-rendered sites a browser extension can find a few more.
- One page per call. It does not crawl. The home page and a product page of the same store can give different results.
- No history. It tells you what a site runs today. Keep your own snapshots to see changes.
- DNS is not usage. A verification or SPF record shows an account, not how much the tool is used.
- Versions only when exposed. Many sites strip
generatortags and version strings from asset URLs. - No bot walls or logins. A site answering with a block page returns
400 site_blocked, unbilled. - No traffic, revenue or contact data. It describes technology, not the company.
- Coverage is the fingerprint database. In-house tools and very new products are invisible until someone writes their fingerprint.
Frequently asked questions
How do I find out what technology a website uses?
Check the page source for generator meta tags and script URLs, the HTTP response headers, the cookies and the domain's DNS records, and compare them with known fingerprints. A tech stack lookup API does all of that in one call: GET /v1/tech/lookup?url=example.com returns every technology found with its category and evidence.
Is this a Wappalyzer alternative?
It uses the same kind of open fingerprint database, run server-side through an API, for lists of sites rather than one tab at a time. It also reads the domain's DNS records, which a check of the page alone misses. Extensions run the page's JavaScript, so they can catch a few client-side tools this API misses.
How can I find a company's email provider from its domain?
Look up the domain's MX records: Microsoft 365 and Google Workspace each use recognisable mail servers. The API does this as part of every lookup and returns the provider under the Email category with detected_from: ["dns"].
Can it detect the WordPress version of a site?
When the site exposes it, yes: the version is read from the generator tag or versioned asset URLs, as in the "version": "7.3" above. Many hardened sites hide it, and then the API returns WordPress without a version rather than guessing.
How much does a tech stack lookup cost?
One credit per website: about $0.0004 on the $3.99 PRO plan, with 10 free lookups a day on BASIC. Sites that cannot be read are not billed.
Get started
Website Technology Detector API
Tech stack of any website: CMS, e-commerce, frameworks, analytics, ads, hosting, email provider.
- Tech Stack
- Lead Generation
- Web Development
- Python
- DNS




