AI Agents

Telecom signals in an automated fraud decision

An agent making a fraud decision on its own needs a lookup response it can branch on directly: typed fields with a small set of known values, an explicit null or UNKNOWN state instead of a guess, and no free text to interpret. This page sets out that response contract field by field and how it plugs into an unattended decision.

Why a dashboard-shaped answer doesn't work for an agent

A human risk analyst reading simSwap: UNKNOWN alongside active: null understands that the number's status could not be confirmed and adjusts trust accordingly. An agent making the same call inside an automated flow has no such instinct unless that fallback is written into its branching logic in advance. The response itself has to carry enough structure for the branching to be mechanical, not inferred from tone or context the way a person would read it.

The response contract, field by field

A single carrier lookup call returns the same shape every time, regardless of what the number turns out to be:

json
{
  "phoneNumber": "+447700900002",
  "active": true,
  "carrier": "Telebase Test Carrier",
  "country": "GB",
  "numberType": "mobile",
  "simSwap": "NO_SWAP",
  "simSwapAt": "2026-09-22T09:16:03.003Z",
  "simSwapPeriod": "PT240H",
  "_meta": { "environment": "test", "activeSource": "SYNTHETIC" },
  "chargedCents": 0,
  "currency": "EUR"
}

What an agent can safely branch on

A worked example: an autonomous payout-approval step

Consider an agent that approves or holds a payout to a newly added bank detail without a person in the loop for the routine cases. Before releasing funds it runs a lookup on the payee's phone number. If the simSwap field reports SWAPPED for that number, it holds regardless of every other field, because a recent SIM swap is the single strongest signal available. This is the same logic a human analyst would apply manually when scoring risk by hand, described in more depth in building a risk score from telecom signals, just executed by the agent at the moment the payout is requested instead of afterwards in a review queue.

Treating UNKNOWN as an input, not a gap

SIM swap detection returns UNKNOWN when the provider has no answer for a number. That is the honest answer, not a placeholder to be worked around. An agent that maps UNKNOWN to NO_SWAP has invented a signal that was never returned, and one that maps it to SWAPPED will hold payouts it has no evidence against. The correct design treats UNKNOWN as "no signal here, fall back to whatever else you have", which is exactly what the field is built to communicate.

SIM swap detection

Telebase detects recent SIM swaps with a single API call.

Get sandbox access