Get country names list
GEThttps://onlinesim.io/api/v1/info/countries
This request returns the list of country names.
The list includes countries that are temporarily disabled on our website. Please inform us whenever you want to add numbers for countries you were not providing previously.
Responses
200Country names list
Content-Type
application/jsonSchema
schemaobject
responsestringRequired
Always 1Enum:1Example:1countriesobjectRequiredObject whose keys are OnlineSIM country codes (the telephone country code, except a few such as 1000 for Canada) and values are the country names (in lowercase)
Examples
countries
Country list
{
"response": "1",
"countries": {
"1": "usa",
"44": "united_kingdom",
"49": "germany",
"1000": "canada"
}
}Code Samples
Generating examples...