Home / API docs / Link Analyzer API
SEO & Publishing

Link Analyzer API

GET /api/seo/links $0.01 per call USDC on Base · x402

Internal-link analyzer for one page: internal vs external counts, nofollow/sponsored/ugc usage, empty and generic anchors, target=_blank without noopener, most-repeated links, and top internal anchor texts. ?url=

Parameters

NameInDescription
urlqueryrequiredPublic URL of the page to analyze

Example request

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

Example response

{
    "total_links": 87,
    "internal": 54,
    "external": 33,
    "rel": {
        "nofollow": 12,
        "sponsored": 0,
        "ugc": 0
    },
    "generic_anchors": [
        "read more"
    ],
    "top_internal_anchor_texts": [
        {
            "text": "pricing",
            "count": 4
        }
    ]
}
MCP tool: get_seo_links — 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.