Skip to content
OSINTtools.io

PublicWWW API

Search engine for website source code: find sites sharing an analytics ID, script, widget or any HTML, JS or CSS snippet.

Base URL
https://api.publicwww.com/v1
Sign-in
Bearer token
Free tier
Paid only
Pricing
Subscription
Format
REST, Bulk files
Endpoints
1

Compiled by OSINTtools.io editors from publicwww.com · updated Nov 29, 2026Work on this API? Claim it to keep these docs currentReport a mistake

Introduction

PublicWWW searches the source code of web pages. The API returns the sites whose HTML, JavaScript or CSS match a query, with rank and optional matching snippets. Investigators use it to find sites sharing a tracking ID, script or other code fragment.

Calls go to https://api.publicwww.com/v1 with the key as an Authorization: Bearer token; a ?key= parameter is rejected with 401. Tokens are created at your profile page.

Searches and clusters need a paid plan; a free account's token can only read /v1/account (plan, quota and limits). The API also has /v1/clusters and an MCP endpoint, not covered here. An OpenAPI 3.1 description is at /openapi.json.

Quick start

  1. Get a key

    Create an account with PublicWWW and copy your bearer token (paid only). Where to get it

  2. Make your first request

    Find sites whose source code matches a query.. Replace YOUR_API_KEY and run it in a terminal, or use Try it on the endpoint.

    curl 'https://api.publicwww.com/v1/search?query=%22example-tracker-id%22' \
      -H 'Authorization: Bearer YOUR_API_KEY'
  3. Read the response

    A 200 response looks like this.

    {
      "query": "\"example-tracker-id\"",
      "total": 2,
      "returned": 2,
      "truncated": false,
      "took_ms": 120,
      "results": [
        {
          "domain": "example.com",
          "url": "https://example.com/",
          "rank": 1500
        },
        {
          "domain": "example.org",
          "url": "https://example.org/",
          "rank": null
        }
      ]
    }

Authentication

Send your token in the Authorization header as Bearer YOUR_TOKEN.

Create tokens on your profile page.

Get a key from PublicWWW

Try it on this page keeps your key in your browser; it is never sent to OSINTtools.io.

Rate limits and pricing

10 requests per minute per account (shared with the MCP server), plus a daily search quota set by plan

Paid only. Pricing: subscription.

Errors

StatusMeaning
400Malformed request, e.g. page_too_deep
401Missing or invalid API key
403No paid plan (plan_required)
429Too many requests per minute, or daily quota exceeded
503Service temporarily unavailable