Proof Holdings Lookalike Watch API

Watch newly-published npm, PyPI, Packagist, Go module and MCP-registry artifacts for names confusable with your brand. Not a billed proof — no quota is charged.

GitHub OpenAPI

Operations 6

POST /api/v1/lookalike-watch Subscribe to Lookalike Watch #
GET /api/v1/lookalike-watch Get Lookalike Watch subscription #
DELETE /api/v1/lookalike-watch Cancel Lookalike Watch #
GET /api/v1/me/lookalike-watch Get the Lookalike Watch state (dashboard session) #
GET /api/v1/lookalike-watch/alerts List Lookalike Watch alerts #
GET /api/v1/lookalike-watch/reports List Lookalike Watch reports #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/proof-holdings:proof-holdings-lookalike-watch-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

proof-holdings-lookalike-watch-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: proof.holdings Lookalike Watch API
  version: 1.0.0
  description: '**Multi-Surface Proof of Control**


    Cryptographic proofs of digital asset control. proof.holdings issues signed JWT proofs that a user controls a digital asset (phone, email, domain, social, wallet) by completing a challenge from that asset. Proofs are offline-verifiable using the public keys published at `/.well-known/jwks.json` (ES256).


    ## Core Concepts


    - **Verification**: A challenge-response flow to prove control of an asset

    - **Proof Token**: Signed JWT issued after successful verification (ES256)

    - **JWKS**: Public keys for offline verification at `/.well-known/jwks.json`


    ## Authentication


    Most endpoints require API key authentication via Bearer token:

    ```

    Authorization: Bearer pk_live_...

    ```


    Dashboard endpoints use JWT authentication via httpOnly cookies.


    ## Rate Limits


    All authenticated endpoints include rate limit headers:

    - `X-RateLimit-Limit`: Maximum requests per window

    - `X-RateLimit-Remaining`: Requests remaining in current window

    - `X-RateLimit-Reset`: Unix timestamp when window resets


    ## The 7 Proofs


    proof.holdings is built around seven verification primitives. Four are live today; three are coming soon. This API exposes endpoints for the live primitives only.


    1. **Proof of Control** (live) — verify control of a phone, email, domain, social account, or wallet. Endpoints: `/api/v1/verifications`, `/api/v1/verification-requests`.

    2. **Proof of Delegation** (live) — a control-proven domain authorizes a typed url/purl artifact, with an independently revocable signed token. The attestation is that the domain''s controller authorized the artifact — nothing more. Endpoints: `/api/v1/delegations`.

    3. **Proof of Action** (live) — human-in-the-loop approval for irreversible actions, cryptographically signed; authorizations are its consent layer. Endpoints: `/api/v1/hitl`, `/api/v1/confirmations`, `/api/v1/authorizations`.

    4. **Proof of Me** (live) — anti-impersonation reverse verification via trusted Circle members. Endpoints: `/api/v1/circles`, `/api/v1/identity-challenges`.

    5. **Proof of Agreement** (coming soon) — continuous witnessing for group conversations; no API endpoints yet.

    6. **Proof of Development** (coming soon) — verifiable development provenance via the team.management integration; no API endpoints yet.

    7. **Proof of Enforcement** (coming soon) — proof that mandated processes actually ran; no API endpoints yet.'
  contact:
    name: proof.holdings Support
    email: hello@proof.holdings
    url: https://proof.holdings
  license:
    name: Proprietary
    url: https://proof.holdings/terms
servers:
- url: https://api.proof.holdings
  description: Production server
tags:
- name: Lookalike Watch
  description: Watch newly-published npm, PyPI, Packagist, Go module and MCP-registry artifacts for names confusable with your brand. Not a billed proof — no quota is charged.
