Example Egypt import duty API call EG country flag

For HS Code: 480442

Duty API Access

Try it


Results

Country Min % Max % Avg % Calculation Description
10 10 10 MFN applied duty rates
0 0 0 FTA for Arab Mediteranean Countries (Accord Agadir)
0 0 0 Free-trade duty rates for EFTA countries
0 0 0 Free-trade duty rates for Turkey
0 0 0 Free-trade duty rates for EU
9 9 9 Preferential duty rates for Ethiopia under COMESA
0 0 0 Common Market for Eastern and Southern Africa (COMESA) free trade area duty rates
2 2 2 Preferential duty rates for Uganda and Eritrea under COMESA
<?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=eg&code=480442");

?>

Example API call

Demo: https://slib.co/v1/?duty=hs&country=eg&code=480442

Example JSON reponse

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

            [1] => Array
                (
                    [id] => 16350
                    [maximumrate] => 0
                    [minimumrate] => 0
                    [averagerate] => 0
                    [specificrate] => 
                    [description] => FTA for Arab Mediteranean Countries (Accord Agadir)
                    [flag1x1] => https://slib.co/flags/1x1/eg.svg
                    [flag3x4] => https://slib.co/flags/4x3/eg.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

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

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

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

            [5] => Array
                (
                    [id] => 16354
                    [maximumrate] => 9
                    [minimumrate] => 9
                    [averagerate] => 9
                    [specificrate] => 
                    [description] => Preferential duty rates for Ethiopia under COMESA
                    [flag1x1] => https://slib.co/flags/1x1/eg.svg
                    [flag3x4] => https://slib.co/flags/4x3/eg.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [6] => Array
                (
                    [id] => 16355
                    [maximumrate] => 0
                    [minimumrate] => 0
                    [averagerate] => 0
                    [specificrate] => 
                    [description] => Common Market for Eastern and Southern Africa (COMESA) free trade area duty rates
                    [flag1x1] => https://slib.co/flags/1x1/eg.svg
                    [flag3x4] => https://slib.co/flags/4x3/eg.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [7] => Array
                (
                    [id] => 16356
                    [maximumrate] => 2
                    [minimumrate] => 2
                    [averagerate] => 2
                    [specificrate] => 
                    [description] => Preferential duty rates for Uganda and Eritrea under COMESA
                    [flag1x1] => https://slib.co/flags/1x1/eg.svg
                    [flag3x4] => https://slib.co/flags/4x3/eg.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

        )

)

Example JSON response in a html table

Country Min % Max % Avg % Calculation Description
10 10 10 MFN applied duty rates
0 0 0 FTA for Arab Mediteranean Countries (Accord Agadir)
0 0 0 Free-trade duty rates for EFTA countries
0 0 0 Free-trade duty rates for Turkey
0 0 0 Free-trade duty rates for EU
9 9 9 Preferential duty rates for Ethiopia under COMESA
0 0 0 Common Market for Eastern and Southern Africa (COMESA) free trade area duty rates
2 2 2 Preferential duty rates for Uganda and Eritrea under COMESA