Skip to content
WalletDNA

API Reference

Screen and analyze any crypto wallet programmatically, with signed webhooks for continuous re-screening. Available on the Advanced and Enterprise plans. OpenAPI spec ↗

Authentication

Pass your API key in one of two ways:

# Header (recommended)
X-Api-Key: wdna_your_key_here

# Or as a Bearer token
Authorization: Bearer wdna_your_key_here

Generate keys in Developer → API Keys. Keys are shown only once — store them securely.

Base URL

https://walletdna.com

Endpoints

POST/api/v1/screenScreen wallets → allow / review / block

The screening primitive: pass one address, or up to 25 in addresses, and get a decision your policy engine, Travel-Rule flow, or KYT step can act on. Optional thresholds map the risk score to review/block (a sanctions hit or a known mixer always blocks). Each address counts as one call.

Request

curl -X POST https://walletdna.com/api/v1/screen \
  -H "X-Api-Key: wdna_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "address": "0x722122dF12D4e14e13Ac3b6895a86e84145b6967",
    "thresholds": { "review": 50, "block": 80 }
  }'

Response

{
  "result": {
    "address":   "0x722122dF12D4e14e13Ac3b6895a86e84145b6967",
    "chain":     "ETH",
    "riskScore": 96,
    "riskLabel": "CRITICAL",
    "decision":  "block",
    "sanctioned": { "hit": true, "authorities": ["OFAC"] },
    "category":  "sanctioned",
    "entity":    { "name": "Tornado Cash", "type": "Threat Actor" },
    "partial":   null,
    "screenedAt": "2026-06-22T18:30:00.000Z"
  },
  "thresholds": { "review": 50, "block": 80 }
}

Batch: send {"addresses": ["0x…", "0x…"]} (max 25) → { "results": [...], "count": n }.

Name the chain for anything that is not Ethereum mainnet. Every EVM address looks identical, so an entry may be an object instead of a string: {"addresses": [{"address": "0x…", "chain": "ARB"}]}. Accepted for ETH, ARB, OP, BASE, MATIC, BNB and AVAX. Everything else is identified from the address itself, and naming a chain that contradicts it returns that entry as {"error": "chain_mismatch"} rather than screening it against the wrong chain. Omit the field and a 0x address is treated as Ethereum.

Check partial before acting on a low score. It is null when every source behind the verdict answered. When a source could not be read it names them instead, and the score is still reported exactly as computed rather than padded upward, so a quiet result may reflect missing data rather than low risk:

"partial": {
  "sources": ["transaction list (BlockCypher)"],
  "note": "This verdict rests on an incomplete analysis: transaction list (BlockCypher) could not be read. A low score may reflect missing data rather than low risk, so re-screen before acting on an allow."
}

The counterparty signals carry the heaviest weight in the score, and they are derived from the transaction list, so losing it is the degradation most likely to move a verdict. Treat a partial allow as unscreened and retry it.

POST/api/v1/transactionScreen a transaction’s counterparties

Transaction-level screening for a deposit or withdrawal you have a hash for. It resolves the transaction, reads the native and ERC-20 transfers out of it, and screens every party that is not you, returning one decision for the whole transaction alongside the detail behind it.

Pass subject as your own address and it is excluded from the counterparties, so a deposit screens the sender and a withdrawal screens the destination. Leave it out and both sides come back. One API call per transaction, however many counterparties it has, because screening a party costs us nothing once the transaction is resolved.

Chains: ETH, BNB, MATIC, AVAX, BASE, ARB, OP, TRX, BTC, XRP, SOL, LTC. TRON covers native TRX and TRC-20, so a USDT deposit screens the same way an ERC-20 one does. Transaction ids are accepted with or without a leading 0x, since TRON and Bitcoin write them without and the EVM chains write them with.

Bitcoin and Litecoin are UTXO chains and the response says so. A transaction spends a set of inputs and creates a set of outputs, and no single input sends to a given output, so each entry in transfers carries from: null and the senders appear in counterparties with role sender instead. Solana is read from balance changes rather than by decoding instructions, so a transfer through any program is caught and SPL amounts are attributed to the wallet that owns the token account rather than to the account itself. Parties with no address at all, a coinbase input or an OP_RETURN output, are reported as unscreenable rather than ignored.

Request

curl -X POST https://walletdna.com/api/v1/transaction \
  -H "X-Api-Key: wdna_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "hash":    "0xb677c6e615ea9720384fc7bd013b4b0c079e5cf9d53ff457dca9ffc73020c59f",
    "chain":   "ETH",
    "subject": "0x28c6c06298d514db089934071355e5743bf21d60"
  }'

