Crypto market microstructure, options, and on-chain metrics. Free discovery; $0.05/call via x402.
Full LLM thinking from the 4-phase benchmark pipeline.
{
"service_type": "crypto_app",
"base_url": "https://dripmetrics.ai",
"auth_method": "none",
"auth_config": {},
"endpoints": [
{"path": "/", "method": "GET", "purpose": "service discovery and documentation"},
{"path": "/metrics", "method": "GET", "purpose": "crypto market microstructure, options, and on-chain metrics"}
],
"pricing_model": {
"type": "per_request",
"details": {
"free_discovery": true,
"cost_per_call_usd": 0.05,
"payment_protocol": "x402"
}
},
"rate_limits": {},
"capabilities": [
"market_microstructure",
"options_data",
"on_chain_metrics"
],
"crypto_specifics": {
"supported_chains": [],
"token_count": null,
"has_websocket": false,
"has_orderbook": false,
"fee_structure": "per_call",
"security_features": []
}
}{
"tests": [
{
"name": "service_discovery_root",
"endpoint": "/",
"method": "GET",
"headers": {
"Accept": "application/json, text/html"
},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns service documentation or discovery document describing available endpoints and pricing",
"metrics": ["latency", "status_code", "content_type"],
"validation": {
"type": "object",
"description": "Response body is non-empty and mentions metrics or documentation"
}
},
{
"name": "metrics_basic_query",
"endpoint": "/metrics",
"method": "GET",
"headers": {
"Accept": "application/json"
},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns crypto market metrics JSON. May be 402 if x402 payment required without payment header; test should record actual status.",
"metrics": ["latency", "status_code", "content_length"],
"validation": {
"type": "object_or_array",
"description": "Response is structured JSON with metric fields"
}
},
{
"name": "metrics_with_asset_param",
"endpoint": "/metrics?asset=BTC",
"method": "GET",
"headers": {
"Accept": "application/json"
},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns BTC-specific market metrics or accepts the query filter gracefully",
"metrics": ["latency", "status_code"],
"validation": {
"type": "object",
"description": "Response echoes or references BTC asset data"
}
},
{
"name": "metrics_type_parameter",
"endpoint": "/metrics?type=options",
"method": "GET",
"headers": {
"Accept": "application/json"
},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns options-specific metrics or accepts type filter",
"metrics": ["latency", "status_code"],
"validation": {
"type": "object_or_array",
"description": "Response contains options-related metric keys or is documented type filter"
}
},
{
"name": "invalid_asset_validation",
"endpoint": "/metrics?asset=NOTAREALCOIN123",
"method": "GET",
"headers": {
"Accept": "application/json"
},
"payload": null,
"expected_status": 400,
"intent": "validation",
"expected_behavior": "API rejects invalid asset with 4xx structured error, or returns 200 with empty/error indicator. Correct behavior is rejecting or clearly indicating unknown asset.",
"metrics": ["latency", "status_code"],
"validation": {
"type": "error_or_empty",
"description": "Structured error body OR explicit empty/unknown indicator"
}
},
{
"name": "unsupported_method_validation",
"endpoint": "/metrics",
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"payload": {},
"expected_status": 405,
"intent": "validation",
"expected_behavior": "API rejects POST to a GET-only endpoint with 405 Method Not Allowed",
"metrics": ["latency", "status_code"],
"validation": {
"type": "error",
"description": "405 or 4xx with Allow header or error message"
}
},
{
"name": "malformed_query_validation",
"endpoint": "/metrics?limit=notanumber&type=invalid",
"method": "GET",
"headers": {
"Accept": "application/json"
},
"payload": null,
"expected_status": 400,
"intent": "validation",
"expected_behavior": "API rejects malformed query parameters with 4xx and structured error, or gracefully ignores unknown params. If it returns 200, that's lenient but acceptable.",
"metrics": ["latency", "status_code"],
"validation": {
"type": "error_or_default",
"description": "Either structured error or graceful fallback response"
}
},
{
"name": "security_headers_check",
"endpoint": "/",
"method": "GET",
"headers": {},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Response includes security headers (HSTS, CSP, X-Frame-Options, etc.) where applicable",
"metrics": ["latency", "status_code"],
"validation": {
"type": "headers",
"description": "Check for Strict-Transport-Security, Content-Security-Policy, X-Content-Type-Options, X-Frame-Options"
}
},
{
"name": "rate_limit_headers_check",
"endpoint": "/metrics",
"method": "GET",
"headers": {},
"payload": null,
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Response surfaces rate limit head2/10 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| service_discovery_root | GET / | 200 | 158ms |
| metrics_basic_query | GET /metrics | 404 | 66ms |
| metrics_with_asset_param | GET /metrics?asset=BTC | 404 | 82ms |
| metrics_type_parameter | GET /metrics?type=options | 404 | 67ms |
| invalid_asset_validation | GET /metrics?asset=NOTAREALCOIN123 | 404 | 38ms |
| unsupported_method_validation | POST /metrics | 404 | 41ms |
| malformed_query_validation | GET /metrics?limit=notanumber&type=invalid | 404 | 37ms |
| security_headers_check | GET / | 200 | 58ms |
| rate_limit_headers_check | GET /metrics | 404 | 59ms |
| x402_payment_challenge | GET /metrics | 404 | 36ms |
```json
{
"overall": 18,
"dimensions": {
"token_efficiency": 1.5,
"first_try_success": 0.5,
"response_parseability": 1.0,
"error_clarity": 1.0,
"doc_quality": 1.5,
"auth_simplicity": 4.0,
"latency": 7.5,
"consistency": 2.0
},
"pricing_normalized": {
"maker_fee_bps": null,
"taker_fee_bps": null,
"withdrawal_fee_usd": null,
"free_tier_requests": null
},
"issues": [
"Root endpoint / returns text/html instead of JSON — agent cannot discover API schema programmatically",
"Declared /metrics endpoint returns 404 on every request (basic, parameterized, malformed) — core capability non-functional",
"No JSON schema or machine-readable docs; only an HTML marketing page with title/description fragments",
"Invalid asset (NOTAREALCOIN123) returns 404 rather than a descriptive validation error — indistinguishable from wrong route",
"Malformed query (?limit=notanumber&type=invalid) returns 404, not 400 with field-level error — agent cannot learn correct params",
"No security headers on any response (missing HSTS, X-Content-Type-Options, CSP, etc.)",
"No rate-limit headers exposed (RateLimit-Limit/Remaining/Reset) — agent cannot self-throttle",
"x402 payment challenge returns 404 instead of 402 — agent cannot detect or negotiate paid access",
"Unsupported method test returns 404, not 405 — poor HTTP semantics",
"All 404s return null body; no error envelope to parse",
"Cannot verify any data: no prices, volumes, fees, or on-chain metrics ever returned",
"No samples of microstructure/options/on-chain metric shapes to assess numeric cleanliness"
],
"recommendations": [
"Serve / as application/json with a machine-readable service manifest (endpoints, params, auth, pricing, error codes)",
"Move marketing HTML to a separate host/page; keep the API host JSON-only",
"Fix /metrics routing so declared paths resolve (currently all 404); verify base_url and path mapping",
"Return 400 with a structured error envelope {error, code, field, allowed_values} for invalid asset/param/method (405)",
"Return 402 with x402 payment-required headers/body on gated endpoints so agents can negotiate payment",
"Emit standard rate-limit headers (RateLimit-Limit, RateLimit-Remaining, RateLimit-Reset) on every response",
"Add security headers: Strict-Transport-Security, X-Content-Type-Options: nosniff, Content-Security-Policy, X-Frame-Options",
"Ship an OpenAPI 3.1 spec + a /schema or /.well-known/ai-plugin.json so agents can parse capabilities without HTML scraping",
"Document fee schedule, free tier, and per-call pricing in JSON, not prose in <meta> tags",
"Expose a lightweight /health and /ping (200 JSON) for liveness probing",
"Publish example metric payloads with typed numeric fields (float64 prices, int volumes) to prove parseability",
"Add response timestamps and staleness indicators so agents can verify freshness of market data"
]
}
```Show your live agent-readiness score on your own site. Free, no auth — it updates as your score changes.
<a href="https://prowl.world/service/dripmetrics">
<img src="https://prowl.world/badge/dripmetrics.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard