POST /analyze is the core endpoint. Send a JSON body with a transaction hash and receive a versioned TxReport containing the complete analysis — intent classification, token economics, flow attribution, and more.
Request
URL:https://paralens-production.up.railway.app/analyzeMethod:
POSTContent-Type:
application/json
Body Parameters
string
required
A 32-byte Ethereum transaction hash with a
0x prefix. Must be exactly 66 characters total (the 0x prefix followed by 64 lowercase hex characters).Example: 0x48f1494c42c04e0f6243970b1dfab3a2b17b9d27ba65682e68e384c11752cf18string
Chain identifier for the network the transaction belongs to. Defaults to
ethereum if omitted.Accepted values: ethereum, mainnet, eth, 1Example Request
Response
Success — 200 OK
Returns a TxReport JSON object. See TxReport Schema for the full field reference.
Client Error — 400 Bad Request
Returned when the request body is malformed, the hash is invalid, or the chain is not supported.
Upstream Error — 502 Bad Gateway
Returned when ParaLens is running but the RPC node, trace API, or analysis engine encountered an error.
Example Response (truncated)
Code Examples
Responses are not cached server-side. The same hash can be analyzed multiple times; each call fetches fresh trace data from the RPC node. Because confirmed Ethereum transactions are immutable, consider caching responses on your side — keyed by
tx_hash — to avoid redundant network round-trips and reduce latency for repeat lookups.