Example Japan import duty API call JP country flag

For HS Code: 600544

Duty API Access

Try it


Results

Country Min % Max % Avg % Calculation Description
7.9 7.9 7.9 MFN current bound duty rates
7.9 7.9 7.9 MFN applied duty including an amount collected by the Government of Japan or its agents
0 0 0 Free-trade agreement duty rate for Singapore
0 0 0 Free-trade agreement duty rate for Mexico
0 0 0 Free-trade agreement duty rate for Malaysia
0 0 0 Free-trade agreement duty rate for Chile
0 0 0 Free-trade agreement duty rate for Thailand
0 0 0 Free-trade agreement duty rate for Indonesia
0 0 0 Free-trade agreement duty rate for Brunei Darussalam
0 0 0 Free-trade agreement duty rate for the Philippines
0 0 0 Free-trade agreement duty rate for Switzerland
0 0 0 Free-trade agreement duty rate for Viet-Nam
0 0 0 ASEAN free trade agreement
0 0 0 Free-trade agreement duty rate for Peru
0 0 0 Free-trade agreement duty rate for India
0 0 0 Free-trade agreement duty rate for Australia
0 0 0 Free-trade agreement duty rate for Mongolia
6.32 6.32 6.32 Generalized System of Preferences (GSP) scheme
0 0 0 Least Developed Countries (LDC) duties
9.6 9.6 9.6 General duty
<?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=jp&code=600544");

?>

Example API call

Demo: https://slib.co/v1/?duty=hs&country=jp&code=600544

Example JSON reponse

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

            [1] => Array
                (
                    [id] => 40292
                    [maximumrate] => 7.9
                    [minimumrate] => 7.9
                    [averagerate] => 7.9
                    [specificrate] => 
                    [description] => MFN applied duty including an amount collected by the Government of Japan or its agents
                    [flag1x1] => https://slib.co/flags/1x1/jp.svg
                    [flag3x4] => https://slib.co/flags/4x3/jp.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

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

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

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

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

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

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

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

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

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

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

            [12] => Array
                (
                    [id] => 40303
                    [maximumrate] => 0
                    [minimumrate] => 0
                    [averagerate] => 0
                    [specificrate] => 
                    [description] => ASEAN free trade agreement
                    [flag1x1] => https://slib.co/flags/1x1/jp.svg
                    [flag3x4] => https://slib.co/flags/4x3/jp.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

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

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

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

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

            [17] => Array
                (
                    [id] => 40308
                    [maximumrate] => 6.32
                    [minimumrate] => 6.32
                    [averagerate] => 6.32
                    [specificrate] => 
                    [description] => Generalized System of Preferences (GSP) scheme
                    [flag1x1] => https://slib.co/flags/1x1/jp.svg
                    [flag3x4] => https://slib.co/flags/4x3/jp.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

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

            [19] => Array
                (
                    [id] => 40310
                    [maximumrate] => 9.6
                    [minimumrate] => 9.6
                    [averagerate] => 9.6
                    [specificrate] => 
                    [description] => General duty
                    [flag1x1] => https://slib.co/flags/1x1/jp.svg
                    [flag3x4] => https://slib.co/flags/4x3/jp.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

        )

)

Example JSON response in a html table

Country Min % Max % Avg % Calculation Description
7.9 7.9 7.9 MFN current bound duty rates
7.9 7.9 7.9 MFN applied duty including an amount collected by the Government of Japan or its agents
0 0 0 Free-trade agreement duty rate for Singapore
0 0 0 Free-trade agreement duty rate for Mexico
0 0 0 Free-trade agreement duty rate for Malaysia
0 0 0 Free-trade agreement duty rate for Chile
0 0 0 Free-trade agreement duty rate for Thailand
0 0 0 Free-trade agreement duty rate for Indonesia
0 0 0 Free-trade agreement duty rate for Brunei Darussalam
0 0 0 Free-trade agreement duty rate for the Philippines
0 0 0 Free-trade agreement duty rate for Switzerland
0 0 0 Free-trade agreement duty rate for Viet-Nam
0 0 0 ASEAN free trade agreement
0 0 0 Free-trade agreement duty rate for Peru
0 0 0 Free-trade agreement duty rate for India
0 0 0 Free-trade agreement duty rate for Australia
0 0 0 Free-trade agreement duty rate for Mongolia
6.32 6.32 6.32 Generalized System of Preferences (GSP) scheme
0 0 0 Least Developed Countries (LDC) duties
9.6 9.6 9.6 General duty