paths:
  /api/v1/lookalike-watch:
    post:
      tags:
      - Lookalike Watch
      summary: Subscribe to Lookalike Watch
      description: Watch newly-published npm, PyPI, Packagist, Go module and MCP-registry artifacts for names confusable with your brand. Not a billed proof — no quota is charged and no usage is recorded.
      security:
      - BearerAuth: []
      - CookieAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LookalikeWatchSubscribe'
        required: true
      responses:
        '201':
          description: Subscribed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LookalikeWatchSubscription'
        '403':
          description: '`account_key_required` — this API key is bound to one sub-account; account-level changes need an account-wide key or the dashboard.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '409':
          description: Already subscribed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: 'Not eligible; `error.code` says why: `plan_upgrade_required` (Lookalike Watch is part of the €29 plan and above, enforced while billing is live), `no_verified_domain`, `no_active_delegation`, `delegation_sample_exhausted`, `account_scheduled_for_deletion`, or for the delivery address `notify_email_not_owned` / `no_notify_email`.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: 'eligibility_unavailable — eligibility could not be determined. Distinct from 422: the answer is unknown rather than no, so the same request is worth retrying.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: postApiV1LookalikeWatch
      x-operation-id-source: derived
    get:
      tags:
      - Lookalike Watch
      summary: Get Lookalike Watch subscription
      security:
      - BearerAuth: []
      - CookieAuth: []
      responses:
        '200':
          description: The subscription
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LookalikeWatchSubscription'
        '404':
          description: Not subscribed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: getApiV1LookalikeWatch
      x-operation-id-source: derived
    delete:
      tags:
      - Lookalike Watch
      summary: Cancel Lookalike Watch
      security:
      - BearerAuth: []
      - CookieAuth: []
      responses:
        '200':
          description: The cancelled subscription, in the same shape the subscribe and get endpoints return — not a bare success flag.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LookalikeWatchSubscription'
        '403':
          description: '`account_key_required` — this API key is bound to one sub-account; account-level changes need an account-wide key or the dashboard.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Not subscribed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: deleteApiV1LookalikeWatch
      x-operation-id-source: derived
  /api/v1/me/lookalike-watch:
    get:
      tags:
      - Lookalike Watch
      summary: Get the Lookalike Watch state (dashboard session)
      description: 'Whether the account has a Lookalike Watch, with the subscription when it has. Session cookie only — an API key, an SDK and the MCP tool read `GET /api/v1/lookalike-watch`, which answers the same question with the subscription or `404 not_subscribed`. This one answers 200 in both cases, so a dashboard page that asks on load receives no 404. It returns nothing that route does not return to the same caller; a cancelled watch reads as `subscribed: false`.'
      security:
      - CookieAuth: []
      responses:
        '200':
          description: The state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LookalikeWatchState'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: getApiV1MeLookalikeWatch
      x-operation-id-source: derived
  /api/v1/lookalike-watch/alerts:
    get:
      tags:
      - Lookalike Watch
      summary: List Lookalike Watch alerts
      description: Alerts raised for artifacts whose names resemble one of your brand tokens. A caller who has never subscribed gets an empty page, not a 404.
      security:
      - BearerAuth: []
      - CookieAuth: []
      parameters:
      - schema:
          type: string
          pattern: ^\d+$
        required: false
        name: page
        in: query
      - schema:
          type: string
          pattern: ^\d+$
        required: false
        name: limit
        in: query
      responses:
        '200':
          description: Alerts
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LookalikeAlertList'
      operationId: getApiV1LookalikeWatchAlerts
      x-operation-id-source: derived
  /api/v1/lookalike-watch/reports:
    get:
      tags:
      - Lookalike Watch
      summary: List Lookalike Watch reports
      description: Monthly coverage reports. A month with no alerts still produces a report, carrying the per-source coverage figures. A caller who has never subscribed gets an empty page, not a 404.
      security:
      - BearerAuth: []
      - CookieAuth: []
      parameters:
      - schema:
          type: string
          pattern: ^\d+$
        required: false
        name: page
        in: query
      - schema:
          type: string
          pattern: ^\d+$
        required: false
        name: limit
        in: query
      responses:
        '200':
          description: Reports
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LookalikeReportList'
      operationId: getApiV1LookalikeWatchReports
      x-operation-id-source: derived
