WoyraDocs
Get an API key

Retrieve a country

GET/v1/countries/{code}

Countries · Public: no credential needed

Parameters

NameInDescription
coderequiredpathISO 3166-1 alpha-2, case-insensitive.

Example

curl https://api.woyra.io/v1/countries/ET

Response

200 The country.

FieldTypeDescription
object"country"
codestring
namestring
endpointstringThis country's API and console entry point.
currencystringDefault billing currency for accounts created on this endpoint.
dialling_codestring
regionstringWhere personal data for this country must live.
One of global, ethiopia.
region_descriptionstring
complianceCountryComplianceWhat this country requires of traffic sent into it.

Errors

StatusCodes
404not_found, product_not_offered

Also in Countries