← Geo & Weather

Search Countries

GET /countrydata/search

Search countries by name with fuzzy matching. Returns full country profiles for each match, including capital, population, region, languages, and currency. Useful for building autocomplete country search fields and location pickers where users might type partial or approximate country names.

Parameters

q required

Search query

Example Requests

Basic usage
curl "https://nordapi.ee/api/v1/countrydata/search?q=norway"
Search for Norway
curl "https://nordapi.ee/api/v1/countrydata/search?q=norway"
Search for countries with 'united'
curl "https://nordapi.ee/api/v1/countrydata/search?q=united"
Search for island nations
curl "https://nordapi.ee/api/v1/countrydata/search?q=island"

Live Response

HTTP 502: {
  "error": "This API version has been deprecated. Please visit the https://restcountries.com/docs/legacy-api-deprecation to migrate to our new version (v5).",
  "success": false
}