Example Kazakhstan import duty API call KZ country flag

For HS Code: 610230

Duty API Access

Try it


Results

Country Min % Max % Avg % Calculation Description
15, but not less than 2 euro per 1 kg MFN applied duty rates
0 0 0 Free-trade agreement duty rate for Viet Nam
0 0 0 Free-trade agreement duty rate for Serbia
0 0 0 Free-trade agreement duty rate for CIS countries
<?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=kz&code=610230");

?>

Example API call

Demo: https://slib.co/v1/?duty=hs&country=kz&code=610230

Example JSON reponse

Array
(
    [duty] => Array
        (
            [0] => Array
                (
                    [id] => 14533
                    [maximumrate] => 
                    [minimumrate] => 
                    [averagerate] => 
                    [specificrate] => 15, but not less than 2 euro per 1 kg
                    [description] => MFN applied duty rates
                    [flag1x1] => https://slib.co/flags/1x1/kz.svg
                    [flag3x4] => https://slib.co/flags/4x3/kz.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

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

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

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

        )

)

Example JSON response in a html table

Country Min % Max % Avg % Calculation Description
15, but not less than 2 euro per 1 kg MFN applied duty rates
0 0 0 Free-trade agreement duty rate for Viet Nam
0 0 0 Free-trade agreement duty rate for Serbia
0 0 0 Free-trade agreement duty rate for CIS countries