Browse our database of countries with our API (250+ countries)
Browse a database of 250+ countries with our API. Access detailed data for global applications.
Search countries
Search our countries to filter companies in a specific location.
Query parameters
pagenumber (optional)
The page to fetch (default to 1).
searchstring (optional)
An additional search query applied to the country name.
sizenumber (optional)
The number of countries to be returned (between 1 and 20). Default to 10.
Response
countriesarray
The countries that match your conditions.
metaobject
The metas information.
Endpoint
GET
https://api.thecompaniesapi.com/v2/locations/countries