Skip to main content

What is Artu?

Artu is a compliance platform for managing anti-money laundering (AML) requirements in Mexico. It handles client management, transaction tracking, document storage, and regulatory alert generation across multiple compliance tracks — from LFPIORPI Actividad Vulnerable activities to CNBV-regulated entities.

Two ways to integrate

HTTP API

Call the REST API directly from any language. Authenticate with an API key and the X-Environment header. The interactive playground lets you try every endpoint without leaving the docs.

TypeScript SDK

The recommended path for TypeScript and JavaScript projects. Full type safety, async iterators, scoped model types, and convenient helpers built on top of the HTTP API.

Key concepts

Scopes

Scopes partition data and select the regulatory fields that apply. Pick the right scope for your compliance track — MX:AV:AVI, MX:CNBV:TRANSMISOR, and more.

Environments

Every request targets either test (sandbox) or live (production). Test data is fully isolated.

API Keys

Keys are scoped to an environment and carry role-based permissions. Generate them from the dashboard.

Quick example

Install the SDK and create your first client in a few lines:
import { ComplianceSDK, ClientType } from "@artu-ai/compliance-sdk";

const sdk = new ComplianceSDK({
  apiKey: process.env.ARTU_API_KEY,
  environment: "test",
  scope: "MX:AV:AVI", // optional — constrains data and types to a single scope
});

// Create a client
const client = await sdk.clients.create({
  type: ClientType.Individual,
  name: "Juan García",
});

// Iterate through all transactions (pagination handled automatically)
for await (const txn of sdk.transactions.iterate()) {
  console.log(txn.id, txn.amount);
}

Resources

ResourceDescription
sdk.clientsManage clients (individuals, companies, trusts)
sdk.transactionsRecord and track financial transactions
sdk.addressesManage client addresses
sdk.contactMethodsManage client contact methods (email, phone)
sdk.bankAccountsManage client bank accounts
sdk.documentsUpload and manage client documents
sdk.alertsGenerate regulatory alerts

Where to go next

Quick Start

Make your first request in 5 minutes — curl and TypeScript paths side by side.

Scopes overview

Understand how scopes partition data and which fields each compliance track exposes.

TypeScript SDK reference

Constructor options, resource managers, scoped sub-exports, and type exports.

API Reference

Interactive HTTP reference with authentication details and full endpoint list.