Beta - Now Available

AfroTools API

Tax and business-data infrastructure for African payroll, HR, fintech, accounting, and media products. Start free, then request API Growth, API Pro, or Enterprise/custom when a paid integration is real.

Getting Started

Go from zero to production in minutes.

1

Get Your API Key

Sign up for a free account and generate an API key from your dashboard. No credit card required.

2

Make Your First Call

Send a POST request to our calculate endpoint with your tool ID and inputs. Get structured JSON results instantly.

3

Go to Production

Request API Growth, API Pro, or Enterprise/custom when you need higher limits, support, data review, or custom terms. Paid access is manually activated during a pilot.

Code Examples

Calculate Nigerian PAYE tax with the canonical v1 endpoint.

curl -X POST https://afrotools.com/api/v1/tax/paye \
  -H "Content-Type: application/json" \
  -H "x-api-key: YOUR_API_KEY" \
  -d '{"country":"NG","grossAnnual":5000000,"pension":true}'
const res = await fetch('https://afrotools.com/api/v1/tax/paye', {
  method: 'POST',
  headers: {
    'Content-Type': 'application/json',
    'x-api-key': 'YOUR_API_KEY'
  },
  body: JSON.stringify({
    country: 'NG',
    grossAnnual: 5000000,
    pension: true
  })
});
const data = await res.json();
console.log(data);
import requests

resp = requests.post('https://afrotools.com/api/v1/tax/paye',
    headers={'x-api-key': 'YOUR_API_KEY'},
    json={'country': 'NG', 'grossAnnual': 5000000, 'pension': True}
)
print(resp.json())

API Tiers

Start free, then move B2B integrations into a paid pilot when the use case is real.

Free

$0 /month
  • 100 API calls / day
  • 3,000 API calls / month
  • PAYE calculators
  • Dashboard key management
Get Started

API Pro

$499 /month
  • 100,000 API calls / day
  • 3,000,000 API calls / month
  • Priority pilot support
Request API Pro

Enterprise/custom

Custom
  • Custom limits and data scope
  • Custom calculators or data subscriptions
  • Dedicated support
Contact API Sales

Endpoints Reference

Use the canonical PAYE route for salary tax calculations.

POST /api/v1/tax/paye

Request Body

{
  "country": "NG",
  "grossAnnual": 5000000,
  "pension": true
}

Response

{
  "status": "success",
  "country": "NG",
  "currency": "NGN",
  "_meta": {
    "endpoint": "tax/paye",
    "version": "1.0",
    "timestamp": "2026-03-13T12:00:00.000Z",
    "usage": {
      "current": 42,
      "limit": 100,
      "tier": "free"
    }
  }
}

Get Your API Key

Start with a free verified key. Request API Growth or API Pro when a partner or product needs paid B2B limits.

Sign Up for Free View API Pricing