get_wallet_transaction_patterns
curl --request POST \
--url https://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"network": "ethereum"
}
'import requests
url = "https://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns"
payload = {
"address": "<string>",
"network": "ethereum"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({address: '<string>', network: 'ethereum'})
};
fetch('https://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns', 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://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns",
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([
'address' => '<string>',
'network' => 'ethereum'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns"
payload := strings.NewReader("{\n \"address\": \"<string>\",\n \"network\": \"ethereum\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"address\": \"<string>\",\n \"network\": \"ethereum\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"address\": \"<string>\",\n \"network\": \"ethereum\"\n}"
response = http.request(request)
puts response.read_body{
"type": "transaction_patterns",
"network": "ethereum",
"flags": [],
"summary": {
"native_tx_analyzed": 12,
"token_tx_analyzed": 4,
"time_span_days": 30,
"incoming_count": 7,
"outgoing_count": 5,
"failed_count": 0,
"unique_counterparties": 6,
"unique_tokens": 2
},
"status": "success"
}Tools
get_wallet_transaction_patterns
Behavioral transaction patterns for a wallet (activity cadence, flow patterns).
POST
/
api
/
tools
/
get_wallet_transaction_patterns
get_wallet_transaction_patterns
curl --request POST \
--url https://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"address": "<string>",
"network": "ethereum"
}
'import requests
url = "https://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns"
payload = {
"address": "<string>",
"network": "ethereum"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({address: '<string>', network: 'ethereum'})
};
fetch('https://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns', 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://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns",
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([
'address' => '<string>',
'network' => 'ethereum'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$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://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns"
payload := strings.NewReader("{\n \"address\": \"<string>\",\n \"network\": \"ethereum\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"address\": \"<string>\",\n \"network\": \"ethereum\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pro-api.nikiwa.com/api/tools/get_wallet_transaction_patterns")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"address\": \"<string>\",\n \"network\": \"ethereum\"\n}"
response = http.request(request)
puts response.read_body{
"type": "transaction_patterns",
"network": "ethereum",
"flags": [],
"summary": {
"native_tx_analyzed": 12,
"token_tx_analyzed": 4,
"time_span_days": 30,
"incoming_count": 7,
"outgoing_count": 5,
"failed_count": 0,
"unique_counterparties": 6,
"unique_tokens": 2
},
"status": "success"
}Reading the result
The response example uses made-up values and shows selected fields. Fields vary by network and available data.-
summarydescribes the transactions analyzed, which may be a limited recent sample. -
flagscontains detected patterns. EVM entries useflag,confidence, anddetail; an empty array means no pattern was detected in the sample. - Bitcoin, Solana, and Tron return network-specific statistics and flags.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
Behavioral transaction patterns for a wallet (activity cadence, flow patterns). Fields vary by network and available data. Check for status: no_data, status: error, or an error field even when HTTP status is 200. See Errors & status.
Response fields depend on the network and available data. The example shows selected fields; see Reading the result for details.
Was this page helpful?