API for developers and agents
Everything in the dashboard is available as a JSON API, described by an OpenAPI spec (interactive docs). That makes it straightforward to call from scripts, security tooling, or AI agents that can read OpenAPI.
Endpoints
| Request | What it does |
|---|---|
GET /api/v1/scan?domain=example.com | One-time scan; works without a key (per-IP limit) |
GET /api/v1/domains | Your monitored domains with open finding counts |
POST /api/v1/domains | Start monitoring a domain |
GET /api/v1/findings?since=<unix>&min_score=60 | New findings since your last poll |
GET /api/v1/findings/{id} | One finding with its history |
POST /api/v1/findings/{id}/feedback | Mark mine, dismissed or watch |
POST /api/v1/webhooks/test | Send a signed test event to your webhook |
Example
curl -H "Authorization: Bearer $LG_KEY" \ "https://lookalikeguard.com/api/v1/findings?since=1760000000&min_score=60"
Webhooks
Each webhook POST carries LookalikeGuard-Signature: t=<unix>,v1=<hex> where hex is HMAC-SHA256 of "<t>.<raw body>" with your webhook secret. Compare in constant time and reject timestamps older than five minutes.
Limits
Requests per minute: Free 10, Solo 60, Team 120, Agency 300. Responses include X-RateLimit-Limit and X-RateLimit-Remaining.
API FAQ
Do I need an API key to run a scan?
No. GET /api/v1/scan?domain=example.com works without a key, with a per-IP rate limit. It waits up to about 150 seconds; if the scan is not done by then you get HTTP 202 with an id to poll at /api/v1/results/{id}. Results under 1 hour old are reused, and you get HTTP 429 when the limit is exceeded.
How do I pull only new findings?
Call GET /api/v1/findings?since=<unix>&min_score=60 with your API key in an Authorization: Bearer header. It returns new findings since your last poll, and min_score filters out low-risk ones.
How do I verify a webhook?
Each webhook POST carries a LookalikeGuard-Signature header of the form t=<unix>,v1=<hex>, where hex is HMAC-SHA256 of “<t>.<raw body>” with your webhook secret. Compare in constant time and reject timestamps older than five minutes. POST /api/v1/webhooks/test sends a signed test event.
What are the API rate limits?
Solo 60, Team 120 and Agency 300 requests per minute. Responses include X-RateLimit-Limit and X-RateLimit-Remaining headers.
Can an AI agent call the API?
Yes. The API is described by an OpenAPI spec at /openapi.json (same as /api/openapi.json), with interactive docs at /api/docs. An agent can run a free scan without a key. Monitoring requires the user to sign in and pay, so agents should not sign up or pay on a user’s behalf without the user’s approval.
Does the API take down domains?
No. LookalikeGuard is monitoring and early warning only: no takedowns and no legal advice. Results are automated and can contain mistakes.
What it does not do
LookalikeGuard is monitoring and early warning. It does not take down domains, send legal notices, or give legal advice. Scores are automated and can be wrong in both directions: a high score is a reason to look, not proof of abuse. Many lookalike domains are parked, owned by unrelated businesses, or registered defensively by the brand itself; you can mark those as yours or dismiss them.