REST API
Realistic test data for
African software.
Names, phone numbers, locations, financial data and national IDs - accurate for Ghana, Nigeria, Kenya, South Africa and Rwanda.
GET https://api.mockafrica.com/v1/person?country=GH
{
"country": "GH",
"count": 1,
"data": [{
"name": {
"first": "Akosua",
"last": "Mensah",
"full": "Akosua Mensah"
},
"gender": "female",
"dob": "1991-03-14",
"phone": "0244871032",
"network": "MTN",
"email": "akosua.mensah91@gmail.com",
"national_id": "GHA-829341720-5"
}]
}GH
Ghana
NG
Nigeria
KE
Kenya
ZA
South Africa
RW
Rwanda
1
Demographically weighted
Names drawn from correct ethnic pools by country. Akan names dominate Ghana at 46%, Hausa at 30% in Nigeria.
2
Format-accurate
Phone prefixes, national ID structures, bank account lengths - all match official regulatory specifications.
3
No signup for basic use
100 requests per day, no API key, no account. curl it right now.
4
Zero runtime dependencies
Responses in under 10ms, every time. No cold starts, no third-party lookups, no flaky services slowing down your tests.
5
REST only, by design
Clean JSON, consistent envelope, predictable error codes. No GraphQL, no SDKs, no surprises.
6
5 countries at launch
Ghana, Nigeria, Kenya, South Africa, Rwanda. Expanding to 10 by Q3.
GET https://api.mockafrica.com/v1/person?country=NG&count=5GET https://api.mockafrica.com/v1/finance?country=KE&count=1GET https://api.mockafrica.com/v1/location?country=GH&count=10GET https://api.mockafrica.com/v1/quote?count=1GET https://api.mockafrica.com/v1/avatar?gender=female&style=gele