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 .…