Example Nicaragua import duty API call NI country flag

For HS Code: 630392

Duty API Access

Try it


Results

Country Min % Max % Avg % Calculation Description
15 15 15 MFN applied duty rates
0 0 0 Free-trade agreement duty rate for Mexico
0 0 0 Free-trade agreement duty rate for CAFTA and Dominican Republic
5 5 5 Free-trade agreement duty rate for Chinese Taipei
0 0 0 Free-trade agreement duty rate for CAFTA, Dominican Republic and United States
6 6 6 Free-trade agreement duty rate for Chile
7.5 7.5 7.5 Free-trade agreement duty rate for European Union
<?php
							
function api_call_func($api_url)
{
	$ch = curl_init();
	curl_setopt($ch, CURLOPT_URL, $api_url);
	curl_setopt($ch, CURLOPT_FRESH_CONNECT, true);
	curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
	curl_setopt($ch, CURLOPT_VERBOSE, true);
	$result = curl_exec($ch);
	curl_close($ch);

	$myArray = json_decode($result, true);

	return $myArray;
}

$return = api_call_func("https://slib.co/v1/?duty=hs&country=ni&code=630392");

?>

Example API call

Demo: https://slib.co/v1/?duty=hs&country=ni&code=630392

Example JSON reponse

Array
(
    [duty] => Array
        (
            [0] => Array
                (
                    [id] => 18459
                    [maximumrate] => 15
                    [minimumrate] => 15
                    [averagerate] => 15
                    [specificrate] => 
                    [description] => MFN applied duty rates
                    [flag1x1] => https://slib.co/flags/1x1/ni.svg
                    [flag3x4] => https://slib.co/flags/4x3/ni.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [1] => Array
                (
                    [id] => 18460
                    [maximumrate] => 0
                    [minimumrate] => 0
                    [averagerate] => 0
                    [specificrate] => 
                    [description] => Free-trade agreement duty rate for Mexico
                    [flag1x1] => https://slib.co/flags/1x1/ni.svg
                    [flag3x4] => https://slib.co/flags/4x3/ni.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [2] => Array
                (
                    [id] => 18461
                    [maximumrate] => 0
                    [minimumrate] => 0
                    [averagerate] => 0
                    [specificrate] => 
                    [description] => Free-trade agreement duty rate for CAFTA and Dominican Republic
                    [flag1x1] => https://slib.co/flags/1x1/ni.svg
                    [flag3x4] => https://slib.co/flags/4x3/ni.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [3] => Array
                (
                    [id] => 18462
                    [maximumrate] => 5
                    [minimumrate] => 5
                    [averagerate] => 5
                    [specificrate] => 
                    [description] => Free-trade agreement duty rate for Chinese Taipei
                    [flag1x1] => https://slib.co/flags/1x1/ni.svg
                    [flag3x4] => https://slib.co/flags/4x3/ni.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [4] => Array
                (
                    [id] => 18463
                    [maximumrate] => 0
                    [minimumrate] => 0
                    [averagerate] => 0
                    [specificrate] => 
                    [description] => Free-trade agreement duty rate for CAFTA, Dominican Republic and United States
                    [flag1x1] => https://slib.co/flags/1x1/ni.svg
                    [flag3x4] => https://slib.co/flags/4x3/ni.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [5] => Array
                (
                    [id] => 18464
                    [maximumrate] => 6
                    [minimumrate] => 6
                    [averagerate] => 6
                    [specificrate] => 
                    [description] => Free-trade agreement duty rate for Chile
                    [flag1x1] => https://slib.co/flags/1x1/ni.svg
                    [flag3x4] => https://slib.co/flags/4x3/ni.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [6] => Array
                (
                    [id] => 18465
                    [maximumrate] => 7.5
                    [minimumrate] => 7.5
                    [averagerate] => 7.5
                    [specificrate] => 
                    [description] => Free-trade agreement duty rate for European Union
                    [flag1x1] => https://slib.co/flags/1x1/ni.svg
                    [flag3x4] => https://slib.co/flags/4x3/ni.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

        )

)

Example JSON response in a html table

Country Min % Max % Avg % Calculation Description
15 15 15 MFN applied duty rates
0 0 0 Free-trade agreement duty rate for Mexico
0 0 0 Free-trade agreement duty rate for CAFTA and Dominican Republic
5 5 5 Free-trade agreement duty rate for Chinese Taipei
0 0 0 Free-trade agreement duty rate for CAFTA, Dominican Republic and United States
6 6 6 Free-trade agreement duty rate for Chile
7.5 7.5 7.5 Free-trade agreement duty rate for European Union