Skip to main content
POST
Create investigation
Creates an investigation record and, if no prior analysis exists for the wallet, triggers a background risk analysis via the tracker service.

Standard vs incremental analysis

By default, the analysis runs in standard mode: the API polls the tracker until the full result is ready, then stores it. The response includes the complete transaction graph. When you pass "incremental": true, the tracker performs a layer-by-layer BFS analysis. Each depth layer is persisted independently so you can poll for partial results while the analysis is still running.

Request body

Response

The analysis_id may be empty initially if the analysis record is still being created in the background. Poll the investigation endpoint to get the updated analysis_id.

Polling for incremental results

When incremental: true, use these endpoints to track progress and fetch layer results as they complete:
  1. Poll progressGET /v1/analysis/{analysisId}/progress
  2. Fetch layerGET /v1/analysis/{analysisId}/layers/{layer}
See Get analysis progress and Get layer result for details.

Analysis progress

Poll the current layer progress and provisional risk score.

Layer results

Fetch the cumulative graph and patterns for a specific depth layer.

Authorizations

x-api-key
string
header
required

Enter the full value with the ApiKey prefix. Example: ApiKey wavy_your-api-key. The prefix is required for authentication.

Path Parameters

projectId
string
required

The project ID

Body

application/json
name
string
required

Investigation name

wallet
string
required

Wallet address to investigate

chainId
string

Chain ID (defaults to '1' if not provided)

incremental
boolean
default:false

When true, runs a layer-by-layer incremental analysis. Each BFS depth layer is persisted independently so you can poll for partial results while the analysis is still running.

Response

Investigation created

success
boolean
data
object