Search, read & publish paid essays. Pay-per-read in USDC on Base (x402); wallet-only, no account.
Full LLM thinking from the 4-phase benchmark pipeline.
{
"service_type": "rest_api",
"base_url": "https://tenjin.sh",
"auth_method": "api_key_header",
"auth_config": {
"header": "PAYMENT-SIGNATURE",
"prefix": null
},
"endpoints": [
{
"path": "/api/read/{handle}/{slug}",
"method": "GET",
"purpose": "Read a paid article; returns 402 with x402 challenge until a USDC payment on Base is signed and retried with PAYMENT-SIGNATURE",
"params": {
"handle": {"type": "string", "required": true},
"slug": {"type": "string", "required": true},
"PAYMENT-SIGNATURE": {"type": "string", "required": false}
},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/x402-router/route",
"method": "POST",
"purpose": "Route a turn to the best-fit x402 provider/tool based on task context; costs $0.001 per paid routing call",
"params": {},
"response_format": "json",
"is_primary": true
},
{
"path": "/api/x402-router",
"method": "POST",
"purpose": "Report routing outcomes and list available tools",
"params": {},
"response_format": "json",
"is_primary": false
},
{
"path": "/api/posts",
"method": "POST",
"purpose": "Create and publish a post; auto-provisions creator on first post; SIWX-gated; supports Idempotency-Key",
"params": {
"Idempotency-Key": {"type": "string", "required": false}
},
"response_format": "json",
"is_primary": false
}
],
"pricing_model": {
"type": "per_request",
"details": {
"routing_cost_per_call_usd": 0.001,
"paid_read_currency": "USDC",
"paid_read_network": "eip155:8453",
"default_per_call_limit_usd": 0.25,
"default_daily_budget_usd": 5
},
"free_tier": null,
"paid_tiers": []
},
"rate_limits": {
"rpm": null,
"tpm": null,
"daily": null,
"concurrent": null
},
"capabilities": [
"paid_article_reads",
"tool_routing",
"agent_tool_suggestions",
"web_research",
"exact_page_reads",
"live_prices",
"company_lookup",
"email_lookup",
"compute",
"x402_payments",
"sign_in_with_x_authoring",
"context7_docs_lookup"
],
"agent_readiness": {
"supports_x402": true,
"supports_streaming": false,
"has_sandbox": false,
"sdks": [],
"agent_auth_methods": ["wallet_auth", "api_key"]
}
}{
"tests": [
{
"name": "health_liveness",
"endpoint": "/api/health",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns {ok: true} confirming the service is up",
"metrics": ["latency", "status_code"],
"validation": {"field": "ok", "type": "boolean"}
},
{
"name": "articles_directory_browse",
"endpoint": "/api/articles",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns a page of public article list items with items[] and nextCursor",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "items", "type": "array", "min_length": 0}
},
{
"name": "articles_search_query",
"endpoint": "/api/articles?q=payments&limit=10",
"method": "GET",
"headers": {},
"payload": {},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns relevance-filtered article rows for the short query term",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "items", "type": "array", "min_length": 0}
},
{
"name": "search_decision_view",
"endpoint": "/api/search",
"method": "POST",
"headers": {"Content-Type": "application/json", "User-Agent": "prowl-benchmark/1.0"},
"payload": {"schemaVersion": 3, "view": "decision", "query": "how to handle x402 v2 payment required errors", "limit": 5},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns schemaVersion 3, searchId, calibration, matched count and items array",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "schemaVersion", "type": "number"}
},
{
"name": "search_missing_query_validation",
"endpoint": "/api/search",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"schemaVersion": 3, "view": "decision"},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Rejects the request with validation_failed because query/question/q is required",
"metrics": ["status_code", "accuracy"],
"validation": {"field": "error.code", "type": "string"}
},
{
"name": "search_bare_shelf_validation",
"endpoint": "/api/search",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"schemaVersion": 3, "query": "test", "shelf": "notqualified"},
"expected_status": 400,
"intent": "validation",
"expected_behavior": "Rejects a bare shelf slug (must be org/shelf) with validation_failed",
"metrics": ["status_code", "accuracy"],
"validation": {"field": "error.code", "type": "string"}
},
{
"name": "search_shelf_unsigned_auth",
"endpoint": "/api/search",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"schemaVersion": 3, "query": "test", "shelf": "bench/shelf"},
"expected_status": 401,
"intent": "auth",
"expected_behavior": "A shelf-scoped search without a signature returns 401 unauthenticated",
"metrics": ["status_code", "accuracy"],
"validation": {"field": "error.code", "type": "string"}
},
{
"name": "router_browse_tools",
"endpoint": "/api/x402-router",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"schemaVersion": 1, "browse": "", "accepts": ["catalog"]},
"expected_status": 200,
"intent": "happy_path",
"expected_behavior": "Returns a browse response listing tools with schemaVersion and routerVersion",
"metrics": ["latency", "status_code", "accuracy"],
"validation": {"field": "schemaVersion", "type": "number"}
},
{
"name": "router_outcome_report_noop",
"endpoint": "/api/x402-router",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"schemaVersion": 1, "id": "00000000-0000-4000-8000-000000000000", "status": "fulfilled", "result": "useful"},
"expected_status": 204,
"intent": "happy_path",
"expected_behavior": "Accepts the outcome report with an empty body, no existence oracle",
"metrics": ["latency", "status_code"],
"validation": {}
},
{
"name": "router_route_returns_402_challenge",
"endpoint": "/api/x402-router/route",
"method": "POST",
"headers": {"Content-Type": "application/json"},
"payload": {"schemaVersion": 1, "query": "find a live ETH price"},
"expected_status": 402,
"intent": "happy_path",
"expected_behavior": "Paid routing endpoint returns a 402 x402 payment challenge; success = challenge correctly issued with details",
"metrics": ["laten6/12 tests passed
| Test | Endpoint | Status | Latency |
|---|---|---|---|
| health_liveness | GET /api/health | 200 | 299ms |
| articles_directory_browse | GET /api/articles | 200 | 117ms |
| articles_search_query | GET /api/articles?q=payments&limit=10 | 200 | 38ms |
| search_decision_view | POST /api/search | 200 | 1724ms |
| search_missing_query_validation | POST /api/search | 400 | 66ms |
| search_bare_shelf_validation | POST /api/search | 401 | 98ms |
| search_shelf_unsigned_auth | POST /api/search | 401 | 78ms |
| router_browse_tools | POST /api/x402-router | 200 | 1418ms |
| router_outcome_report_noop | POST /api/x402-router | 204 | 240ms |
| router_route_returns_402_challenge | POST /api/x402-router/route | 402 | 77ms |
{"model": "claude", "data": {"overall": 78, "dimensions": {"token_efficiency": 7.5, "first_try_success": 9.0, "response_parseability": 10.0, "error_clarity": 9.5, "doc_quality": 7.0, "auth_simplicity": 6.0, "latency": 8.0, "consistency": 10.0}, "pricing_normalized": {"cost_per_1k_requests": 1.0, "cost_per_1m_input_tokens": null, "cost_per_1m_output_tokens": null, "free_tier_requests": null, "estimated_monthly_cost_light": 30.0, "estimated_monthly_cost_heavy": 3000.0}, "issues": [{"severity": "medium", "detail": "Validation test 'search_bare_shelf_validation' expected 400 but got 401 - shelf search requires auth but error code semantics differ from expectation", "endpoint": "/api/search"}, {"severity": "low", "detail": "Validation test 'read_latest_word_handle_validation' expected 400 but got 404 - 'latest' keyword treated as literal slug rather than special validator rejection", "endpoint": "/api/read/{handle}/{slug}"}, {"severity": "medium", "detail": "x402 payment flow requires USDC on Base (eip155:8453) - adds complexity for agents without wallet infrastructure", "endpoint": "/api/read/{handle}/{slug}"}, {"severity": "low", "detail": "Search endpoint latency varies significantly (38ms to 1724ms) - likely depends on query complexity", "endpoint": "/api/search"}], "recommendations": ["Consider offering a small free tier (e.g., 100 requests/day) to allow agents to test integration without payment infrastructure", "Provide explicit HTTP 402 \u2192 payment \u2192 retry workflow documentation with code examples for common agent frameworks", "Add OpenAPI/Swagger spec endpoint at /api/openapi.json or /api/spec for full machine-readable contract", "Document the distinction between 400 (malformed input) vs 401 (missing auth) vs 404 (not found) for edge cases like shelf searches", "Consider adding rate limit headers (X-RateLimit-*) to help agents self-regulate usage", "Provide webhook/callback option for long-running search operations instead of blocking HTTP calls", "Add structured error field mapping for validation errors to show which specific field caused the problem", "Offer 'Sign in with Notlogin' as an auth option for verifiable agent-operator identity if handling paid operations"]}}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/tenjin">
<img src="https://prowl.world/badge/tenjin.svg" height="56" alt="Agent-readiness on Prowl">
</a>
See operational metrics, LLM evaluations, agent readiness, and more.
Open in Dashboard