Home / API docs / Website Platform Detection API
Web Content

Website Platform Detection API

GET /api/platform $0.002 per call USDC on Base · x402

What is this website built with? Deterministic fingerprinting from one fetch — like the old meta generator tag, but it works even when sites strip it. Detects WordPress, Shopify, Squarespace, Wix, Webflow, GoDaddy, Drupal, Joomla, Ghost, Magento, Next.js/Nuxt/Gatsby/Astro and other frameworks, static HTML, custom PHP — with the evidence for the verdict, the raw generator tag when present, and the server/CDN stack. No AI.

Parameters

NameInDescription
urlqueryrequiredPublic http(s) URL to fingerprint, e.g. https://example.com

Example request

curl "https://api.webbersites.com/api/platform?url=https%3A%2F%2Fexample.com"
# first call returns 402 + payment requirements; an x402 client pays and retries automatically

Example response

{
    "url": "https://example.com",
    "platform": "wordpress",
    "category": "cms",
    "confidence": "high",
    "evidence": [
        "wp-content / wp-includes asset paths",
        "meta generator: WordPress 6.5"
    ],
    "generator": "WordPress 6.5",
    "stack": {
        "server": "Apache",
        "powered_by": "PHP/8.4",
        "cdn": "cloudflare"
    }
}
MCP tool: get_platform — via npx -y webbersites-x402-mcp (local, key stays on your machine) or the remote endpoint https://api.webbersites.com/mcp.

How payment works

There is no signup and no API key. Call the endpoint; it replies 402 Payment Required with machine-readable payment requirements. Your client signs a USDC transfer authorization (EIP-3009, gasless) and retries with the X-PAYMENT header — @x402/fetch does this automatically. See the overview for a working snippet.