Official Node/TypeScript SDK for the Infinihash KYT API.
Thin, dependency-free wrapper around the Infinihash KYT REST API (wallet screening, case management, SAR drafts).
Status: Alpha — API is stable; SDK wrapper surface may still evolve.
npm install @infinihash/kyt
# or
yarn add @infinihash/kytimport { Client } from "@infinihash/kyt"; // `KYT` is an identical alias
const client = new Client({ apiKey: process.env.INFINIHASH_KYT_KEY });
const r = await client.screen.address(
"0x722122dF12D4e14e13Ac3b6895a86e84145b6967",
"ethereum"
);
console.log(r.risk_score, r.risk_level);
const c = await client.cases.create({
address: "0x722122dF12D4e14e13Ac3b6895a86e84145b6967",
notes: "From SDK walkthrough",
});
const fincen = await client.cases.sarExportFinCEN(c.id);Create a key at kyt.infinihash.com/kyt/settings/api-keys.
Keys start with kyt_. Pass it as apiKey or set INFINIHASH_KYT_KEY; the
SDK sends it in the X-API-Key header.
- Wallet and transaction screening
- AI-generated SAR narrative and FinCEN-structured export
- Case management with SAR escalation workflow
- Webhook subscriptions
- Bulk screening, Travel Rule checks, and intelligence-graph lookups
- Full TypeScript types
Non-2xx responses throw KYTError(status, message, body). The body field
preserves the parsed JSON the server returned.
Full API reference at kyt.infinihash.com/docs.
Questions? support@infinihash.com
MIT © Infinihash LLC