Countries{for}Devs

API v1.0 Documentation

Welcome to Countries for Devs API docs. There are only a few thing you need to consider in order to start using our API, please read and enjoy.

Getting started

First of all you need to know that each country is represented in our catalog by it domain extension, so as an example you may request for the United States as "us", Mexico as "mx" and so on.

Here is the list of available countries in our catalog:

  1. Argentina - ar
  2. Austria - at
  3. Belize - bz
  4. Bolivia - bo
  5. Brazil - br
  6. Canada - ca
  7. Chile - cl
  8. China - cn
  9. Colombia - co
  10. Costa Rica - cr
  11. Czech Republic - cz
  12. Ecuador - ec
  13. El Salvador - sv
  14. French Guiana - gf
  15. Germany - de
  16. Guatemala - gt
  17. Guyana - gy
  18. Honduras - hn
  19. India - in
  20. Indonesia - id
  21. Mexico - mx
  22. Nicaragua - ni
  23. Norway - no
  24. Panama - pa
  25. Paraguay - py
  26. Peru - pe
  27. Poland - pl
  28. Spain - es
  29. Suriname - sr
  30. Switzerland - ch
  31. Taiwan - tw
  32. Turkey - tr
  33. Ukraine - ua
  34. United Kingdom - uk
  35. United States - us
  36. Uruguay - uy
  37. Venezuela - ve

The request link

Please use the following link to request a country. You may request only one country at the same time. Output is JSONP.

http://countriesfor.us/api/?country=country_domain

Example:

http://countriesfor.us/api/?country=us

Usage example