Response

{
  "hash":        "0xb677c6e6…c59f",
  "chain":       "ETH",
  "found":       true,
  "success":     true,
  "blockNumber": 26281512,
  "subject":     "0x28c6c06298d514db089934071355e5743bf21d60",
  "decision":    "block",
  "transfers": [
    { "asset": "0xdac17f958d2ee523a2206206994597c13d831ec7",
      "from":  "0xa45c857adb…", "to": "0x28c6c06298…", "value": "1096000000" }
  ],
  "counterparties": [
    { "address": "0xdcbeffbecce100cce9e4b153c4e15cb885643193",
      "role":    "recipient",
      "verdict": {
        "decision":   "block",
        "riskScore":  82,
        "riskLabel":  "CRITICAL",
        "category":   "sanctioned",
        "sanctioned": { "hit": true, "authorities": ["OFAC"] },
        "entity":     { "name": "Roman SEMENOV (OFAC SDN)", "type": "threat" }
      } }
  ],
  "basis": "screening",
  "note":  "Screening covers the sanctions lists and our attribution set. It is not a full wallet analysis…"
}

The score is screening-grade and will not always equal a full analysis. It is computed from the sanctions lists and the entity type alone. A full analysis of the same address additionally applies wallet age, activity history and attribution-confidence adjustments, which typically move the number by ten to twenty-five points in either direction and can occasionally straddle your block threshold. Where the two must agree, treat /api/v1/screen as authoritative and this endpoint as the fast gate in front of it.

What a clean result means. basis: "screening" says the counterparty was checked against the sanctions lists and our attribution set. Nobody examined its transaction history or its counterparty exposure. An allow is “not on a list and not a known entity”, which is not the same claim as “analysed and found clean”. For that, run /api/v1/screen on the address.

Up to 100 parties are screened, senders first. If a transaction has more, counterpartiesTruncated is true and counterpartiesTotal tells you how many there were: a partial screen reporting allow would otherwise look identical to a clean one. A transaction directed at an address is screened whether or not it moved value, so a zero-value call to a sanctioned address still blocks. A reverted transaction returns success: false with the parties screened anyway. Unknown hash gives 404, an unsupported chain gives 400, and a chain we could not reach gives 503 so you can retry rather than treat it as a clean result.

POST/api/analyzeFull analysis of a single wallet

Request

curl -X POST https://walletdna.com/api/analyze \
  -H "X-Api-Key: wdna_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{"wallet": "1A1zP1eP5QGefi2DMPTfTL5SLmv7Divf6Y"}'

Response

{
  "wallet":     "1A1zP1eP5QGefi2DMPTfTL5SLmv7Divf6Y",
  "chain":      "BTC",
  "balance":    "72.31337 BTC",
  "confidence": "verified",
  "entity": {
    "name":   "Satoshi Genesis Block",
    "type":   "Exchange",
    "source": "walletdna-verified"
  },
  "tags": [
    "Chain: BTC",
    "Veteran wallet (since 2009)",
    "Whale (72 BTC)"
  ],
  "riskScore": {
    "score":   12,
    "label":   "LOW",
    "color":   "#22c55e",
    "factors": ["No risk signals detected"],
    "breakdown": [...]
  },
  "analysisId": "uuid",
  "evidence":   [...],
  "summary":    "Unique DNA found for 1A1zP1…"
}
POST/api/analyze/batchAnalyze up to 20 wallets at once — Advanced & Enterprise

Request

curl -X POST https://walletdna.com/api/analyze/batch \
  -H "X-Api-Key: wdna_your_key_here" \
  -H "Content-Type: application/json" \
  -d '{
    "wallets": [
      "1A1zP1eP5QGefi2DMPTfTL5SLmv7Divf6Y",
      "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
    ]
  }'

Response

{
  "results": [
    { "wallet": "1A1z...", "chain": "BTC", ... },
    { "wallet": "0xd8...", "chain": "ETH", ... }
  ],
  "count": 2
}

Webhooks — continuous re-screening

Register HTTPS endpoints in Developer → Webhooks. Any wallet you monitor is re-screened daily; when its risk crosses into high/critical or it lands on a sanctions list, WalletDNA POSTs a signed event so the change flows into your stack — you're not a one-time check, you're always on. Transaction activity is checked hourly and delivered as wallet.activity.

Event types

wallet.risk_changed · wallet.sanctioned · wallet.tainted_source · wallet.activity