components:
  schemas:
    LookalikeWatchState:
      type: object
      properties:
        subscribed:
          type: boolean
          description: Whether the watch is on. False when it was never enabled and after it was cancelled.
        subscription:
          anyOf:
          - $ref: '#/components/schemas/LookalikeWatchSubscription'
          - type: 'null'
          description: The subscription while the watch is on; null otherwise.
      required:
      - subscribed
      - subscription
      description: 'Whether the account has a Lookalike Watch, and the subscription if it has. The dashboard''s read: the same fact as `GET /api/v1/lookalike-watch`, answered 200 in both cases.'
    ErrorDetail:
      type: object
      properties:
        field:
          type: string
          example: identifier
        message:
          type: string
          example: Invalid phone number format
        code:
          type: string
          example: invalid_string
      required:
      - field
      - message
      - code
      description: Field-level validation error detail
    LookalikeAlert:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/ObjectId'
        registry:
          type: string
          example: npm
        artifact_name:
          type: string
        canonical_id:
          type:
          - string
          - 'null'
        match_kind:
          type: string
        brand_token:
          type: string
        match_evidence:
          type: string
        evidence:
          type: array
          items:
            type: object
            properties:
              location:
                type: string
              result:
                type: string
              checked_at:
                type: string
                format: date-time
            required:
            - location
            - result
            - checked_at
          description: Where we looked before alerting and what each place returned; no verdict about the publisher
        first_seen_at:
          type: string
          format: date-time
        notified_at:
          type:
          - string
          - 'null'
          format: date-time
        created_at:
          type: string
          format: date-time
      required:
      - id
      - registry
      - artifact_name
      - canonical_id
      - match_kind
      - brand_token
      - match_evidence
      - evidence
      - first_seen_at
      - notified_at
      - created_at
      description: An artifact whose name resembles one of the brand tokens, with the evidence checked
    LookalikeWatchSubscription:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/ObjectId'
        status:
          type: string
          enum:
          - active
          - canceled
        brand_tokens:
          type: array
          items:
            type: string
        owned_namespaces:
          type: array
          items:
            type: string
        notify_email:
          type: string
        activated_at:
          type:
          - string
          - 'null'
          format: date-time
          description: When the watch was last turned on (stamped again on reactivation)
        last_report_period:
          type:
          - string
          - 'null'
          description: The last month reported, `YYYY-MM`; null before the first report
          example: 2026-09
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
      required:
      - id
      - status
      - brand_tokens
      - owned_namespaces
      - notify_email
      - activated_at
      - last_report_period
      - created_at
      - updated_at
      description: The account's Lookalike Watch subscription. Subscribe, read and cancel all answer it; only the cancel answer reads `canceled`, since a read after cancelling answers 404.
    ObjectId:
      type: string
      pattern: ^[0-9a-fA-F]{24}$
      description: MongoDB ObjectId
      example: 507f1f77bcf86cd799439011
    LookalikeWatchSubscribe:
      type: object
      properties:
        brand_tokens:
          type: array
          items:
            type: string
            minLength: 1
            maxLength: 64
          minItems: 1
          maxItems: 20
        owned_namespaces:
          type: array
          items:
            type: string
            minLength: 1
            maxLength: 128
          maxItems: 50
        notify_email:
          type: string
          format: email
      required:
      - brand_tokens
      description: Subscribe to Lookalike Watch. `brand_tokens` are the names watched for confusable newly-published artifacts; `owned_namespaces` suppress alerts on artifacts you publish yourself; `notify_email` must be an address already proven on the account, because a subscription is a standing outbound channel rather than a one-shot send. Every bound is published on the fields themselves — restating a cap in prose is the second declaration this block exists to avoid.
    LookalikeReport:
      type: object
      properties:
        id:
          $ref: '#/components/schemas/ObjectId'
        period:
          type: string
          example: 2026-09
        period_start:
          type: string
          format: date-time
        period_end:
          type: string
          format: date-time
        alert_count:
          type: integer
        artifacts_checked:
          type: object
          additionalProperties:
            type: integer
          description: Artifacts checked, per source
        bounds:
          type: array
          items:
            type: object
            properties:
              kind:
                type: string
              source:
                type: string
              detail:
                type: string
            required:
            - kind
            - source
            - detail
          description: What the period's runs could not cover
        sent_at:
          type:
          - string
          - 'null'
          format: date-time
      required:
      - id
      - period
      - period_start
      - period_end
      - alert_count
      - artifacts_checked
      - bounds
      - sent_at
      description: One month's report; a month with no alerts is a report too
    LookalikeAlertList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/LookalikeAlert'
        pagination:
          type: object
          properties:
            page:
              type: integer
            limit:
              type: integer
            total:
              type: integer
          required:
          - page
          - limit
          - total
          description: 'The page sent, its size and the total count. There is no `total_pages`: derive it from `total` and `limit`.'
      required:
      - data
      - pagination
      description: A page of alerts, newest first
    LookalikeReportList:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/LookalikeReport'
        pagination:
          type: object
          properties:
            page:
              type: integer
            limit:
              type: integer
            total:
              type: integer
          required:
          - page
          - limit
          - total
          description: 'The page sent, its size and the total count. There is no `total_pages`: derive it from `total` and `limit`.'
      required:
      - data
      - pagination
      description: A page of monthly reports, latest first
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              example: validation_error
            message:
              type: string
              example: Request validation failed
            details:
              type: array
              items:
                $ref: '#/components/schemas/ErrorDetail'
            request_id:
              type: string
              description: Correlation id of this request — the same value as the `X-Request-Id` response header. Present on every error envelope; quote it when contacting support. A well-formed `X-Request-Id` sent with the request is reused.
              example: req_4f1c2a9b7e3d4c5b8a6f0e1d2c3b4a59
            moved_to:
              type: string
              description: 'The username a profile now lives at (404 `profile_moved` on `GET /api/v1/profiles/u/{username}` only): the requested name was an assigned default its owner replaced. Sent only while that profile is public.'
              example: team_mgmt_hq
            remaining_attempts:
              type: number
              description: Number of remaining attempts before lockout (auth endpoints only)
              example: 3
            retryAfter:
              type: number
              description: Seconds to wait before retrying (rate limit and lockout errors)
              example: 3600
            top_up_url:
              type: string
              description: Where to top up the prepaid balance (402 balance_empty only)
              example: https://proof.holdings/billing
            used:
              type: number
              description: This period's production proofs (402 balance_empty only)
              example: 312
            included:
              type: number
              description: Proofs the account's plan includes per period (402 balance_empty only)
              example: 300
            balance:
              type: number
              description: The prepaid balance in euro cents, at or below zero (402 balance_empty only)
              example: 0
          required:
          - code
          - message
      required:
      - error
      description: Standard error response format
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'API key authentication. Use format: `pk_live_...` or `pk_test_...`'
    CookieAuth:
      type: apiKey
      in: cookie
      name: auth_token
      description: JWT authentication via httpOnly cookie (dashboard only)