Skip to content

AML

The AML reports that phones send through the SMSCs' AML accounts.

List AML Reports

Returns the AML reports that phones sent through the SMSCs.

Method Path
GET /api/v1/aml

Query Parameters

Name Description
msisdn Only reports from this phone.
after Only reports with a greater id.
limit 1 to 500. Default: 100.
order asc, oldest first, or desc, newest first. Default: asc.
wait Seconds, 0 to 30, to wait for a matching report when there is none yet. On timeout, items is empty. Default: 0.

Response Fields

Field Type Description
items array The reports.
items[].id integer ID of the report.
items[].msisdn string The phone.
items[].smsc string The SMSC.
items[].raw string The AML message, decoded.
items[].encoding string text: a data_coding read as text. packed: binary, packed GSM 7-bit. packed_big_endian: binary, packed GSM 7-bit in the legacy big-endian order. octets: binary, one GSM 7-bit character per octet, or no form starts with the header.
items[].version string The interface version of the header.
items[].latitude, items[].longitude number Degrees, WGS 84. null when missing or malformed.
items[].radius integer Metres. null when N, missing or malformed.
items[].time_of_positioning string When the phone determined its location. null when missing or malformed.
items[].confidence integer Percent. null when missing or malformed.
items[].method string The pm value: G (GNSS), W (Wi-Fi), C (cell) or N (no location). Empty when missing.
items[].imsi, items[].imei string IMSI of the SIM, IMEI of the phone. Empty when missing.
items[].mcc, items[].mnc string MCC and MNC of the network the phone used. Empty when missing.
items[].findings array The rules the report breaks. See Findings.
items[].created_at string Time the report was received.

Findings

The fields of one finding.

Field Type Description
rule string ID of the rule, such as AML-5.
severity string error, a shall of the spec, or warning, a should.
attribute string The AML attribute, such as top.
value string The attribute's value, empty when missing.
message string What is wrong.
citation string The clause or table of ETSI TS 103 625.

Sample Response

{
    "result": {
        "items": [
            {
                "id": 1,
                "msisdn": "15551230001",
                "smsc": "ella-smsc",
                "raw": "A\"ML=1;lt=+45.42153;lg=-75.69719;rd=18;lc=68;pm=G;top=20261201142642;si=001010000000001;ei=356708041746734;mcc=001;mnc=01;ml=128",
                "encoding": "packed",
                "version": "1",
                "latitude": 45.42153,
                "longitude": -75.69719,
                "radius": 18,
                "time_of_positioning": "2026-12-01T14:26:42Z",
                "confidence": 68,
                "method": "G",
                "imsi": "001010000000001",
                "imei": "356708041746734",
                "mcc": "001",
                "mnc": "01",
                "findings": [],
                "created_at": "2026-12-01T14:26:43.000Z"
            }
        ]
    }
}

Get an AML Report

Returns one AML report, with the location it carries and any findings.

Method Path
GET /api/v1/aml/{id}