Skip to main content

List countries

GET/client_api/v2/countries

Every country, with its id for addresses and the labels its customs numbers go by. Needs no token.

This call needs no token.

Query parameters

  • qstring

    Only countries whose name contains this text, in any case.

Returns

Returns a list of countries.

View as Markdown
GET /client_api/v2/countries
1curl -X GET "https://sandbox-api.vatit-stream.com/client_api/v2/countries?q=United"
Response
{
"countries": [
{
"id": 16,
"default_postal_code": null,
"dhl_export_code": null,
"dhl_import_code": null,
"dhl_tax_code": null,
"export_code_label": "Export Number",
"import_code_label": "Importer Code",
"iso_code_2": "GB",
"iso_code_3": "GBR",
"maximum_duty_rate": 0.5,
"name": "United Kingdom",
"part_of_eu_union": false,
"postal_code_required": true,
"signed_civil_aircraft_agreement": true,
"tax_number_label": "Tax Number",
"vat_rate": 0.17
}
],
"meta": {
"page_count": 1,
"record_count": 1
}
}
API ExplorerSandbox

Pick a call on the right and run it. Every call goes to the sandbox, so nothing is really shipped or charged. The answer appears here.