Example Lao People's Democratic Republic import duty API call LA country flag

For HS Code: 610510

Duty API Access

Try it


Results

Country Min % Max % Avg % Calculation Description
10 10 10 MFN applied rates
0 0 0 Preferential tariff for ASEAN countries
5 5 5 Preferential tariff for AANZFTA countries
0 0 0 Preferential tariff for China
3 3 3 Preferential tariff for India
<?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=la&code=610510");

?>

Example API call

Demo: https://slib.co/v1/?duty=hs&country=la&code=610510

Example JSON reponse

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

            [1] => Array
                (
                    [id] => 15078
                    [maximumrate] => 0
                    [minimumrate] => 0
                    [averagerate] => 0
                    [specificrate] => 
                    [description] => Preferential tariff for ASEAN countries
                    [flag1x1] => https://slib.co/flags/1x1/la.svg
                    [flag3x4] => https://slib.co/flags/4x3/la.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [2] => Array
                (
                    [id] => 15079
                    [maximumrate] => 5
                    [minimumrate] => 5
                    [averagerate] => 5
                    [specificrate] => 
                    [description] => Preferential tariff for AANZFTA countries
                    [flag1x1] => https://slib.co/flags/1x1/la.svg
                    [flag3x4] => https://slib.co/flags/4x3/la.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [3] => Array
                (
                    [id] => 15080
                    [maximumrate] => 0
                    [minimumrate] => 0
                    [averagerate] => 0
                    [specificrate] => 
                    [description] => Preferential tariff for China
                    [flag1x1] => https://slib.co/flags/1x1/la.svg
                    [flag3x4] => https://slib.co/flags/4x3/la.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [4] => Array
                (
                    [id] => 15081
                    [maximumrate] => 3
                    [minimumrate] => 3
                    [averagerate] => 3
                    [specificrate] => 
                    [description] => Preferential tariff for India
                    [flag1x1] => https://slib.co/flags/1x1/la.svg
                    [flag3x4] => https://slib.co/flags/4x3/la.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 rates
0 0 0 Preferential tariff for ASEAN countries
5 5 5 Preferential tariff for AANZFTA countries
0 0 0 Preferential tariff for China
3 3 3 Preferential tariff for India