Tax calculation infrastructure for 54 African countries. Build payroll, HR, and fintech products with accurate PAYE, VAT, and compliance data.
Go from zero to production in minutes.
Sign up for a free account and generate an API key from your dashboard. No credit card required.
Send a POST request to our calculate endpoint with your tool ID and inputs. Get structured JSON results instantly.
Upgrade to Pro or Enterprise when you need higher limits, SLA guarantees, and dedicated support.
Calculate Nigerian PAYE tax in one API call.
curl -X POST https://afrotools.com/api/v1/calculate \ -H "Content-Type: application/json" \ -H "x-api-key: YOUR_API_KEY" \ -d '{"tool":"ng-paye","inputs":{"grossAnnual":5000000,"pension":true}}'
const res = await fetch('https://afrotools.com/api/v1/calculate', { method: 'POST', headers: { 'Content-Type': 'application/json', 'x-api-key': 'YOUR_API_KEY' }, body: JSON.stringify({ tool: 'ng-paye', inputs: { grossAnnual: 5000000, pension: true } }) }); const data = await res.json(); console.log(data.result);
import requests resp = requests.post('https://afrotools.com/api/v1/calculate', headers={'x-api-key': 'YOUR_API_KEY'}, json={'tool': 'ng-paye', 'inputs': {'grossAnnual': 5000000, 'pension': True}} ) print(resp.json()['result'])
Simple, transparent pricing. Start free, scale as you grow.
All calculations go through a single, unified endpoint.
{
"tool": "ng-paye",
"inputs": {
"grossAnnual": 5000000,
"pension": true
}
}
{
"result": {
"tax": 374550,
"netAnnual": 4225450,
"effectiveRate": "7.49%"
},
"meta": {
"tool": "ng-paye",
"version": "0.1.0-beta",
"timestamp": "2026-03-13T12:00:00.000Z",
"usage": {
"current": 42,
"limit": 100,
"tier": "free"
}
}
}
Start building with AfroTools API today. Free tier available, no credit card required.
Sign Up for Free