> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Compliance (KYT / KYA)

> Built-in Know-Your-Transaction and Know-Your-Address inside the same API as the data.

Compliance checks live inside the same ChainStream API as the data itself — no second vendor, no second invoice, no second data-exfiltration surface. Score a transfer, fingerprint an address, flag a withdrawal, produce a Travel-Rule-ready summary — all from your existing integration.

<CardGroup cols={2}>
  <Card title="KYT — Know Your Transaction" icon="receipt" href="/en/docs/compliance/kyt-concepts">
    Risk-score any incoming or outgoing transfer. Returns risk bands,
    exposure categories, alert codes and the reasoning trail.
  </Card>

  <Card title="KYA — Know Your Address" icon="user-shield" href="/en/docs/compliance/kya-concepts">
    Fingerprint a counterparty address — entity tags, risk level,
    sanctions matches, historical behaviour.
  </Card>
</CardGroup>

## When you need it

<AccordionGroup>
  <Accordion title="Exchange deposit screening">
    Run every incoming deposit through KYT before crediting the user. Block
    or hold if the transfer matches sanctions lists, mixers or darknet
    markets.
  </Accordion>

  <Accordion title="Exchange withdrawal screening">
    Use the withdrawal endpoints to get a fraud-assessment score and
    network-identification breakdown for the destination address before you
    release funds.
  </Accordion>

  <Accordion title="Wallet on-ramp risk">
    Fingerprint addresses that interact with your wallet before allowing
    swaps, staking or deposits.
  </Accordion>

  <Accordion title="Travel-Rule reporting">
    Export per-transfer summaries that match the fields regulators require
    for FATF Travel-Rule messages.
  </Accordion>

  <Accordion title="DeFi front-end responsibility">
    Before signing, surface the risk band of the counterparty pool,
    token creator or receiving address.
  </Accordion>
</AccordionGroup>

## How compliance fits alongside the data

KYT and KYA are just more data products — queried the same way as tokens, trades and wallets. That means you can:

* Attach KYT results to every row in your **Trades** and **Transfers** pipeline
* Join KYA entity labels against **Wallets** and **Smart Money** cohorts
* Run compliance filters inside the same **GraphQL** query that pulls your primary data
* Consume **Kafka** transfer topics together with REST-scored risk data, side-by-side

## Start here

<CardGroup cols={3}>
  <Card title="KYT concepts" icon="receipt" href="/en/docs/compliance/kyt-concepts">
    What KYT returns, how risk is computed, what each field means.
  </Card>

  <Card title="KYA concepts" icon="user-shield" href="/en/docs/compliance/kya-concepts">
    How addresses are fingerprinted and what labels ChainStream assigns.
  </Card>

  <Card title="Integration guide" icon="plug" href="/en/docs/compliance/integration-guide">
    Step-by-step wiring into deposit, withdrawal and on-chain flows.
  </Card>

  <Card title="KYT API Reference" icon="code" href="/en/api-reference/overview">
    Every endpoint — address, transfer, withdrawal, alerts, exposures.
  </Card>

  <Card title="Deposit-check tutorial" icon="graduation-cap" href="/en/docs/tutorials/integrate-deposit-check">
    End-to-end tutorial that plugs KYT into a real deposit flow.
  </Card>

  <Card title="Data privacy" icon="shield" href="/en/docs/platform/security/data-privacy">
    Data handling and retention for compliance payloads.
  </Card>
</CardGroup>
