Docs/Business Utils/GET /v1/country-info

GET /v1/country-infoLook up country information

Business Utils lf-business-utils

Gives you a quick fact sheet about a country. Returns detailed information about a country: ISO codes, currencies, languages, capital, continent, phone prefix, and TLD.

Query Parameters

ParameterTypeRequiredDescription
codestringNoISO 3166-1 alpha-2 code
namestringNoCountry name

Response Schema

success (boolean): Operation success
found (boolean): Whether country was found
country (object): Detailed country information

cURL Example

curl 'https://lf-business-utils.laminarforge.dev/v1/country-info?code=US' -H 'Authorization: Bearer lf_YourApiKey'

Python Example

import requests
url = 'https://lf-business-utils.laminarforge.dev/v1/country-info'
headers = {'Authorization': 'Bearer lf_YourApiKey'}
params = {'code': 'US'}
response = requests.get(url, headers=headers, params=params)
print(response.json())