Example Mozambique import duty API call MZ country flag

For HS Code: 630239

Duty API Access

Try it


Results

Country Min % Max % Avg % Calculation Description
20 20 20 MFN applied duty rates
15 15 15 Free trade agreement duty rates for South Africa under the Southern African Development Community (SADC)
15 15 15 Free trade agreement duty rates for Southern African Development Comminity (SADC) excluding South Africa
<?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=mz&code=630239");

?>

Example API call

Demo: https://slib.co/v1/?duty=hs&country=mz&code=630239

Example JSON reponse

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

            [1] => Array
                (
                    [id] => 9277
                    [maximumrate] => 15
                    [minimumrate] => 15
                    [averagerate] => 15
                    [specificrate] => 
                    [description] => Free trade agreement duty rates for South Africa under the Southern African Development Community (SADC)
                    [flag1x1] => https://slib.co/flags/1x1/mz.svg
                    [flag3x4] => https://slib.co/flags/4x3/mz.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

            [2] => Array
                (
                    [id] => 9278
                    [maximumrate] => 15
                    [minimumrate] => 15
                    [averagerate] => 15
                    [specificrate] => 
                    [description] => Free trade agreement duty rates for Southern African Development Comminity (SADC) excluding South Africa
                    [flag1x1] => https://slib.co/flags/1x1/mz.svg
                    [flag3x4] => https://slib.co/flags/4x3/mz.svg
                    [statuscode] => 201
                    [statusdescription] => HS Data Found
                )

        )

)

Example JSON response in a html table

Country Min % Max % Avg % Calculation Description
20 20 20 MFN applied duty rates
15 15 15 Free trade agreement duty rates for South Africa under the Southern African Development Community (SADC)
15 15 15 Free trade agreement duty rates for Southern African Development Comminity (SADC) excluding South Africa