The List Countries endpoint returns every country currently loaded into the Ship Quote in-memory country map, with names rendered in the language of your choice. Country data is fetched from an external countries API at server startup and held in memory — meaning this endpoint runs at near-zero latency with no database round-trip. The response is an array of lightweight objects containing only the ISO-2 country code and the translated country name, making it ideal for populating destination-country dropdowns in shipping forms.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/plantasur-dev/ship-quote/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Query Parameters
Language code for country name translations. Controls which translation is
returned for each country’s
Defaults to
countryName field. Accepted values:| Value | Language |
|---|---|
ES | Spanish |
IT | Italian |
FR | French |
US | English |
ES (Spanish) when omitted. The value is case-insensitive — es,
ES, and Es are all treated identically.Response
ReturnsHTTP 200 OK with a JSON array. Each element represents one country.
ISO-3166-1 alpha-2 country code in uppercase (e.g.
ES, FR, DE, IT).
Use this value as the countryCode field when calling
POST /rates/compareByPostalCode or POST /rates/compareByProvinceCode.Human-readable country name in the requested language. For example, with
lang=ES Spain appears as España; with lang=IT it appears as Spagna.Examples
Spanish response (lang=ES)
Italian response (lang=IT)
Error Responses
404 Not Found — No countries loaded
Country data is loaded once at boot time across three paginated requests (offsets 0, 100, 200) to cover the full global catalogue. The data is held in a
Map keyed by language code, so lookups are O(1) regardless of how many countries are stored.