API Reference
Web Interface
The interactive web UI is available at GET /. Enter any entity name to begin an investigation.
Chat (SSE Stream)
POST /chat
Content-Type: application/json
{
"message": "Acme Holdings Ltd",
"mode": "full",
"jurisdiction": "UK"
}
Returns a Server-Sent Events stream with the following event types:
think_start— Investigation beginningreasoning— Analyst's internal reasoning texttool_call— Structured tool invocationtool_result— Tool response summarythink_end— Reasoning phase completeanswer_text— Final markdown reportdone— Investigation complete (with token/TPS stats)
x402 Paid API
Programmatic access is available via the Etch Labs x402 node surface:
POST /screen— Quick screen (sanctions + PEP)POST /investigate— Full due diligence reportGET /health— Node health check
All paid endpoints require a valid x402 payment header. See the Etch Labs documentation for gateway details.