Example Korea, Republic of import duty API call KR country flag

For HS Code: 610343

Duty API Access

Try it


Results

Country Min % Max % Avg % Calculation Description
35 35 35 MFN current bound duty rates
13 13 13 MFN applied duty rates
9.1 9.1 9.1 Preferential duty rate for the Asia-Pacific Trade Agreement
0 0 0 Least Developed Countries (LDC) duties
<?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=kr&code=610343");

?>

Example API call

Demo: https://slib.co/v1/?duty=hs&country=kr&code=610343

Example JSON reponse

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

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

            [2] => Array
                (
                    [id] => 9148
                    [maximumrate] => 9.1
                    [minimumrate] => 9.1
                    [averagerate] => 9.1
                    [specificrate] => 
                    [description] => Preferential duty rate for the Asia-Pacific Trade Agreement
                    [flag1x1] => https://slib.co/flags/1x1/kr.svg
                    [flag3x4] => https://slib.co/flags/4x3/kr.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [3] => Array
                (
                    [id] => 9149
                    [maximumrate] => 0
                    [minimumrate] => 0
                    [averagerate] => 0
                    [specificrate] => 
                    [description] => Least Developed Countries (LDC) duties
                    [flag1x1] => https://slib.co/flags/1x1/kr.svg
                    [flag3x4] => https://slib.co/flags/4x3/kr.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

        )

)

Example JSON response in a html table

Country Min % Max % Avg % Calculation Description
35 35 35 MFN current bound duty rates
13 13 13 MFN applied duty rates
9.1 9.1 9.1 Preferential duty rate for the Asia-Pacific Trade Agreement
0 0 0 Least Developed Countries (LDC) duties