<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: gransabi009-source</title>
    <description>The latest articles on DEV Community by gransabi009-source (@gransabi009source).</description>
    <link>https://dev.to/gransabi009source</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3968628%2F4162058e-12ae-4c44-b784-df9b045cc2b1.png</url>
      <title>DEV Community: gransabi009-source</title>
      <link>https://dev.to/gransabi009source</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/gransabi009source"/>
    <language>en</language>
    <item>
      <title>How I Built a Phone Validator API for Africa (Where Twilio Fails)</title>
      <dc:creator>gransabi009-source</dc:creator>
      <pubDate>Thu, 04 Jun 2026 16:44:48 +0000</pubDate>
      <link>https://dev.to/gransabi009source/how-i-built-a-phone-validator-api-for-africa-where-twilio-fails-23o9</link>
      <guid>https://dev.to/gransabi009source/how-i-built-a-phone-validator-api-for-africa-where-twilio-fails-23o9</guid>
      <description>&lt;p&gt;Twilio and NumVerify are great. Until you try to validate an African phone number.&lt;/p&gt;

&lt;p&gt;I found this out the hard way. Carrier detection fails. Number formats are wrong. Line types are inaccurate.&lt;/p&gt;

&lt;p&gt;So I built my own.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The Problem&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Most validation APIs were built for US and European numbers. When you try:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Vodacom Mozambique (84, 85)&lt;/li&gt;
&lt;li&gt;Movitel Mozambique (86, 87)
&lt;/li&gt;
&lt;li&gt;Unitel Angola (923, 925)&lt;/li&gt;
&lt;li&gt;Safaricom Kenya (71, 72, 79)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;They often return wrong carriers or mark valid numbers as invalid.&lt;/p&gt;

&lt;p&gt;&lt;em&gt;The Solution&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Phone Validator API — built specifically for Africa and Lusophone countries.&lt;/p&gt;

&lt;p&gt;Features&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;✅ 25 countries with full carrier detection&lt;/li&gt;
&lt;li&gt;✅ Mobile vs landline vs toll-free&lt;/li&gt;
&lt;li&gt;✅ Automatic country detection&lt;/li&gt;
&lt;li&gt;✅ E.164 normalization&lt;/li&gt;
&lt;li&gt;✅ Free tier available&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;em&gt;Supported Countries&lt;/em&gt; (25)&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Region&lt;/th&gt;
&lt;th&gt;Countries&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Lusophone&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;🇲🇿 🇦🇴 🇧🇷 🇵🇹 🇨🇻 🇬🇼 🇸🇹 🇹🇱&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Africa&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;🇿🇦 🇳🇬 🇰🇪 🇹🇿 🇬🇭 🇪🇹 🇿🇼 🇿🇲 🇺🇬 🇨🇮 🇸🇳 🇨🇲 🇷🇼 🇪🇬 🇲🇦 🇩🇿&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;strong&gt;Europe&lt;/strong&gt;&lt;/td&gt;
&lt;td&gt;🇮🇹&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;👉 &lt;strong&gt;Live Demo:&lt;/strong&gt; &lt;a href="https://gransabi009-source.github.io/phone-validator-api" rel="noopener noreferrer"&gt;Try it here&lt;/a&gt;&lt;/p&gt;

</description>
      <category>api</category>
      <category>backend</category>
      <category>showdev</category>
      <category>sideprojects</category>
    </item>
  </channel>
</rss>
