GET /v1/country-listList all countries
Business Utils lf-business-utils
Gives you a list of every country with basic facts, and you can narrow it down by continent or search it. Returns a list of all countries with basic information. Can be filtered by continent or searched by name/code.
Query Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
continent | string | No | Filter by continent |
search | string | No | Search by name or code |
Response Schema
success (boolean): Operation success
count (integer): Number of countries
countries (array): Array of country objects
cURL Example
curl 'https://lf-business-utils.laminarforge.dev/v1/country-list?continent=Europe' -H 'Authorization: Bearer lf_YourApiKey'
Python Example
import requests
url = 'https://lf-business-utils.laminarforge.dev/v1/country-list'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'continent': 'Europe'}
response = requests.get(url, headers=headers, params=params)
print(response.json())