USSD — Africa

USSD Location Tracking in Kenya: How Little Cab Pinpoints Riders

How USSD location tracking works in Kenya, how Little Cab uses *826# to find riders without GPS, and how SMEs can replicate it with Google Places and HelloDuty.

USSD location tracking in Kenya is one of the few mobile technologies that works on every phone, every network, and without a data bundle. The most famous example is Little Cab, which lets riders hail a taxi by dialling *826# on any Safaricom line. No app. No GPS. Just a USSD menu that somehow figures out where you are. In this guide we break down how USSD location tracking actually works in Kenya, why Little Cab built it that way, and how your business can build a similar location-aware USSD application with HelloDuty without writing custom code.

What is USSD Location Tracking?

USSD (Unstructured Supplementary Service Data) is a real-time, session-based protocol used to exchange short text messages between a mobile phone and a service provider. Codes like *144#, *334# or *826# open a menu-driven session that doesn't require internet. USSD location tracking refers to the techniques used to estimate a caller's geographic position during that session, either through the mobile network itself or through a smart menu flow that asks the user to confirm a landmark.

Unlike a GPS-based ride-hail app, USSD has no native access to a phone's location sensors. Location is therefore derived in one of two ways: from the telco's view of which cell towers the SIM is connected to, or from user input combined with a places lookup. Both approaches are widely used by ride-hail, logistics, fintech, and asset tracking businesses across Africa.

How Little Cab Tracks Your Location via *826#

Little Cab (now simply Little) launched its USSD ride-hailing service in 2016 as a partnership between Safaricom and Craft Silicon, and Safaricom describes it as a first-of-its-kind USSD ride request in the world. When you dial *826#, the magic isn't on your phone, it's inside Safaricom's network.

Triangulation Across Cell Towers

Your phone is always connected to at least three nearby cell towers (the red and white masts you see on hills and rooftops). The network constantly measures signal strength and round-trip time from each tower. With three or more reference points, the mobile operator can triangulate a fairly precise latitude and longitude for the SIM, often within a few hundred metres in dense urban areas like Nairobi, Mombasa, and Kisumu where Little Cab operates.

Why Only Little Can Do This in Kenya

In practice, network-based location is gated behind the operator. Safaricom holds the cell-site database and the signalling data, so only USSD services that integrate directly with Safaricom (and pass through legal and regulatory screening from the Communications Authority of Kenya) can access location data. Independent USSD application developers are almost never granted this level of access. As GSMA reports on USSD and mobile money have noted, USSD remains the backbone of inclusive mobile services in Africa precisely because it works without GPS, even on KaiOS and feature phones.

USSD Location Tracking Without a Telco Partnership

Most businesses won't get a Safaricom location partnership, and the good news is most don't need one. For ride-hail, last-mile delivery, agricultural pickups, security checks, and customer-care routing, an approximate location, the nearest market, estate, town, or matatu stage, is usually enough. Here are the practical alternatives.

1. Google Places API for Landmark Search

Google's Places API lets you turn a typed keyword into one or more candidate locations with latitude and longitude. The three core endpoints are:

  • Find Place returns the single best match for a query like "KICC Nairobi".
  • Nearby Search returns places around a known coordinate.
  • Text Search behaves like a free-form Google Maps search.

For USSD, Find Place is the workhorse. Ask the user to type a landmark, look it up, then confirm on the next screen.

2. Cell ID Lookup via the Carrier

Some aggregators expose a basic cell-ID-to-area mapping for enterprise customers. It is less precise than triangulation but enough to route a ticket to the right regional agent or warehouse.

3. Hybrid USSD + SMS Link

A common pattern is to end the USSD session by sending the user an SMS with a short link. When they tap it, their browser shares GPS coordinates back to your server, ideal for delivery apps that need pinpoint accuracy on the drop-off.

Real-World Use Cases for USSD Location Tracking in Africa

  • Ride-hailing and boda-boda dispatch like Little Cab in Nairobi, Mombasa, and Kisumu.
  • Last-mile logistics for sacco couriers and e-commerce in regions with patchy data coverage.
  • Agricultural aggregation where farmers request a pickup of produce from the nearest collection point.
  • Asset and fleet check-ins where drivers dial a code to confirm location at a checkpoint.
  • Security and panic alerts that route to the nearest security partner.
  • Field sales and SACCO collections where agents log visits without smartphones.

Build a Location-Aware USSD Code with HelloDuty

HelloDuty lets you build a USSD application through a visual drag-and-drop flow, no developers required. You can launch a shared or dedicated USSD code in Kenya and across Africa, then plug in the integrations you need, including Google Places, your CRM, payment rails and SMS follow-ups.

  1. Register for a HelloDuty account.
  2. Create a new USSD flow and define the menu the customer will see.
  3. Add the Google Places app and map the user input to a Find Place query.
  4. Confirm the location on the next screen and trigger a webhook to your dispatch system.
  5. Publish and test on a Safaricom, Airtel, or Telkom Kenya line.

Because HelloDuty is omnichannel, the same workflow can hand off to a voice agent, a WhatsApp conversation, or an SMS follow-up if the rider needs more help.

USSD Location Tracking in Kenya: Frequently Asked Questions

Can any USSD code get my GPS location in Kenya?

No. Standard USSD has no access to phone GPS. Network-level location (cell triangulation) is held by the mobile operator, and access is granted to a small number of integrated partners like Little Cab. Most businesses approximate location through user input plus a places lookup.

Is USSD location tracking legal in Kenya?

Yes, provided the service complies with the Kenya Data Protection Act 2019 and Communications Authority of Kenya licensing. You must disclose data collection, obtain consent, and store data securely.

What is the accuracy of cell tower triangulation?

In dense Nairobi neighbourhoods, accuracy can be a few hundred metres. In rural areas with sparser tower coverage it can degrade to several kilometres, which is why Little Cab only operates in major urban centres.

Can I combine USSD with a WhatsApp or SMS handoff?

Yes. A very common pattern with HelloDuty is to start the session on USSD for accessibility, then continue on WhatsApp, SMS, or voice once the customer is identified. This keeps the experience inclusive without losing rich follow-up.

Do I need a developer to launch a location-aware USSD code?

Not with HelloDuty. You configure menus, conditions, and integrations like Google Places from the dashboard. Developers are only needed for highly custom back-end logic.

Launch Your USSD Location Service with HelloDuty

USSD remains the most inclusive channel in Kenya and across Africa because it works on every device, every network, and without internet. By pairing USSD with a smart places lookup or carrier-grade integration, your business can deliver Little-Cab-style experiences for ride-hail, delivery, field operations, and customer support. Talk to HelloDuty to build your USSD application with built-in location intelligence, or explore our guide to USSD providers in Kenya to see how the ecosystem fits together.

Last updated
June 16, 2026
Single Inbox
Pro-tip

Are you ready to get started? Sign up here for a demo of the HelloDuty CRM and customer engagement automation software now.

Pesalink - BlackSistema Bio - BlackTatu City - BlackStartimes - Black
Sunculture Logo

It works for our customer SunCulture. We help agents sell solar. It takes a few hours, not months, to design and build new ideas.

Relationships that matter.

Plan, engage, and analyse with ease. Transform your customer relationship with an all-in-one platform.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Subscribe