Scan any website for AI agent readiness, payment protocols, and discovery endpoints
Full LLM thinking from the 4-phase benchmark pipeline.
{
"service_type": "rest_api",
"base_url": "https://agentgrade.com",
"auth_method": "none",
"auth_config": {},
"endpoints": [
{
"path": "/api/scan",
"method": "GET",
"purpose": "Scan a URL for agent capabilities and payment protocols; returns full JSON report with score, grade, groups, summary, checks, and hint fields on failing checks",
"params": {
"url": {"type": "string", "required": true}
},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/v1/scan",
"method": "GET",
"purpose": "Compact machine-to-machine scan returning flat JSON with score, grade, and passed-check count only",
"params": {
"url": {"type": "string", "required": true}
},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/report",
"method": "GET",
"purpose": "Full scan report with historical comparison and delta between current and previous scan",
"params": {
"url": {"type": "string", "required": true}
},
"response_format": "json",
"is_primary": false
},
{
"path": "/api/history",
"method": "GET",
"purpose": "Get past scan summaries for a URL; requires DATABASE_URL on server",
"params": {
"url": {"type": "string", "required": false},
"limit": {"type": "integer", "required": false}
},
"response_format": "json",
"is_primary": false
},
{
"path": "/api/badge",
"method": "GET",
"purpose": "Return an SVG badge showing scan results for a URL, for embedding in README or landing page",
"params": {
"url": {"type": "string", "required": true}
},
"response_format": "binary",
"is_primary": false
},
{
"path": "/mcp",
"method": "GET",
"purpose": "Return MCP tool manifest listing available MCP tools",
"params": {},
"response_format": "json",
"is_primary": false
},
{
"path": "/mcp",
"method": "POST",
"purpose": "JSON-RPC 2.0 tool calls (scan_url, scan_compact, get_history, validate_x402_json)",
"params": {},
"response_format": "json",
"is_primary": false
},
{
"path": "/health",
"method": "GET",
"purpose": "Health check",
"params": {},
"response_format": "json",
"is_primary": false
}
],
"pricing_model": {
"type": "free_tier",
"details": {
"note": "All endpoints currently free; payment gating for premium endpoints is planned but not active"
},
"free_tier": {
"requests": null,
"period": null
},
"paid_tiers": []
},
"rate_limits": {
"rpm": null,
"tpm": null,
"daily": null,
"concurrent": null
},
"capabilities": [
"agent-readiness scanning",
"payment protocol detection (x402, MPP, L402, SPT)",
"service catalog discovery (Bazaar)",
"MCP endpoint detection",
"OpenAPI spec validation",
"llms.txt / agents.txt / SKILL.md detection",
"identity protocol detection (WebFinger, DID, Nostr, AT Protocol)",
"historical scan comparison",
"SSE/streamable MCP probing",
"x402.json validation"
],
"agent_readiness": {
"supports_x402": true,
"supports_streaming": false,
"has_sandbox": false,
"sdks": [],
"agent_auth_methods": ["public"]
}
}```json
{
"tests": [
{
"name": "health_check",
"endpoint": "/health",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns healthy status JSON confirming service is up",
"metrics": ["latency", "status_code"],
"validation": {"field": "status", "type": "string", "min_length": 1}
},
{
"name": "scan_full_report",
"endpoint": "/api/scan",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns full JSON report with score, grade, groups, summary, checks",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "score", "type": "number", "min_length": 0}
},
{
"name": "scan_compact",
"endpoint": "/api/v1/scan",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns flat JSON with score, grade, passed-check count",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "score", "type": "number", "min_length": 0}
},
{
"name": "full_report_with_delta",
"endpoint": "/api/report",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns full report with current scan, previous scan, and delta",
"metrics": ["latency", "status_code"],
"validation": {"field": "current", "type": "object", "min_length": 0}
},
{
"name": "badge_svg",
"endpoint": "/api/badge",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns SVG image content for the scanned URL",
"metrics": ["latency", "status_code"],
"validation": {"field": "", "type": "string", "min_length": 1}
},
{
"name": "history_no_db_or_ok",
"endpoint": "/api/history",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns array of past scan summaries (or 501 if DB unconfigured)",
"metrics": ["latency", "status_code"],
"validation": {"field": "", "type": "array", "min_length": 0}
},
{
"name": "mcp_manifest",
"endpoint": "/mcp",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns MCP tool manifest listing available tools",
"metrics": ["latency", "status_code"],
"validation": {"field": "tools", "type": "array", "min_length": 1}
},
{
"name": "mcp_scan_url_rpc",
"endpoint": "/mcp",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "scan_compact", "arguments": {"url": "https://agentgrade.com"}}},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns JSON-RPC 2.0 response with scan result content",
"metrics": ["latency", "accuracy", "status_code"],
"validation": {"field": "result", "type": "object", "min_length": 0}
},
{
"name": "scan_missing_url",
"endpoint": "/api/scan",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Rejects missing required url param with 400 and error body",
"metrics": ["status_code"],
"validation": {"field": "error", "type": "string", "min_length": 1}
},
{
"name": "scan_invalid_url",
"endpoint": "/api/v1/scan",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Rejects malformed url (non-http) with 400",
"metrics": ["status_code"],
"validation": {"field": "error", "type": "string", "min_length": 1}
},
{
"name": "report_missing_url",
"endpoint": "/api/report",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Rejects missing required url param",
"metrics": ["status_code"],
"validation": {"field": "error", "type": "string", "min_length": 1}
}
],
"pricing_probes": [
{
"name": "verify_free_access",
"description": "Confirm all endpoints return 200 without any auth header or payment, validating free_tier claim",
"endpoint": "/api/v1/scan",
"method": "GET",
"payload": {"url": "https://agentgrade.com"},
"check": "response.status == 200 with no 402/401 pay4/11 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| health_check | GET /health | 200 | 22ms |
| scan_full_report | GET /api/scan | 400 | 6ms |
| scan_compact | GET /api/v1/scan | 400 | 9ms |
| full_report_with_delta | GET /api/report | 400 | 7ms |
| badge_svg | GET /api/badge | 400 | 8ms |
| history_no_db_or_ok | GET /api/history | 200 | 66ms |
| mcp_manifest | GET /mcp | 200 | 7ms |
| mcp_scan_url_rpc | POST /mcp | 200 | 914ms |
| scan_missing_url | GET /api/scan | 400 | 10ms |
| scan_invalid_url | GET /api/v1/scan | 400 | 7ms |
{"model": "claude", "data": {"overall": 76, "dimensions": {"token_efficiency": 7.0, "first_try_success": 6.0, "response_parseability": 8.5, "error_clarity": 6.5, "doc_quality": 7.0, "auth_simplicity": 10.0, "latency": 9.0, "consistency": 8.0}, "pricing_normalized": {"cost_per_1k_requests": 0, "cost_per_1m_input_tokens": null, "cost_per_1m_output_tokens": null, "free_tier_requests": null, "estimated_monthly_cost_light": 0, "estimated_monthly_cost_heavy": 0}, "issues": [{"severity": "medium", "detail": "Four happy-path tests (/api/scan, /api/v1/scan, /api/report, /api/badge) returned 400 'Missing ?url=' because the benchmark sent no url parameter. This is most likely a test-planning gap rather than an API fault, but the tests still count as failures. The API behaved correctly for the input it received.", "endpoint": "/api/scan, /api/v1/scan, /api/report, /api/badge"}, {"severity": "medium", "detail": "/api/badge returns its 400 error as text/html with a bare 'Missing ?url=' string, while the other endpoints return JSON errors. An agent parsing every error as JSON would break here.", "endpoint": "/api/badge"}, {"severity": "low", "detail": "Error bodies are minimal ({'error': 'Missing ?url='}). They give no field-level detail, no example, and no distinction between a missing url and a malformed one. The 'invalid URL' test also only exercised the missing-parameter path.", "endpoint": "/api/v1/scan"}, {"severity": "low", "detail": "/api/history returns a very large payload with nested scan summaries and no pagination hints visible in the preview. This costs many tokens for an agent.", "endpoint": "/api/history"}, {"severity": "low", "detail": "A live scan through the MCP RPC took about 914ms. This is acceptable for a scan, but much slower than the other endpoints.", "endpoint": "/mcp"}, {"severity": "low", "detail": "Error message wording is inconsistent between endpoints: 'Missing ?url= parameter' on /api/scan versus 'Missing ?url=' elsewhere.", "endpoint": "/api/scan"}], "recommendations": ["Return JSON errors from /api/badge (or at least a consistent content type) so clients can parse every failure the same way.", "Make error bodies richer, for example {error, field, expected, example}, and validate URL format separately from presence.", "Add pagination, a default limit, and a compact mode to /api/history to cut response size.", "Publish an OpenAPI spec with example requests and responses for the REST endpoints. The MCP manifest is good, but the REST endpoints are less discoverable.", "Use identical error wording across the scan, v1 scan and report endpoints.", "Keep the compact /api/v1/scan endpoint prominent, since it is the most token-efficient route for agents."]}}Show your live agent-readiness score on your own site. Free, no auth — it updates as your score changes.
<a href="https://prowlrank.com/service/agentgrade">
<img src="https://prowlrank.com/badge/agentgrade.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard