Kenya · +254 · billed in KES

Phone number lookup API for Kenya

Check that a +254 number is real, which network it is on and whether it can receive a message right now. Runs on the same key as your Kenya SMS and email.

Lookup in Kenya: the rules

Alphanumeric sender IDs allowedSender ID must be registered

Sender IDs must be registered with the Communications Authority of Kenya. Unregistered alphanumeric senders are rewritten rather than rejected.

Opt-out keywords honoured automatically: STOP, UNSUBSCRIBE, CANCEL, END, QUIT, ACHA, SIMAMA.

Endpoint, currency, data

Endpoint
kenya.woyra.io
Currency
KES
Dialling code
+254
Data region
global
Price
$0.004 per HLR or carrier lookup

Global

Your first Lookup call from Kenya

curl "https://kenya.woyra.io/v1/lookups/+254712345678?type=carrier" \
  -H "Authorization: Bearer $WOYRA_KEY"

# {"valid": true, "carrier": {"name": "...", "type": "mobile"}, "reachable": true}

The same key works on every endpoint. Calling kenya.woyra.io applies Kenya's rules and, where residency requires it, keeps the data in the global region.

What sending lookups to Kenya involves

Alphanumeric sender IDs, registration required · billed in KES · global data region

Is this Kenya number real?

A lookup asks the network, not a table: whether the number exists, which operator holds it today including numbers that have moved between them, and whether the handset is reachable right now. Run it at sign-up and you stop paying to send codes to numbers that were never going to receive one.

+254 numbers, in any shape

Woyra accepts the formats people and spreadsheets actually produce — spaces, hyphens, brackets, a leading 00 — and refuses only what cannot be routed. A Kenya number without its country code is refused rather than guessed at, because no system can know which country a national number belongs to.

Prepaid, with a cap you set

An account on the Kenya endpoint is billed in US dollars today. Billing in KES is where this is going, and it is a real advantage when it arrives, but a converted price needs a published rate behind it and there is not one yet, so we quote one currency rather than invent a second. Funds are reserved at the published price when a message is accepted and settled when it is delivered; a message we never deliver is never charged for, and a hard spend cap you set is enforced rather than invoiced.

Where this data lives

Global The residency of a message is decided when it is accepted and travels with it, so it cannot be moved later by a query written somewhere else.

Questions about Kenya

Which carriers does lookup recognise in Kenya?

Every mobile network operating in Kenya, including numbers that have been ported between them.

What does a lookup cost in Kenya?

$0.004, billed in KES. A format-only check is free.

Where is the looked-up number stored?

Global

What does a Kenya phone number look like in the API?

E.164: a plus, the country code +254, then the subscriber number, as in +254712345678. Woyra strips spaces, hyphens, brackets and a leading 00, but it will not guess a missing country code, because the same digits belong to a different subscriber in every country.

Which endpoint should I call for Kenya?

kenya.woyra.io, though the same API key works on every endpoint Woyra runs. Which one you call decides the compliance rules applied, the currency you are billed in, and — where residency requires it — which data plane answers.

Also in Kenya