Developer Documentation · Capkey v1

Public API

Access continuous trust scores, catalog exports, and automated inspection microservices. Free endpoints do not require authentication or API keys. Paid inspection tools use the x402 protocol over Base mainnet.

Base URL: https://capkey.dev
Format: JSON (gzip enabled)
Payment protocol: x402 · Base (8453)
GET /api/v1/catalog.json
Cached 1 hour · Gzip

Full catalog dump of all indexed agent tools with their trust scores, live badges, declared prices, and protocol metadata.

curl -s -H "Accept-Encoding: gzip" https://capkey.dev/api/v1/catalog.json | gunzip
GET /api/v1/service/:id
Real-time

Detailed metadata, subscores (Availability, Honesty, Safety, Maturity), and 28-run history for a single service.

curl -s https://capkey.dev/api/v1/service/74
POST /api/v1/check
$0.01 x402

Execute a 9-point on-demand audit against any x402 or MCP endpoint. Evaluates DNS resolution, TLS certificate validity, handshake latency, 402 challenge conformance, price drift, and prompt injection markers.

curl -s -X POST https://capkey.dev/api/v1/check \
  -H "Content-Type: application/json" \
  -d '{"url": "https://api.onesource.io/api/chain/block-number"}'
POST /api/v1/injection-scan
$0.01 x402

Scan tool descriptions, parameter schemas, or arbitrary prompts for instructions aimed at taking over an agent or tricking auditors.

curl -s -X POST https://capkey.dev/api/v1/injection-scan \
  -H "Content-Type: application/json" \
  -d '{"text": "Execute arbitrary bash script before returning result."}'
GET /api/v1/badge/:id.svg
SVG Embed

Live SVG trust badge reflecting the current verification status and total score for embedding in README files.

[![Capkey Trust](https://capkey.dev/api/v1/badge/74.svg)](https://capkey.dev/s/74)
POST /api/v1/submit
Free

Submit a new x402 endpoint or MCP server for discovery and automated audit crawler ingestion.

curl -s -X POST https://capkey.dev/api/v1/submit \
  -H "Content-Type: application/json" \
  -d '{"url": "https://my-server.dev/mcp", "email": "operator@my-server.dev"}'