wallet.activity is opt-in per monitored wallet (activityWebhookEnabled) and independent of the email toggle, so you can receive events without the emails. It has no daily cap — a busy address delivers on every hourly check. data.transactions lists up to 10 newest-first with data.totalNew carrying the real count.

Delivery & retries

A network error, timeout, 429 or 5xx is retried once after 2 seconds; a 4xx is treated as a deliberate rejection and is not retried. The retry carries a byte-identical body — same id, same signature — so it can never contain anything the first attempt did not. Delivery is therefore at-least-once: dedupe on the top-level id.

Payload

POST https://your-endpoint.example.com
WalletDNA-Event: wallet.sanctioned
WalletDNA-Signature: t=1750617000,v1=4f8c…hexhmac

{
  "id":   "evt_3f8c1d2e9a7b4c5d6e7f8a9b",
  "type": "wallet.sanctioned",
  "created": 1750617000,
  "data": {
    "address":   "0x722122dF…6967",
    "chain":     "ETH",
    "riskScore": 96,
    "decision":  "block",
    "sanctioned": { "hit": true, "authorities": ["OFAC"] },
    "previousScore": 41,
    "monitorId": "uuid",
    "reportUrl": "https://walletdna.com/report/uuid"
  }
}

Verify the signature

Recompute the HMAC over ${t}.${rawBody} with your endpoint secret (whsec_…) and compare to v1:

import crypto from "crypto";

function verify(rawBody, header, secret) {
  const [t, v1] = header.split(",").map(p => p.split("=")[1]);
  const expected = crypto.createHmac("sha256", secret)
    .update(`${t}.${rawBody}`).digest("hex");
  return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(v1));
}

Return any 2xx to acknowledge. Reject if the timestamp is older than ~5 minutes to prevent replay.

Errors

StatusCodeMeaning
401UnauthorizedMissing or invalid API key
403ForbiddenPlan doesn't include this endpoint
429rate_limitedMonthly call limit reached
400Bad RequestMissing or invalid wallet address

Rate Limits

PlanCalls / monthBatch
Advanced10,000Yes (25 per request)
EnterpriseUnlimitedYes (25 per request)

Supported Chains

Chain is auto-detected from the address format. Supported: BTC, ETH, SOL, XRP, TRX, BNB, MATIC, LTC, ADA, DOT, AVAX, ATOM, XLM, BASE, ARB, OP, TON, SUI.

MCP Server — for AI agents

Drive WalletDNA from MCP-compatible clients (Claude Desktop, Cursor, agents). The server (in mcp/ in the repo) exposes analyze_wallet, trace_funds, and screen_wallets as tools.

{
  "mcpServers": {
    "walletdna": {
      "command": "node",
      "args": ["/path/to/walletdna/mcp/walletdna-mcp.mjs"],
      "env": { "WALLETDNA_API_KEY": "wdna_your_key_here" }
    }
  }
}

Run npm install in mcp/ first. trace_funds works without a key.

SDKs

Dependency-free official clients wrap screening, batch screening, webhook management, and HMAC signature verification. Source lives in sdks/ in the repo.

JavaScript / TypeScript

import { WalletDNA } from "walletdna-sdk";

const wdna = new WalletDNA(process.env.WALLETDNA_API_KEY);
const { decision } = await wdna.screen("0x722122dF12D4e14e13Ac3b6895a86e84145b6967");
if (decision === "block") rejectDeposit();

Python

from walletdna import WalletDNA

wdna = WalletDNA(os.environ["WALLETDNA_API_KEY"])
verdict = wdna.screen("0x722122dF12D4e14e13Ac3b6895a86e84145b6967")
if verdict["decision"] == "block":
    reject_deposit()

No-code — Zapier & Make

Connect screening and webhook events to 7,000+ apps without writing code.

Zapier

The Zapier app (in integrations/zapier/) ships a Screen Wallet action and a Wallet Risk or Sanctions Change trigger. Authenticate with your wdna_… key, then build Zaps like: new row in Sheets → Screen Wallet → if block, alert Slack.

Make (HTTP + Webhooks)

No dedicated app needed — use Make's built-in modules:

  • Screen: an HTTP → Make a request module, POST https://walletdna.com/api/v1/screen, header Authorization: Bearer wdna_…, JSON body { "address": "0x…" }. Branch on result.decision.
  • Receive events: add a Webhooks → Custom webhook module, copy its URL, then register it once via POST /api/webhooks (or the SDK). Events arrive as { id, type, created, data }.

Verify the WalletDNA-Signature header on received events (see the Webhooks section). The SDKs do this for you.

Ready to integrate?
Generate your API key in Developer.
Get API key ↗
© 2026 WalletDNA™ · Home