Every endpoint is listed with a working example on API; the machine-readable description is /api/v1/schema (OpenAPI 3.1). /api/v1/* answers are JSON with the result under data; an error is JSON with an error code (and often a message) and an HTTP 4xx or 5xx status. Two answers are bare documents: /api/v1/score-model and the schema. /mcp answers in JSON-RPC: a protocol error comes as a JSON-RPC error with HTTP 200, a failed tool as a result with isError. /ard/search errors carry errorCode.
Quickstart
Status of one store
curl -s 'https://ucpscan.org/api/v1/status/00f1b4-86.myshopify.com'
Stores that declare checkout, best first
curl -s 'https://ucpscan.org/api/v1/search?q=dev.ucp.shopping.checkout&limit=3'
Validate a profile body
curl -s -X POST 'https://ucpscan.org/api/v1/validate' -d '{"ucp": {"version": "2026-08-25"}}'Call an MCP tool
curl -s -X POST 'https://ucpscan.org/mcp' -H 'Content-Type: application/json' -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "get_store_status", "arguments": {"domain": "00f1b4-86.myshopify.com"}}}'Command line
A small client ships in the repository. It needs Python 3.9 and nothing else and talks to https://ucpscan.org by default (--base or the UCPSCAN_BASE_URL variable to change it). It prints one line per store (validate: the status, then one line per code), or the raw JSON with --json. A domain may be given as a URL; the scheme and path are dropped. Exit code: 0 verified (search: something found), 1 not verified (search: nothing found), 2 an error.
python3 -m ucpscan.cli status <domain>
Latest recorded check of a store: status, score, grade, release, HTTP code, latency.
python3 -m ucpscan.cli search <query> [--limit N]
Stores by domain, capability, payment handler, transport or label, best first.
python3 -m ucpscan.cli validate <file|->
Validate a profile body from a file or stdin with the recorded probe's rules.
python3 -m ucpscan.cli check <domain>
Live check: fetch the store's /.well-known/ucp now (rate limited, stored in public).
MCP server
Endpoint https://ucpscan.org/mcp: Streamable HTTP, stateless, JSON answers, protocol versions 2025-11-25, 2025-06-18. Server card: /.well-known/mcp/server-card.json.
| Tool | Arguments | Read-only | What it returns |
|---|---|---|---|
| get_store_status | domain: string | yes | Latest recorded check of one store: status, score and grade, release, latency, and what its /.well-known/ucp profile declares. |
| search_stores | query: string, limit: integer (optional) | yes | Find stores by domain, declared capability, payment handler or transport, or store-list label (country, industry, niche, theme). Best score first. |
| list_tokens | kind: string, limit: integer (optional) | yes | Every capability, payment handler or transport declared in the sample, with its holder count. |
| get_token_holders | kind: string, name: string, limit: integer (optional), offset: integer (optional) | yes | Stores whose profile declares one capability, payment handler or transport, best score first. |
| validate_profile | profile: string | yes | Check a pasted /.well-known/ucp body with the rules the recorded probe used; returns status, error and warning codes, and a score without timing. Nothing is fetched or stored. |
| get_error_card | code: string | yes | What an error or warning code means, the status it leads to, and how to fix it. |
| get_stats | yes | Totals and distributions of the sample: statuses, releases, grades, transports, top capabilities. | |
| get_score_model | yes | The UCPscan score: weights, grades and every check with its points. | |
| check_domain | domain: string | no (live fetch) | Fetch a domain's /.well-known/ucp now, classify it with the probe's rules, check the spec's hosting rules and score it. A domain's result is reused for a minute; a repeat returns the last result. |
Keys and limits
There are no API keys and no rate tiers: every endpoint is open. Reads of the sample have no rate limit in the app; a request whose queries would take longer than 1 s answers 400 "Filter too broad". The live check (POST /api/v1/check, MCP check_domain) is limited to 10 a minute per client and 60 a minute for the site, with at most 4 running at once; a domain's result is reused for 60 s. Over a limit, POST /api/v1/check answers HTTP 429 (503 when live checks are off) and MCP check_domain returns a tool result with isError and the reason. Browser requests to /mcp and the live check are refused from origins other than this site and localhost; requests without an Origin header (curl, the CLI, servers) are accepted.
Changelog
2026-11-27
- /api/v1 answers with the OpenAPI description (same as /api/v1/schema)
- Coverage page /coverage: the Shopify store list against what is checked; a daily sweep writes new checks
2026-11-18
- Agent run: POST /api/v1/run and GET /api/v1/run/{id}
- Catalog rules: POST /api/v1/catalog/validate; location rules: POST /api/v1/locations/validate
- Live check: POST /api/v1/check, GET /api/v1/live/{id} and the MCP tool check_domain
- Agent endpoints: /mcp, /.well-known/mcp/server-card.json, /.well-known/ard.json, POST /ard/search, /llms.txt and the site's own /.well-known/ucp
- REST: /api/v1/checks/{domain}, /api/v1/check/{id}, /api/v1/search, POST /api/v1/validate and /api/v1/schema
- Errors on agent paths are JSON; integer arguments are strict (no booleans, floats or overflow)
- Command-line client: python3 -m ucpscan.cli
2026-11-17
- Scores in /api/v1/status/{domain} and /api/v1/score-model follow UCPscan score v1
2026-11-14
- First API: /api/v1/status/{domain}, /api/v1/stats, /api/v1/score-model, /badge/{domain}.svg and CSV on store and check lists