For developers

API v1 serves the DupeGuard.App extension and mobile app. For your own integrations, request an API key – it gives you higher limits and batch queries; an invalid key is rejected. Clients send only the domain name; addresses with a path, scheme or port are rejected. Responses are JSON in UTF‑8, errors { "error": "…" }.

Base: https://dupeguard.app/api/v1

Endpoints

Method and pathDescription
GET /healthservice status, no cache
GET /blocklistconfirmed risky domains: {version, count, sources[], domains:[[domain, source],…]}. ETag + If-None-Match → 304. Clients must show the attribution (sources[].attribution).
GET /known-shopsknown shops for similarity matching: {version, count, shops:[…]}, ETag as above
GET /domain?name=example.comblocklist match, known shop, domain age (age.status: found | not-registered | unknown)
POST /domainsAPI key only: batch check of up to 100 domains, body {domains:[…]} → {results:[{domain, blocklisted, knownShop, reported}], invalid}; without domain age
POST /reportsbody {domain, category, note?}; category: fake-shop | phishing-payment | fake-carrier | other. 201 with id; duplicate within a week → 200 with the original id; 20/day limit → 429
GET /reports/{id}report status: received | verifying | confirmed | rejected
curl "https://dupeguard.app/api/v1/domain?name=alza.cz"

API key

We send the key by e-mail – keep it safe, it cannot be shown again. A key is issued automatically only once per e-mail; a further request with a reason is reviewed manually.

Usage: header Authorization: Bearer dg_live_… (or X-API-Key). Limit 10,000 requests per day per key.

curl -X POST "https://dupeguard.app/api/v1/domains" \
  -H "Authorization: Bearer dg_live_…" -H "Content-Type: application/json" \
  -d '{"domains":["alza.cz","priklad.cz"]}'

Shared core

The extension, the mobile app and the API use the same core (@dupeguardapp/core): domain parsing (punycode, skeleton for confusable characters), similarity search against known shops, scoring and the texts. That’s why the browser and the phone give the same result.

Extension for development and testing

The extension can be loaded unpacked: in Chrome/Edge open chrome://extensions, enable developer mode and choose “Load unpacked” with the build folder; in Firefox about:debugging → “Load Temporary Add-on”. Automated testing uses Playwright with --load-extension.

Test mode: an address ending in .localhost is evaluated as the domain before that suffix (alza-vyprodej.cz.localhost → alza-vyprodej.cz), so you can test without visiting a real risky site.

API usage rules

  • Don’t send full addresses or personal data; nothing identifying a person in the report note.
  • Respect ETag and cache (s-maxage=300 on lists) – refreshing lists every few hours is enough.
  • When showing the blocklist, credit the source given in sources[].attribution and phrase a listing as risk signals, not proof of fraud.