Get list of countries where coverage is available.

Sample URls

GET https://api.multitel.net/{output}/getcountries/{UserName}/{Password}
POST https://api.multitel.net/{output}/getcountries

List of parameters:

ParameterRequiredDescription
outputYesOne of :  json , xml , csv
usernameYesYour account username or API username.
passwordYesYour account password or API password.
downloadNoOptional: only used for CSV output, triggers download

Information on output values:

Key nameDescription
COUNTRYCODETelephone country code (numeric)
DESCRIPTIONDescription (name) of the country
COUNTRYIDNumeric ID of this country
ISOCODEISO2 code for this country: use it with GetAreas function. Example: US , FR, GB (instead of UK) , DE, etc
A2B(legacy/old) A2Billing country ID - useful if you are implementing our API into A2Billing
LATITUDECountry latitude
LONGITUDE

Country Longitude

Important info

Please note that the "ISOCODE" output parameter will be used as parameter for the GetAreas function

Sample output - JSON

{"DATA":[{"COUNTRYCODE":"213","DESCRIPTION":"Algeria","COUNTRYID":"2","ISOCODE":"DZ","A2B":"3","LATITUDE":"27.605671","LONGITUDE":"5.222167"},
{"COUNTRYCODE":"244","DESCRIPTION":"Angola","COUNTRYID":"5","ISOCODE":"AO","A2B":"6","LATITUDE":"-12.35","LONGITUDE":"17.35"},
{"COUNTRYCODE":"229","DESCRIPTION":"Benin","COUNTRYID":"22900","ISOCODE":"BJ","A2B":"23","LATITUDE":"6.4667","LONGITUDE":"2.6"}]}

Alternate URIs - XML

GET https://api.multitel.net/xml/getcountries/{UserName}/{Password}
POST https://api.multitel.net/xml/getcountries

Sample output - XML

<?xml version="1.0"?>
<DATA>
  <COUNTRYCODE>213</COUNTRYCODE>
  <DESCRIPTION>Algeria</DESCRIPTION>
  <COUNTRYID>2</COUNTRYID>
  <ISOCODE>DZ</ISOCODE>
  <A2B>3</A2B>
  <LATITUDE>27.605671</LATITUDE>
  <LONGITUDE>5.222167</LONGITUDE>
</DATA>
<DATA>
  <COUNTRYCODE>244</COUNTRYCODE>
  <DESCRIPTION>Angola</DESCRIPTION>
  <COUNTRYID>5</COUNTRYID>
  <ISOCODE>AO</ISOCODE>
  <A2B>6</A2B>
  <LATITUDE>-12.35</LATITUDE>
  <LONGITUDE>17.35</LONGITUDE>
</DATA>

Sample URIs - CSV

GET https://api.multitel.net/csv/getcountries/{UserName}/{Password}?download=0|1
POST https://api.multitel.net/csv/getcountries?download=0|1

Important info

All parameters are case-insensitive so for example, in POST requests,  "UserName" parameter can also be written as "username" , "Username" or "uSeRnAmE".