Skip to content

About

Tech stack detector template for Next.js: see the frameworks, hosting, analytics and services any website runs on. Deploy to Vercel in one click.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Tech Stack Detector | APIVerve Template

License: MIT Next.js TypeScript APIVerve | Tech Stack Detector

A tech stack scanner you can deploy in one click. Enter any website and see what it's built with: its CMS and frameworks, web server, analytics, tag managers, email and payment providers and more, grouped by category with a filter for each.

Deploy with Vercel

Tech Stack Detector showing the technologies behind wordpress.org, grouped by category


Get your free API key

This template needs an APIVerve API key. Sign up free, no credit card required.


Deploy in one click

Click Deploy with Vercel above. Vercel copies this repo to your GitHub account, asks for your APIVERVE_API_KEY, and gives you a live URL about a minute later.

Run it locally

git clone https://github.com/apiverve/tech-stack-detector-nextjs-tutorial.git
cd tech-stack-detector-nextjs-tutorial
npm install
cp .env.example .env   # then set APIVERVE_API_KEY in .env
npm run dev

Open http://localhost:3000. To see it in a phone and a browser frame side by side, open http://localhost:3000/showcase.html.

How it works

  1. components/StackApp.tsx is the page. It calls /api/detect?url=... with the site you enter, and ?url= in the page address opens on any site.
  2. app/api/detect/route.ts checks the input, then calls Tech Stack Detector. Your API key stays on the server and never reaches the browser. A site's stack rarely changes and each scan costs more credits than a simple lookup, so answers are cached for 6 hours. Cached answers don't count against the rate limit.
  3. The page groups the technologies by their main category, biggest groups first, with a filter chip per category and a coloured monogram for each technology.

Everything on the page works on a free key: every detected technology with its categories, confidence and website. Paid plans add version numbers, shown next to the name when present, and an optional full-render scan for sites that build their pages in JavaScript.

app/
  api/detect/route.ts   normalizes the address, then calls Tech Stack Detector
  layout.tsx
  page.tsx
  globals.css
components/
  StackApp.tsx          the page
lib/
  apiverve.ts           key, rate limit and cache helpers
public/
  showcase.html         phone and desktop demo frame

The API call

const res = await fetch('https://api.apiverve.com/v1/techstackdetector?url=' + encodeURIComponent('https://stripe.com'), {
  headers: { 'x-api-key': process.env.APIVERVE_API_KEY! }
});
const { data } = await res.json(); // data.technologies[].name, .categories

Before you share your URL

Once deployed, anyone who finds your URL can use it on your API key. Each visitor can make 10 uncached requests a minute, and repeat lookups come from the cache, which is fine for a demo. Both are kept in memory, so they aren't shared between serverless instances. For production:

  • Put the page behind your own sign-in, or
  • Move the limit and cache to a shared store such as Upstash Redis, or
  • Call the route only from your own backend.

Ideas to extend it

API reference

Tech stack

  • Next.js 16 (App Router) and React 19, in TypeScript
  • A Route Handler in app/api/ for the server side, so the key never reaches the browser
  • Deploys to Vercel as-is, with no configuration

License

MIT. See LICENSE.

About

Tech stack detector template for Next.js: see the frameworks, hosting, analytics and services any website runs on. Deploy to Vercel in one click.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages