Menu

Post image 1
Post image 2
1 / 2
0

I Built a Free Public REST API for Kenya Data Counties, Banks, M-Pesa Paybills and More

DEV Community·Carter·29 days ago
#Xgk35uv7
#get#how#api#counties#region#fullscreen
Reading 0:00
15s threshold

Every developer building a Kenyan app runs into the same problem. You need a list of all 47 counties. Or all Kenyan banks with their codes. Or M-Pesa paybill numbers for KPLC, NHIF, KRA. And every time you end up manually copying data from Wikipedia or a PDF. I fixed that. I built a free public REST API that serves all of this data in one place. No authentication. No sign up. Just call the endpoint and get your data. Live API: https://kenya-api-90wq.onrender.com GitHub: https://github.com/Carter254g/kenya-api What the API Serves Four datasets available right now: All 47 Kenya counties with region and capital city All Kenyan banks with codes and SWIFT numbers M-Pesa paybill numbers by category Kenya public holidays How to Use It Get all 47 counties const res = await fetch ( ' https://kenya-api-90wq.onrender.com/api/counties ' ); const data = await res . json (); console .…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More