Quickstart

Make your first Creditax.ai API call in under 5 minutes.

3
4

Install SDK

Install the official Creditax.ai Node.js package using npm or yarn.

import { CreditaxClient } from '@creditax/node';

const client = new CreditaxClient({
  apiKey: process.env.CREDITAX_API_KEY,
  environment: 'sandbox' // or 'production'
});

// Make your first request
const response = await client.tax.calculate({
  income: 12000000,
  taxYear: 2024,
  state: 'Lagos',
  includeReliefs: true,
  entityType: 'individual'
});

console.log('Tax calculated:', response.data);