← Docs

Domain scans

The free, anonymous domain scan: up to 500 media assets checked for Content Credentials, a coverage figure and an IPTC Four Cs score with the Metawatch benchmark.

A scan is a one-off sample of a site, without an account. It is what the scan tool uses.

Start a scan

curl -s https://api.c2pa.design/v1/scans \
  -H "content-type: application/json" \
  -d '{"host":"www.example.com","mode":"all"}'
Field
host the site
mode all (sitemap and pages, every asset) or news (20 newest articles, one lead image each, the IPTC Metawatch method)
email optional; we send the link to the finished scan

The answer is 202 with the scan in queued state. Anonymous calls are limited per IP (429 with Retry-After). A site whose owner opted out returns site_opted_out.

Poll it

curl -s https://api.c2pa.design/v1/scans/0199b1f6-1c2d-7e3f-9a4b-5c6d7e8f9a0b

Poll every few seconds until status is completed or failed.

Field
assets_found, assets_checked progress; at most 500 assets
signed assets whose credential is valid_trusted or valid_untrusted
coverage_pct signed over assets_checked, computed by the API
ai_generated assets whose declared source category is ai-generated, ai-composite or ai-enhanced
four_cs_score IPTC Four Cs, 0–100, mean over images
benchmark the latest IPTC Metawatch run: publisher_mean, country_mean, sites, images (CC BY 4.0, IPTC Metawatch)
statuses, signers counts per credential.status and per signer
blocked the site refused the crawler; nothing could be checked
assets[] url, status, signer_name, source_category, four_cs_score, error_code

GET /v1/benchmarks/metawatch returns the benchmark on its own.

Blocked

The crawler is c2pa-design-bot/1.0 (+https://c2pa.design/bot). It respects robots.txt and Crawl-delay and fetches one file per second. A scan of a site that blocks it ends with blocked: true; allow the User-Agent in robots.txt and your WAF, then scan again.

A scan is a sample, not an audit. A missing credential proves nothing about where a file came from. For daily tracking of a site you control, add it as a domain.