Software Development Kits for Easy Integration

    SDK Documentation

    Comprehensive SDKs for JavaScript, Python, Java, and C# to help you integrate customs duty calculations into your applications quickly and easily.

    Available SDKs

    Choose the SDK for your preferred programming language

    JavaScript SDK

    JavaScript/TypeScript

    Install:
    npm install @carapis/tax-sdk
    Features:
    • TypeScript support
    • Promise-based
    • Browser & Node.js
    • ES6 modules

    Python SDK

    Python

    Install:
    pip install carapis-tax
    Features:
    • Async support
    • Type hints
    • Pandas integration
    • Jupyter notebooks

    Java SDK

    Java

    Install:
    mvn install com.carapis:tax-sdk
    Features:
    • Spring integration
    • Gradle support
    • Async operations
    • Type safety

    C# SDK

    C#

    Install:
    dotnet add package Carapis.Tax
    Features:
    • .NET Core
    • Async/await
    • LINQ support
    • Dependency injection

    SDK Features

    Everything you need for easy integration

    Multiple Languages

    SDKs available for JavaScript, Python, Java, and C#.

    Easy Integration

    Simple installation and straightforward API calls.

    Global Coverage

    Access to customs data for 200+ countries worldwide.

    High Performance

    Optimized for speed and reliability in production.

    Quick Examples

    Get started with these simple examples

    JavaScript Example

    import { CarapisTax } from '@carapis/tax-sdk';
    
    const tax = new CarapisTax('your-api-key');
    
    const result = await tax.calculate({
      originCountry: 'US',
      destinationCountry: 'CA',
      productType: 'electronics',
      value: 1000,
      weight: 5
    });
    
    console.log('Duty Rate:', result.dutyRate);

    Python Example

    from carapis_tax import CarapisTax
    
    tax = CarapisTax('your-api-key')
    
    result = tax.calculate(
        origin_country='US',
        destination_country='CA',
        product_type='electronics',
        value=1000,
        weight=5
    )
    
    print(f"Duty Rate: {result.duty_rate}")

    Ready to Integrate?