/analyze is processed independently — no sessions, no wallet indexing, no persistent state. You POST a transaction hash and receive a TxReport.
Base URLs
Endpoints Summary
See GET /health and POST /analyze for full endpoint documentation.
Authentication
No authentication is required today. Future clients should send anx-api-key: <api-key> header when key-based access is introduced.
Browser clients can call ParaLens directly — CORS is permissive. However, production applications should route requests through a backend proxy to avoid exposing any future credentials and to centralize request handling.
Request Format
All requests to/analyze must include the Content-Type: application/json header. The request body must be valid JSON.
Response Format
All responses are returned asapplication/json. A successful analysis returns a TxReport object. Failures return a JSON error object:
Status Codes
Schema Versioning
EveryTxReport includes a schema_version integer field, currently set to 1. Clients should read this field before parsing the rest of the response.
- Additive changes (new optional fields) are made without bumping the version.
- Structural or breaking changes increment
schema_version.
schema_version if your client depends on specific top-level structure.