You are welcome to link directly to any available page on the system.
To link to any country data append the 2 or 3 character country code to the
end of the http://countries.consul.cc/country.php/ URL.
For example
http://countries.consul.cc/country.php/US will link to the
United States country info.
http://countries.consul.cc/country.php/ARG will link to the
Argentina country info. A list of country codes can be found at
http://countries.consul.cc/countryList.php
Web sites may link directly to our flags and maps provided that the following
link is on the page that points to the flag or map: In return we ask that you include
the following link in your application:
Some country data provided by <a href="http://countries.consul.cc"
>Consul Countries</a>.
To access a flag the URL for the flag image is:
http://countries.consul.cc/res/flags/[country_code].png, where
[country_code] is the 2 character code for the country. The flag images are
approximately 82px by 42px. However, the image width will vary with the dimensions
of the standard flag.
For example the flag of Nepal is only 35px wide. Larger flag images are found
at http://countries.consul.cc/res/flags/large/[country_code].png.
These flags are approximately 420px by 216px, but as with the smaller flags the
width will vary with the flag.
To acces an animated map the URL for the image is:
http://countries.consul.cc/res/maps/[country_code].gif, where
[country_code] is the 2 character code for the country. The map images are
317px by 201px.
To link to any continent data append the 2 character continent code to the
end of the http://countries.consul.cc/country.php?continent= URL.
For example
http://countries.consul.cc/country.php?continent=OC will link to the
Oceania continent. The list of continent codes is provided below.
| Code | Continent |
|---|---|
| AF | Africa |
| AN | Antarctica |
| AS | Asia |
| EU | Europe |
| NA | North America |
| OC | Oceania |
| SA | South America |
We encourage applications to use the country data web service for their country
data needs. We provide country maps, flags and data as part of our free service.
In return we ask that you include the following link in your application:
Some country data provided by <a href="http://countries.consul.cc"
>Consul Countries</a>.
The web service API is described in the "Countries Web Service Documentation" (PDF).