Example Falkland Islands (Malvinas) import duty API call FK country flag

For HS Code: 610343

Duty API Access

Try it


Results

Country Min % Max % Avg % Calculation Description
Code: 401. No Data Found For This Country
<?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=fk&code=610343");

?>

Example API call

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

Example JSON reponse

Array
(
    [duty] => Array
        (
            [0] => Array
                (
                    [statuscode] => 401
                    [statusdescription] => No Data Found For This Country
                )

        )

)

Example JSON response in a html table

Country Min % Max % Avg % Calculation Description
Code: 401. No Data Found For This Country