Save a Trail investigation to the workspace
curl --request POST \
--url https://api.range.org/v2/investigations \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"title": "Peel chain from Binance hot wallet",
"subject_address": "0xabc...",
"subject_network": "eth",
"subject_tx_hash": "0xdef...",
"data": {
"nodes": [],
"notes": [],
"canvas": {}
}
}
'import requests
url = "https://api.range.org/v2/investigations"
payload = {
"title": "Peel chain from Binance hot wallet",
"subject_address": "0xabc...",
"subject_network": "eth",
"subject_tx_hash": "0xdef...",
"data": {
"nodes": [],
"notes": [],
"canvas": {}
}
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Peel chain from Binance hot wallet',
subject_address: '0xabc...',
subject_network: 'eth',
subject_tx_hash: '0xdef...',
data: {nodes: [], notes: [], canvas: {}}
})
};
fetch('https://api.range.org/v2/investigations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.range.org/v2/investigations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Peel chain from Binance hot wallet',
'subject_address' => '0xabc...',
'subject_network' => 'eth',
'subject_tx_hash' => '0xdef...',
'data' => [
'nodes' => [
],
'notes' => [
],
'canvas' => [
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.range.org/v2/investigations"
payload := strings.NewReader("{\n \"title\": \"Peel chain from Binance hot wallet\",\n \"subject_address\": \"0xabc...\",\n \"subject_network\": \"eth\",\n \"subject_tx_hash\": \"0xdef...\",\n \"data\": {\n \"nodes\": [],\n \"notes\": [],\n \"canvas\": {}\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.range.org/v2/investigations")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Peel chain from Binance hot wallet\",\n \"subject_address\": \"0xabc...\",\n \"subject_network\": \"eth\",\n \"subject_tx_hash\": \"0xdef...\",\n \"data\": {\n \"nodes\": [],\n \"notes\": [],\n \"canvas\": {}\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v2/investigations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Peel chain from Binance hot wallet\",\n \"subject_address\": \"0xabc...\",\n \"subject_network\": \"eth\",\n \"subject_tx_hash\": \"0xdef...\",\n \"data\": {\n \"nodes\": [],\n \"notes\": [],\n \"canvas\": {}\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"workspace_id": "workspace-123",
"title": "Peel chain from Binance hot wallet",
"status": "open",
"created_at": "2026-07-09T00:00:00.000Z",
"updated_at": "2026-07-09T00:00:00.000Z",
"data": {
"nodes": [],
"notes": [],
"canvas": {}
},
"subject_type": "address",
"subject_address": "0xabc...",
"subject_network": "eth",
"subject_tx_hash": "0xdef...",
"created_by": "analyst@range.org"
}Investigations
Save a Trail investigation to the workspace
POST
/
v2
/
investigations
Save a Trail investigation to the workspace
curl --request POST \
--url https://api.range.org/v2/investigations \
--header 'Content-Type: application/json' \
--header 'X-API-KEY: <api-key>' \
--data '
{
"title": "Peel chain from Binance hot wallet",
"subject_address": "0xabc...",
"subject_network": "eth",
"subject_tx_hash": "0xdef...",
"data": {
"nodes": [],
"notes": [],
"canvas": {}
}
}
'import requests
url = "https://api.range.org/v2/investigations"
payload = {
"title": "Peel chain from Binance hot wallet",
"subject_address": "0xabc...",
"subject_network": "eth",
"subject_tx_hash": "0xdef...",
"data": {
"nodes": [],
"notes": [],
"canvas": {}
}
}
headers = {
"X-API-KEY": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-KEY': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: 'Peel chain from Binance hot wallet',
subject_address: '0xabc...',
subject_network: 'eth',
subject_tx_hash: '0xdef...',
data: {nodes: [], notes: [], canvas: {}}
})
};
fetch('https://api.range.org/v2/investigations', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.range.org/v2/investigations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => 'Peel chain from Binance hot wallet',
'subject_address' => '0xabc...',
'subject_network' => 'eth',
'subject_tx_hash' => '0xdef...',
'data' => [
'nodes' => [
],
'notes' => [
],
'canvas' => [
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.range.org/v2/investigations"
payload := strings.NewReader("{\n \"title\": \"Peel chain from Binance hot wallet\",\n \"subject_address\": \"0xabc...\",\n \"subject_network\": \"eth\",\n \"subject_tx_hash\": \"0xdef...\",\n \"data\": {\n \"nodes\": [],\n \"notes\": [],\n \"canvas\": {}\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-KEY", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.range.org/v2/investigations")
.header("X-API-KEY", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"Peel chain from Binance hot wallet\",\n \"subject_address\": \"0xabc...\",\n \"subject_network\": \"eth\",\n \"subject_tx_hash\": \"0xdef...\",\n \"data\": {\n \"nodes\": [],\n \"notes\": [],\n \"canvas\": {}\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.range.org/v2/investigations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-KEY"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"Peel chain from Binance hot wallet\",\n \"subject_address\": \"0xabc...\",\n \"subject_network\": \"eth\",\n \"subject_tx_hash\": \"0xdef...\",\n \"data\": {\n \"nodes\": [],\n \"notes\": [],\n \"canvas\": {}\n }\n}"
response = http.request(request)
puts response.read_body{
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"workspace_id": "workspace-123",
"title": "Peel chain from Binance hot wallet",
"status": "open",
"created_at": "2026-07-09T00:00:00.000Z",
"updated_at": "2026-07-09T00:00:00.000Z",
"data": {
"nodes": [],
"notes": [],
"canvas": {}
},
"subject_type": "address",
"subject_address": "0xabc...",
"subject_network": "eth",
"subject_tx_hash": "0xdef...",
"created_by": "analyst@range.org"
}Authorizations
AuthorizationAuthorization
Authorization method required to allow user to access the api endpoints.
Body
application/json
Maximum string length:
200Example:
"Peel chain from Binance hot wallet"
Available options:
address, transaction Maximum string length:
256Example:
"0xabc..."
Maximum string length:
256Example:
"eth"
Maximum string length:
256Example:
"0xdef..."
Available options:
open, archived Trail canvas snapshot; validated leniently server-side
Example:
{ "nodes": [], "notes": [], "canvas": {} }
Response
201 - application/json
Example:
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Example:
"workspace-123"
Example:
"Peel chain from Binance hot wallet"
Available options:
open, archived Example:
"open"
Example:
"2026-07-09T00:00:00.000Z"
Example:
"2026-07-09T00:00:00.000Z"
Trail canvas snapshot (nodes, notes, canvas state)
Example:
{ "nodes": [], "notes": [], "canvas": {} }
Available options:
address, transaction Example:
"0xabc..."
Example:
"eth"
Example:
"0xdef..."
Example:
"analyst@range.org"
Last modified on September 3, 2026
Was this page helpful?