curl --request POST \
--url https://pro-api.nikiwa.com/api/tools/get_token_flows \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token_address": "<string>",
"network": "<string>",
"label": "smart_money"
}
'import requests
url = "https://pro-api.nikiwa.com/api/tools/get_token_flows"
payload = {
"token_address": "<string>",
"network": "<string>",
"label": "smart_money"
}
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({token_address: '<string>', network: '<string>', label: 'smart_money'})
};
fetch('https://pro-api.nikiwa.com/api/tools/get_token_flows', 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_token_flows",
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([
'token_address' => '<string>',
'network' => '<string>',
'label' => 'smart_money'
]),
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_token_flows"
payload := strings.NewReader("{\n \"token_address\": \"<string>\",\n \"network\": \"<string>\",\n \"label\": \"smart_money\"\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_token_flows")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"token_address\": \"<string>\",\n \"network\": \"<string>\",\n \"label\": \"smart_money\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pro-api.nikiwa.com/api/tools/get_token_flows")
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 \"token_address\": \"<string>\",\n \"network\": \"<string>\",\n \"label\": \"smart_money\"\n}"
response = http.request(request)
puts response.read_body{
"type": "token_flows",
"data": [
{
"date": "2026-01-31",
"price_usd": 2.5,
"token_amount": 100,
"value_usd": 250,
"holders_count": 12,
"total_inflows_count": 5,
"total_outflows_count": 2,
"net_flow": 3
}
],
"summary": {
"total_data_points": 1,
"total_inflows": 5,
"total_outflows": 2,
"net_flow": 3,
"total_value_usd": 250
},
"metadata": {
"token_address": "0x3333333333333333333333333333333333333333",
"tool": "token_flows",
"label": "smart_money"
},
"label_used": "smart_money"
}get_token_flows
Token flows by cohort. label: smart_money/whale/exchange/public_figure/top_100_holders.
curl --request POST \
--url https://pro-api.nikiwa.com/api/tools/get_token_flows \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"token_address": "<string>",
"network": "<string>",
"label": "smart_money"
}
'import requests
url = "https://pro-api.nikiwa.com/api/tools/get_token_flows"
payload = {
"token_address": "<string>",
"network": "<string>",
"label": "smart_money"
}
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({token_address: '<string>', network: '<string>', label: 'smart_money'})
};
fetch('https://pro-api.nikiwa.com/api/tools/get_token_flows', 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_token_flows",
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([
'token_address' => '<string>',
'network' => '<string>',
'label' => 'smart_money'
]),
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_token_flows"
payload := strings.NewReader("{\n \"token_address\": \"<string>\",\n \"network\": \"<string>\",\n \"label\": \"smart_money\"\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_token_flows")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"token_address\": \"<string>\",\n \"network\": \"<string>\",\n \"label\": \"smart_money\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pro-api.nikiwa.com/api/tools/get_token_flows")
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 \"token_address\": \"<string>\",\n \"network\": \"<string>\",\n \"label\": \"smart_money\"\n}"
response = http.request(request)
puts response.read_body{
"type": "token_flows",
"data": [
{
"date": "2026-01-31",
"price_usd": 2.5,
"token_amount": 100,
"value_usd": 250,
"holders_count": 12,
"total_inflows_count": 5,
"total_outflows_count": 2,
"net_flow": 3
}
],
"summary": {
"total_data_points": 1,
"total_inflows": 5,
"total_outflows": 2,
"net_flow": 3,
"total_value_usd": 250
},
"metadata": {
"token_address": "0x3333333333333333333333333333333333333333",
"tool": "token_flows",
"label": "smart_money"
},
"label_used": "smart_money"
}Reading the result
The response example uses made-up values and shows selected fields. Fields vary by network and available data.-
datais a time series for a holder category. Each row includes price, token amount, USD value, holder count, and transaction counts. -
net_flowis the number of inflow transactions minus outflow transactions. It is not a token amount or USD value. -
label_usedidentifies the category returned. If the requested category had no data,label_requestedandnoteexplain the fallback.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Exact token contract address or mint on the selected network; resolve a ticker first.
Network to query, for example ethereum. See Supported Networks for coverage.
Flow cohort: smart_money, whale, exchange, public_figure, or top_100_holders.
Response
Token flows by cohort. label: smart_money/whale/exchange/public_figure/top_100_holders. 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?